aerogear-security 1.3.1

org.jboss.aerogear.security.interceptor
Class SecurityInterceptor

java.lang.Object
  extended by org.jboss.aerogear.security.interceptor.SecurityInterceptor

@Interceptor
public class SecurityInterceptor
extends Object

Perform security authorization for methods annotated with Secure


Constructor Summary
SecurityInterceptor()
           
 
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
 

Constructor Detail

SecurityInterceptor

public SecurityInterceptor()
Method Detail

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

aerogear-security 1.3.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.