|
Spring BlazeDS Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.flex.security3.EndpointSecurityMetadataSource
public class EndpointSecurityMetadataSource
Implementation of SecurityMetadataSource for BlazeDS Endpoints.
This implementation is capable of securing Endpoints both by their channel id, and by their URL pattern.
| Constructor Summary | |
|---|---|
EndpointSecurityMetadataSource(LinkedHashMap<RequestMatcher,Collection<ConfigAttribute>> requestMap)
|
|
EndpointSecurityMetadataSource(LinkedHashMap<RequestMatcher,Collection<ConfigAttribute>> requestMap,
HashMap<String,Collection<ConfigAttribute>> endpointMap)
Builds the internal request map from the supplied map, and stores the endpoint map for matching by channel id. |
|
| Method Summary | |
|---|---|
Collection<ConfigAttribute> |
getAllConfigAttributes()
|
Collection<ConfigAttribute> |
getAttributes(Object object)
|
boolean |
supports(Class<?> clazz)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointSecurityMetadataSource(LinkedHashMap<RequestMatcher,Collection<ConfigAttribute>> requestMap)
DefaultFilterInvocationSecurityMetadataSource.DefaultFilterInvocationSecurityMetadataSource(UrlMatcher, LinkedHashMap)
public EndpointSecurityMetadataSource(LinkedHashMap<RequestMatcher,Collection<ConfigAttribute>> requestMap,
HashMap<String,Collection<ConfigAttribute>> endpointMap)
endpointMap - map of <String, Collection<ConfigAttribute>>DefaultFilterInvocationSecurityMetadataSource.DefaultFilterInvocationSecurityMetadataSource(UrlMatcher, LinkedHashMap)| Method Detail |
|---|
public Collection<ConfigAttribute> getAttributes(Object object)
throws IllegalArgumentException
getAttributes in interface SecurityMetadataSourceIllegalArgumentExceptionpublic Collection<ConfigAttribute> getAllConfigAttributes()
getAllConfigAttributes in interface SecurityMetadataSourcepublic boolean supports(Class<?> clazz)
supports in interface SecurityMetadataSource
|
Spring BlazeDS Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||