|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityMetadataSource
Implemented by classes that store and can identify the ConfigAttributes that applies to a given secure object
invocation.
| Method Summary | |
|---|---|
Collection<ConfigAttribute> |
getAllConfigAttributes()
If available, returns all of the ConfigAttributes defined by the implementing class. |
Collection<ConfigAttribute> |
getAttributes(Object object)
Accesses the ConfigAttributes that apply to a given secure object. |
boolean |
supports(Class<?> clazz)
Indicates whether the SecurityMetadataSource implementation is able to provide
ConfigAttributes for the indicated secure object type. |
| Method Detail |
|---|
Collection<ConfigAttribute> getAttributes(Object object)
throws IllegalArgumentException
ConfigAttributes that apply to a given secure object.
Returns null if no attributes apply.
object - the object being secured
IllegalArgumentException - if the passed object is not of a type supported by the
SecurityMetadataSource implementationCollection<ConfigAttribute> getAllConfigAttributes()
ConfigAttributes defined by the implementing class.
This is used by the AbstractSecurityInterceptor to perform startup time validation of each
ConfigAttribute configured against it.
ConfigAttributes or null if unsupportedboolean supports(Class<?> clazz)
SecurityMetadataSource implementation is able to provide
ConfigAttributes for the indicated secure object type.
clazz - the class that is being queried
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||