Package org.jboss.as.ejb3.security
Class JaccInterceptor
java.lang.Object
org.jboss.as.ejb3.security.JaccInterceptor
- All Implemented Interfaces:
org.jboss.invocation.Interceptor
- Author:
- Pedro Igor
-
Field Summary
Fields inherited from interface org.jboss.invocation.Interceptor
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Principal[]getGrantedRoles(org.wildfly.security.auth.server.SecurityIdentity securityIdentity) Returns an array ofPrincipalrepresenting the roles associated with the identity invoking the Jakarta Enterprise Beans.processInvocation(org.jboss.invocation.InterceptorContext context)
-
Constructor Details
-
JaccInterceptor
-
-
Method Details
-
processInvocation
- 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
-