java.lang.Object | |
↳ | org.springframework.security.web.access.intercept.DefaultFilterInvocationSecurityMetadataSource |
Known Direct Subclasses |
Default implementation of FilterInvocationDefinitionSource.
Stores an ordered map of RequestMatcher
s to ConfigAttribute collections and provides matching
of FilterInvocation
s against the items stored in the map.
The order of the RequestMatcher
s in the map is very important. The first one which matches the
request will be used. Later matchers in the map will not be invoked if a match has already been found.
Accordingly, the most specific matchers should be registered first, with the most general matches registered last.
The most common method creating an instance is using the Spring Security namespace. For example, the pattern
and access
attributes of the <intercept-url>
elements defined as children of the
<http>
element are combined to build the instance used by the FilterSecurityInterceptor
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the internal request map from the supplied map.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
If available, returns all of the
ConfigAttribute s defined by the implementing class. | |||||||||||
Accesses the
ConfigAttribute s that apply to a given secure object. | |||||||||||
Indicates whether the
SecurityMetadataSource implementation is able to provide
ConfigAttribute s for the indicated secure object type. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.access.SecurityMetadataSource
|
Sets the internal request map from the supplied map. The key elements should be of type RequestMatcher
,
which. The path stored in the key will depend on
the type of the supplied UrlMatcher.
requestMap | order-preserving map of request definitions to attribute lists |
---|
If available, returns all of the ConfigAttribute
s defined by the implementing class.
This is used by the AbstractSecurityInterceptor
to perform startup time validation of each
ConfigAttribute
configured against it.
ConfigAttribute
s or null
if unsupported
Accesses the ConfigAttribute
s that apply to a given secure object.
object | the object being secured |
---|
Indicates whether the SecurityMetadataSource
implementation is able to provide
ConfigAttribute
s for the indicated secure object type.
clazz | the class that is being queried |
---|