|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.security.SecurityExtension
public class SecurityExtension
Extension for typesafe security annotations
| Constructor Summary | |
|---|---|
SecurityExtension()
|
|
| Method Summary | ||
|---|---|---|
Set<org.jboss.seam.security.SecurityExtension.Authorizer> |
lookupAuthorizerStack(Method m)
This method is invoked by the security interceptor to obtain the authorizer stack for a secured method |
|
|
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)
|
|
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)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityExtension()
| Method Detail |
|---|
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)
m -
protected void registerSecuredMethod(Method method)
protected void registerAuthorizer(javax.enterprise.inject.spi.AnnotatedMethod<?> m)
m -
IllegalAccessException
InvocationTargetException
public void validateAuthenticatorImplementation(@Observes
javax.enterprise.inject.spi.ProcessSessionBean<org.jboss.seam.security.Authenticator> event)
event -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||