| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectplay.mvc.Controller
controllers.Secure.Security
controllers.AuthFileSecurity
public class AuthFileSecurity
This Class provides basice Security Functions for the Play! Security Plugin.
| Field Summary | 
|---|
| Fields inherited from class play.mvc.Controller | 
|---|
| _currentReverse, flash, params, renderArgs, request, response, routeArgs, session, validation | 
| Constructor Summary | |
|---|---|
| AuthFileSecurity() | |
| Method Summary | |
|---|---|
| static boolean | authentify(java.lang.String username,
           java.lang.String password)Authentify an user against the given AuthFile. | 
| static boolean | check(java.lang.String profile)Checks if the current user (that is loged in) has the profile (e.g. | 
| 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 | 
|---|
public AuthFileSecurity()
| Method Detail | 
|---|
public static boolean authentify(java.lang.String username,
                                 java.lang.String password)
username - the given username.password - the given password.
public static boolean check(java.lang.String profile)
profile - 
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||