org.codehaus.groovy.grails.plugins.springsecurity
Class SecurityAnnotationAttributes

java.lang.Object
  extended by org.codehaus.groovy.grails.plugins.springsecurity.SecurityAnnotationAttributes
All Implemented Interfaces:
org.springframework.metadata.Attributes

public class SecurityAnnotationAttributes
extends Object
implements org.springframework.metadata.Attributes

Re-implementation of Acegi's SecurityAnnotationAttributes as a temporary fix until I can figure out how to do this correctly in 2.0.

Author:
Burt Beckwith

Constructor Summary
SecurityAnnotationAttributes()
           
 
Method Summary
 Set<org.springframework.security.SecurityConfig> getAttributes(Class target)
          
 Collection getAttributes(Class clazz, Class filter)
          
 Collection getAttributes(Field field)
          
 Collection getAttributes(Field field, Class clazz)
          
 Set<org.springframework.security.SecurityConfig> getAttributes(Method method)
          
 Collection getAttributes(Method method, Class clazz)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityAnnotationAttributes

public SecurityAnnotationAttributes()
Method Detail

getAttributes

public Set<org.springframework.security.SecurityConfig> getAttributes(Class target)

Specified by:
getAttributes in interface org.springframework.metadata.Attributes
See Also:
Attributes.getAttributes(java.lang.Class)

getAttributes

public Set<org.springframework.security.SecurityConfig> getAttributes(Method method)

Specified by:
getAttributes in interface org.springframework.metadata.Attributes
See Also:
Attributes.getAttributes(java.lang.reflect.Method)

getAttributes

public Collection getAttributes(Class clazz,
                                Class filter)

Specified by:
getAttributes in interface org.springframework.metadata.Attributes
See Also:
Attributes.getAttributes(java.lang.Class, java.lang.Class)

getAttributes

public Collection getAttributes(Method method,
                                Class clazz)

Specified by:
getAttributes in interface org.springframework.metadata.Attributes
See Also:
Attributes.getAttributes(java.lang.reflect.Method, java.lang.Class)

getAttributes

public Collection getAttributes(Field field)

Specified by:
getAttributes in interface org.springframework.metadata.Attributes
See Also:
Attributes.getAttributes(java.lang.reflect.Field)

getAttributes

public Collection getAttributes(Field field,
                                Class clazz)

Specified by:
getAttributes in interface org.springframework.metadata.Attributes
See Also:
Attributes.getAttributes(java.lang.reflect.Field, java.lang.Class)