DeadboltHandler
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SubjectCachingHandler
Members list
Value members
Abstract methods
Invoked prior to a constraint's test. If Option.None is returned, the constraint is applied. If the option contains a result, the constraint will not be applied and the wrapped action will not be invoked.
Invoked prior to a constraint's test. If Option.None is returned, the constraint is applied. If the option contains a result, the constraint will not be applied and the wrapped action will not be invoked.
Attributes
- Returns
-
an option possible containing a Result.
Gets the handler used for dealing with resources restricted to specific users/groups.
Gets the handler used for dealing with resources restricted to specific users/groups.
Attributes
- Returns
-
an option containing the handler for restricted resources
Gets the current subject e.g. the current user.
Gets the current subject e.g. the current user.
Attributes
- Returns
-
a future for an option containing the current subject
Invoked when an authorization failure is detected for the request.
Invoked when an authorization failure is detected for the request.
Value parameters
- request
-
the authenticated request
Attributes
- Returns
-
the action
Concrete methods
Get the permissions associated with a role.
Get the permissions associated with a role.
Value parameters
- roleName
-
the role the permissions are associated with
Attributes
- Returns
-
a non-null list containing the permissions associated with the role
Gets the canonical name of the handler. Defaults to the class name.
Gets the canonical name of the handler. Defaults to the class name.
Attributes
- Returns
-
whatever the implementor considers the canonical name of the handler to be
Invoked when authorization succeeds.
Invoked when authorization succeeds.
Value parameters
- constraintPoint
-
the point at which the constraint was applied
- constraintType
-
the type of constraint, e.g. dynamic, restrict, etc
- request
-
the authenticated request
Attributes
- Since
-
2.5.1