controllers
Class Secure

java.lang.Object
  extended by play.mvc.Controller
      extended by controllers.Secure
All Implemented Interfaces:
play.classloading.enhancers.ControllersEnhancer.ControllerSupport, play.classloading.enhancers.LocalvariablesNamesEnhancer.LocalVariablesSupport

public class Secure
extends play.mvc.Controller


Nested Class Summary
static class Secure.Security
           
 
Field Summary
 
Fields inherited from class play.mvc.Controller
_currentReverse, flash, params, renderArgs, request, response, routeArgs, session, validation
 
Constructor Summary
Secure()
           
 
Method Summary
static void authenticate(java.lang.String username, java.lang.String password, boolean remember)
           
static void login()
           
static void logout()
           
 
Methods inherited from class play.mvc.Controller
await, await, await, await, await, await, badRequest, checkAuthenticity, error, error, error, error, flash, forbidden, forbidden, getActionAnnotation, getControllerAnnotation, getControllerClass, getControllerInheritedAnnotation, notFound, notFound, notFoundIfNull, notFoundIfNull, notModified, ok, parent, parent, parent, redirect, redirect, redirect, redirect, redirectToStatic, render, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderBinary, renderHtml, renderJSON, renderJSON, renderJSON, renderJSON, renderTemplate, renderTemplate, renderTemplate, renderText, renderText, renderXml, renderXml, renderXml, renderXml, reverse, suspend, suspend, template, template, templateExists, todo, unauthorized, unauthorized, waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Secure

public Secure()
Method Detail

login

public static void login()
                  throws java.lang.Throwable
Throws:
java.lang.Throwable

authenticate

public static void authenticate(java.lang.String username,
                                java.lang.String password,
                                boolean remember)
                         throws java.lang.Throwable
Throws:
java.lang.Throwable

logout

public static void logout()
                   throws java.lang.Throwable
Throws:
java.lang.Throwable