public class SecurityExtension extends Object implements javax.enterprise.inject.spi.Extension
| Modifier and Type | Class and Description |
|---|---|
class |
SecurityExtension.SecurityParameterValueRedefiner
Responsible for supplying requested method invocation values to the security binding method.
|
| Constructor and Description |
|---|
SecurityExtension() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.jboss.seam.security.SecurityExtension.Authorizer> |
lookupAuthorizerStack(Method m,
Class<?> targetClass)
This method is invoked by the security interceptor to obtain the authorizer stack for a secured method
|
<X> void |
processAnnotatedType(javax.enterprise.inject.spi.ProcessAnnotatedType<X> event,
javax.enterprise.inject.spi.BeanManager beanManager) |
protected void |
registerAuthorizer(javax.enterprise.inject.spi.AnnotatedMethod<?> m)
Registers the specified authorizer method (i.e.
|
protected void |
registerSecuredMethod(Method method,
Class<?> targetClass) |
void |
validateAuthenticatorImplementation(javax.enterprise.inject.spi.ProcessSessionBean<org.jboss.seam.security.Authenticator> event)
Ensures that any implementations of the Authenticator interface are not stateless session beans.
|
void |
validateBindings(javax.enterprise.inject.spi.AfterBeanDiscovery event,
javax.enterprise.inject.spi.BeanManager beanManager) |
public <X> void processAnnotatedType(@Observes
javax.enterprise.inject.spi.ProcessAnnotatedType<X> event,
javax.enterprise.inject.spi.BeanManager beanManager)
X - event - beanManager - public void validateBindings(@Observes
javax.enterprise.inject.spi.AfterBeanDiscovery event,
javax.enterprise.inject.spi.BeanManager beanManager)
public Set<org.jboss.seam.security.SecurityExtension.Authorizer> lookupAuthorizerStack(Method m, Class<?> targetClass)
m - protected void registerAuthorizer(javax.enterprise.inject.spi.AnnotatedMethod<?> m)
m - IllegalAccessExceptionInvocationTargetExceptionpublic void validateAuthenticatorImplementation(@Observes
javax.enterprise.inject.spi.ProcessSessionBean<org.jboss.seam.security.Authenticator> event)
event - Copyright © 2013 Seam Framework. All Rights Reserved.