org.zeroexchange.web.security
Class ComponentMetadataSource

java.lang.Object
  extended by org.zeroexchange.web.security.ComponentMetadataSource
All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean, org.springframework.security.access.SecurityMetadataSource

public class ComponentMetadataSource
extends Object
implements org.springframework.security.access.SecurityMetadataSource

Author:
black

Constructor Summary
ComponentMetadataSource()
           
 
Method Summary
 Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
           
 Collection<org.springframework.security.access.ConfigAttribute> getAttributes(Object componentClass)
           
 boolean supports(Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentMetadataSource

public ComponentMetadataSource()
Method Detail

getAttributes

public Collection<org.springframework.security.access.ConfigAttribute> getAttributes(Object componentClass)
                                                                              throws IllegalArgumentException
Specified by:
getAttributes in interface org.springframework.security.access.SecurityMetadataSource
Throws:
IllegalArgumentException

getAllConfigAttributes

public Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
Specified by:
getAllConfigAttributes in interface org.springframework.security.access.SecurityMetadataSource

supports

public boolean supports(Class<?> clazz)
Specified by:
supports in interface org.springframework.security.access.SecurityMetadataSource


Copyright © 2013. All Rights Reserved.