Package org.jboss.as.ejb3.security
Class JaccInterceptor
- java.lang.Object
-
- org.jboss.as.ejb3.security.JaccInterceptor
-
- All Implemented Interfaces:
org.jboss.invocation.Interceptor
public class JaccInterceptor extends Object implements org.jboss.invocation.Interceptor
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description JaccInterceptor(String viewClassName, Method viewMethod)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Principal[]getGrantedRoles(org.wildfly.security.auth.server.SecurityIdentity securityIdentity)Returns an array ofPrincipalrepresenting the roles associated with the identity invoking the Jakarta Enterprise Beans.ObjectprocessInvocation(org.jboss.invocation.InterceptorContext context)
-
-
-
Method Detail
-
processInvocation
public Object processInvocation(org.jboss.invocation.InterceptorContext context) throws Exception
- Specified by:
processInvocationin interfaceorg.jboss.invocation.Interceptor- Throws:
Exception
-
getGrantedRoles
public static Principal[] getGrantedRoles(org.wildfly.security.auth.server.SecurityIdentity securityIdentity)
Returns an array ofPrincipalrepresenting the roles associated with the identity invoking the Jakarta Enterprise Beans. This method will check performs checks against run as identities in order to resolve the correct set of roles to be granted.- Parameters:
securityIdentity- the identity invoking the Jakarta Enterprise Beans- Returns:
- an array of
Principalrepresenting the roles associated with the identity
-
-