SingleResultAuthorizationManager<T> class
final
An AuthorizationManager that gives the same answer every time, without looking at the user.
It is behind the web rules permitAll() and denyAll().
Spring (Java): SingleResultAuthorizationManager.
- Implemented types
Constructors
- SingleResultAuthorizationManager(AuthorizationResult result)
-
A manager that always answers
result.const - SingleResultAuthorizationManager.denyAll()
-
Denies everyone, even logged-in users.
const
- SingleResultAuthorizationManager.permitAll()
-
Grants everyone, logged in or not.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- result → AuthorizationResult
-
The answer given every time.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
Decides whether the current user may access
object.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited