MethodSecurityAttributes class final
The security annotations that apply to one bean member, found the way Spring finds them.
A member's own annotations win. A method without any takes those of its class and the classes and interfaces above it; getters and setters never inherit them. Used internally by MethodSecurityInterceptor.
Constructors
- MethodSecurityAttributes.of(MethodSignature signature)
-
The annotations that apply to
signature.factory
Properties
-
annotations
→ List<
Object> -
The security annotations found, in declaration order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Whether no security annotation applies, so the member is not
checked.
no setter
- postAuthorize → PostAuthorize?
-
The
@PostAuthorizethat applies, ornull.no setter - postFilter → PostFilter?
-
The
@PostFilterthat applies, ornull.no setter - preAuthorize → PreAuthorize?
-
The
@PreAuthorizethat applies, ornull.no setter - preFilter → PreFilter?
-
The
@PreFilterthat applies, ornull.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secured → Secured?
-
The
@Securedthat applies, ornull.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited