org.jboss.seam.security.extension
Class SecurityExtension
java.lang.Object
org.jboss.seam.security.extension.SecurityExtension
- All Implemented Interfaces:
- Extension
public class SecurityExtension
- extends Object
- implements Extension
Extension for typesafe security annotations
- Author:
- Shane Bryzak
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityExtension
public SecurityExtension()
processAnnotatedType
public <X> void processAnnotatedType(@Observes
ProcessAnnotatedType<X> event,
BeanManager beanManager)
- Type Parameters:
X - - Parameters:
event - beanManager -
validateBindings
public void validateBindings(@Observes
AfterBeanDiscovery event,
BeanManager beanManager)
lookupAuthorizerStack
public Set<org.jboss.seam.security.extension.SecurityExtension.Authorizer> lookupAuthorizerStack(Method m)
- This method is invoked by the security interceptor to obtain the
authorizer stack for a secured method
- Parameters:
m -
- Returns:
registerSecuredMethod
protected void registerSecuredMethod(Method method)
registerAuthorizer
protected void registerAuthorizer(AnnotatedMethod<?> m)
- Registers the specified authorizer method (i.e. a method annotated with
the @Secures annotation)
- Parameters:
m -
- Throws:
IllegalAccessException
InvocationTargetException
Copyright © 2011 Seam Framework. All Rights Reserved.