Play2-auth specific.
Play2-auth specific. A type that is defined by every action for authorization. Set to deadbolt's Role class.
A type that is used to identify a user.
A type that is used to identify a user.
String, Int, Long and so on.
Play2-auth specific.
Play2-auth specific. Type defintion for User object. Set to AbstractUser, a class extending deadbolt's Subject.
Check user name and password.
Check user name and password.
Redirect to success page (if successful) or redirect back to login form (if failed).
If the user is not logged in and tries to access a protected resource, redirect to login page
If the user is not logged in and tries to access a protected resource, redirect to login page
Only used, if play2-auth authorization is required.
Only used, if play2-auth authorization is required. However, Play2-auth authorization is never used.
Shows error message on authorization failure.
Unused.
Unused. This is only used, if play2-auth authorization is required. However, Play2-auth authorization is never used.
Maps users to permissions.
A ClassTag is used to retrieve an id from the Cache API.
A ClassTag is used to retrieve an id from the Cache API.
Use something like this:
Redirect to logout message page
Redirect to login page.
Where to redirect the user after a successful login.
Where to redirect the user after a successful login.
Remember log out state and redirect to main page.
Logout for restful api.
Where to redirect the user after logging out
Where to redirect the user after logging out
A function that returns a User object from an Id.
A function that returns a User object from an Id.
Retrieves user from Account class.
The session timeout in seconds
The session timeout in seconds
(Optional) You can custom SessionID Token handler.
(Optional) You can custom SessionID Token handler. Default implementation use Cookie.
(Since version 3.0.0) Use TOO_MANY_REQUESTS instead
(Since version 3.0.0) Use TooManyRequests instead
(Since version 0.13.1) it will be deleted since 0.14.0. use CookieTokenAccessor constructor
(Since version 0.13.1) it will be deleted since 0.14.0. use CookieTokenAccessor constructor
(Since version 0.13.1) it will be deleted since 0.14.x. use CookieTokenAccessor constructor
(Since version 0.13.1) it will be deleted since 0.14.0. use CookieTokenAccessor constructor
(Since version 0.13.1) it will be deleted since 0.14.0. use CookieTokenAccessor constructor
(Since version 0.13.1) it will be deleted since 0.14.0. use CookieTokenAccessor constructor