|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.security.authorization.RolesAllowedAnnotationAttributes
public class RolesAllowedAnnotationAttributes
This class is a Java 5 Annotation Attributes
metadata
implementation used for secure method interception.
This Attributes
implementation will return security
configuration for classes described using the RolesAllowed
Java 5 annotation.
SecurityAnnotationAttributes
class for the
RolesAllowed
annotation.
org.acegisecurity.annotation.SecurityAnnotationAttributes
Constructor Summary | |
---|---|
RolesAllowedAnnotationAttributes()
|
Method Summary | |
---|---|
Collection |
getAttributes(Class target)
Get the RolesAllowed attributes for a given target class. |
Collection |
getAttributes(Class clazz,
Class filter)
Return the class attributes of the target class of a given type. |
Collection |
getAttributes(Field field)
Return the field attributes of the target field. |
Collection |
getAttributes(Field field,
Class clazz)
Return the field attributes of the target method of a given type. |
Collection |
getAttributes(Method method)
Get the RolesAllowed attributes for a given target method. |
Collection |
getAttributes(Method method,
Class clazz)
Return the method attributes of the target method of a given type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RolesAllowedAnnotationAttributes()
Method Detail |
---|
public Collection getAttributes(Class target)
RolesAllowed
attributes for a given target class.
getAttributes
in interface Attributes
target
- The target method
SecurityConfig
Attributes.getAttributes(java.lang.Class)
public Collection getAttributes(Class clazz, Class filter)
Attributes
The class attributes are filtered by providing a Class
reference to indicate the type to filter on. This is useful if you know
the type of the attribute you are looking for and don't want to sort
through the unfiltered Collection yourself.
getAttributes
in interface Attributes
clazz
- the class that contains attribute informationfilter
- specify that only this type of class should be returned
public Collection getAttributes(Method method)
RolesAllowed
attributes for a given target method.
getAttributes
in interface Attributes
method
- The target method
SecurityConfig
Attributes.getAttributes(java.lang.Class)
public Collection getAttributes(Method method, Class clazz)
Attributes
The method attributes are filtered by providing a Class
reference to indicate the type to filter on. This is useful if you know
the type of the attribute you are looking for and don't want to sort
through the unfiltered Collection yourself.
getAttributes
in interface Attributes
method
- the method that contains attribute informationclazz
- specify that only this type of class should be returned
null
public Collection getAttributes(Field field)
Attributes
getAttributes
in interface Attributes
field
- the field that contains attribute information
null
public Collection getAttributes(Field field, Class clazz)
Attributes
The field attributes are filtered by providing a Class
reference to indicate the type to filter on. This is useful if you know
the type of the attribute you are looking for and don't want to sort
through the unfiltered Collection yourself.
getAttributes
in interface Attributes
field
- the field that contains attribute informationclazz
- specify that only this type of class should be returned
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |