Class DefaultMessageSecurityMetadataSource
java.lang.Object
org.springframework.security.messaging.access.intercept.DefaultMessageSecurityMetadataSource
- All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean
,org.springframework.security.access.SecurityMetadataSource
,MessageSecurityMetadataSource
@Deprecated
public final class DefaultMessageSecurityMetadataSource
extends Object
implements MessageSecurityMetadataSource
Deprecated.
A default implementation of
MessageSecurityMetadataSource
that looks up the
ConfigAttribute
instances using a MessageMatcher
.
Each entry is considered in order. The first entry that matches, the corresponding
Collection<ConfigAttribute>
is returned.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMessageSecurityMetadataSource
(LinkedHashMap<MessageMatcher<?>, Collection<org.springframework.security.access.ConfigAttribute>> messageMap) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.springframework.security.access.ConfigAttribute>
Deprecated.Collection<org.springframework.security.access.ConfigAttribute>
getAttributes
(Object object) Deprecated.boolean
Deprecated.
-
Constructor Details
-
DefaultMessageSecurityMetadataSource
public DefaultMessageSecurityMetadataSource(LinkedHashMap<MessageMatcher<?>, Collection<org.springframework.security.access.ConfigAttribute>> messageMap) Deprecated.
-
-
Method Details
-
getAttributes
public Collection<org.springframework.security.access.ConfigAttribute> getAttributes(Object object) throws IllegalArgumentException Deprecated.- Specified by:
getAttributes
in interfaceorg.springframework.security.access.SecurityMetadataSource
- Throws:
IllegalArgumentException
-
getAllConfigAttributes
Deprecated.- Specified by:
getAllConfigAttributes
in interfaceorg.springframework.security.access.SecurityMetadataSource
-
supports
Deprecated.- Specified by:
supports
in interfaceorg.springframework.security.access.SecurityMetadataSource
-
MessageMatcherDelegatingAuthorizationManager
instead