org.loom.annotation.processor
Class AbstractSecurityAnnotationProcessor
java.lang.Object
org.loom.annotation.processor.AbstractAnnotationProcessor
org.loom.annotation.processor.AbstractInjectedInterceptorAnnotationProcessor<SecurityInterceptor>
org.loom.annotation.processor.AbstractSecurityAnnotationProcessor
- All Implemented Interfaces:
- AnnotationProcessor, org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
- CommonAnnotationsProcessor, SecuredAnnotationProcessor
public abstract class AbstractSecurityAnnotationProcessor
- extends AbstractInjectedInterceptorAnnotationProcessor<SecurityInterceptor>
Processes security annotations.
Subclasses will provide concrete implementations for each security provider.
- Author:
- icoloma
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSecurityAnnotationProcessor
public AbstractSecurityAnnotationProcessor()
setActionRoles
protected void setActionRoles(ActionMapping mapping,
java.lang.String[] roles)
- Set the roles that are allowed to invoke any event inside an action class.
These roles are applied to each event in the action.
setEventRoles
protected void setEventRoles(Event event,
java.lang.String[] roles)
- Set the Roles that are allowed to call an event
findInterceptor
protected SecurityInterceptor findInterceptor(Event event)
removeInterceptor
protected void removeInterceptor(Event event)
- Removes the SecurityInterceptor on the supplied event
- Parameters:
event -
The Loom Framework 1.6-SNAPSHOT.
Licensed under the Apache License, Version 2.0 by Extrema Sistemas de Informacion S.L.