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.
(Since version 2.5.1) Use the subject accessible via AuthenticatedRequest instead. This will be removed in Deadbolt 2.6.
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:
Where to redirect the user after a successful login.
Where to redirect the user after a successful login.
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 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
(Since version 2.5.1) Use the subject accessible via AuthenticatedRequest instead. This will be removed in Deadbolt 2.6.
(Since version 2.5.1) Use the subject accessible via AuthenticatedRequest instead. This will be removed in Deadbolt 2.6.