org.loom.annotation.processor
Class AbstractSecurityAnnotationProcessor
java.lang.Object
org.loom.annotation.processor.AbstractAnnotationProcessor
org.loom.annotation.processor.AbstractSecurityAnnotationProcessor
- All Implemented Interfaces:
- java.lang.Comparable<AnnotationProcessor>, AnnotationProcessor
- Direct Known Subclasses:
- CommonAnnotationsProcessor, SecuredAnnotationProcessor
@Singleton
public abstract class AbstractSecurityAnnotationProcessor
- extends AbstractAnnotationProcessor
Processes security annotations.
Subclasses will provide concrete implementations for each security provider.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSecurityAnnotationProcessor
public AbstractSecurityAnnotationProcessor()
setEventRoles
protected void setEventRoles(Event event,
java.lang.String[] roles)
- Set the Roles that are allowed to call an event
createInterceptor
protected SecurityInterceptor createInterceptor()
findInterceptor
protected SecurityInterceptor findInterceptor(Event event)
removeInterceptor
protected void removeInterceptor(Event event)
- Removes the SecurityInterceptor on the supplied event
- Parameters:
event
-