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 @PostAuthorize that applies, or null.
no setter
postFilter → PostFilter?
The @PostFilter that applies, or null.
no setter
preAuthorize → PreAuthorize?
The @PreAuthorize that applies, or null.
no setter
preFilter → PreFilter?
The @PreFilter that applies, or null.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secured → Secured?
The @Secured that applies, or null.
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