|
|||||||||
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 ConfigAttribute
s that applies to a given secure object
invocation.
Method Summary | |
---|---|
java.util.Collection<ConfigAttribute> |
getAllConfigAttributes()
If available, returns all of the ConfigAttribute s defined by the implementing class. |
java.util.Collection<ConfigAttribute> |
getAttributes(java.lang.Object object)
Accesses the ConfigAttribute s that apply to a given secure object. |
boolean |
supports(java.lang.Class<?> clazz)
Indicates whether the SecurityMetadataSource implementation is able to provide
ConfigAttribute s for the indicated secure object type. |
Method Detail |
---|
java.util.Collection<ConfigAttribute> getAttributes(java.lang.Object object) throws java.lang.IllegalArgumentException
ConfigAttribute
s that apply to a given secure object.
Returns null
if no attributes apply.
object
- the object being secured
java.lang.IllegalArgumentException
- if the passed object is not of a type supported by the
SecurityMetadataSource
implementationjava.util.Collection<ConfigAttribute> getAllConfigAttributes()
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 unsupportedboolean supports(java.lang.Class<?> clazz)
SecurityMetadataSource
implementation is able to provide
ConfigAttribute
s 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 |