Allows access if the composite constraint resolves to true..
Allows access if the composite constraint resolves to true..
the handler to use for constraint testing
a body parser
the action to take
Apply a dynamic constraint to a controller action.
Apply a dynamic constraint to a controller action.
the name of the dynamic constraint
additional information
the handler to use for constraint testing
a body parser
the action functionality
the action to take
the value of the pattern, e.g. a regex
the type of the pattern
the handler to use for constraint testing
if true, invert the constraint, i.e. deny access if the pattern matches
a body parser
the action functionality
the action to take
Restrict access to an action to users that have all the specified roles within a given group.
Restrict access to an action to users that have all the specified roles within a given group. Each group is checked in turn.
the constraints
the handler to use for constraint testing
a body parser
the action functionality
Restrict access to an action to users that have all the specified roles.
Restrict access to an action to users that have all the specified roles.
the constraints
the handler to use for constraint testing
a body parser
Denies access to the action if there is a subject present.
Denies access to the action if there is a subject present.
the handler to use for constraint testing
a body parser
the action to take
Allows access to the action if there is a subject present.
Allows access to the action if there is a subject present.
the handler to use for constraint testing
a body parser
the action functionality
the action to take
the handler to use for constraint testing
a body parser
the function to call if beforeAuthCheck does not return a result
the action to take
(Since version 3.0.0) Use TooManyRequests instead
Controller-level authorisations for Scala controllers.