org.jboss.aerogear.security.interceptor
Class SecurityInterceptor
java.lang.Object
org.jboss.aerogear.security.interceptor.SecurityInterceptor
@Interceptor
public class SecurityInterceptor
- extends Object
Perform security authorization for methods annotated with Secure
|
Method Summary |
Object |
invoke(javax.interceptor.InvocationContext ctx)
Verify a the list of roles specified by Secure are present to the current logged in user |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityInterceptor
public SecurityInterceptor()
invoke
public Object invoke(javax.interceptor.InvocationContext ctx)
throws Exception
- Verify a the list of roles specified by
Secure are present to the current logged in user
- Parameters:
ctx - context information
- Returns:
- result of the next method invoked
- Throws:
Exception
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.