org.jboss.security.authorization
public abstract class AuthorizationContext extends Object
Modifier and Type | Field and Description |
---|---|
protected CallbackHandler |
callbackHandler |
static int |
DENY |
static int |
PERMIT |
protected String |
securityDomainName |
protected Map<String,Object> |
sharedState |
Constructor and Description |
---|
AuthorizationContext() |
protected String securityDomainName
protected CallbackHandler callbackHandler
public static final int PERMIT
public static final int DENY
public abstract int authorize(Resource resource) throws AuthorizationException
resource
- AuthorizationException
public abstract int authorize(Resource resource, Subject subject, RoleGroup roles) throws AuthorizationException
resource
- subject
- Subject of the callerroles
- Roles of the callerAuthorizationException
public String getSecurityDomain()
Copyright © 2015 JBoss Inc.. All Rights Reserved.