| Package | Description |
|---|---|
| org.jboss.security |
The basic security interfaces and classes are now located in the
jbosssx module.
|
| org.jboss.security.authorization | |
| org.jboss.security.identity | |
| org.jboss.security.javaee |
| Modifier and Type | Method and Description |
|---|---|
abstract RoleGroup |
SecurityContextUtil.getRoles()
Get the Roles associated with the user for the
current security context
|
RoleGroup |
SubjectInfo.getRoles() |
RoleGroup |
AuthorizationManager.getSubjectRoles(Subject authenticatedSubject,
CallbackHandler cbh)
Get the Current Roles for the authenticated Subject The AuthorizationManager will apply role generation and role
mapping logic configured for the security domain
|
| Modifier and Type | Method and Description |
|---|---|
int |
AuthorizationManager.authorize(Resource resource,
Subject subject,
RoleGroup role)
Authorize a resource given a role
|
abstract void |
SecurityContextUtil.setRoles(RoleGroup roles)
Set the roles for the user for the current security context
|
void |
SubjectInfo.setRoles(RoleGroup roles) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
AuthorizationContext.authorize(Resource resource,
Subject subject,
RoleGroup roles)
Authorize the resource
|
void |
AuthorizationModule.initialize(Subject subject,
CallbackHandler handler,
Map<String,Object> sharedState,
Map<String,Object> options,
RoleGroup roles)
Initialize the module
|
| Modifier and Type | Method and Description |
|---|---|
static RoleGroup |
RoleFactory.createRoleGroup(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RoleGroup.containsAtleastOneRole(RoleGroup anotherRoleGroup)
Validates whether there is at least one matching
role in "anotherRoleGroup"
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
AbstractEJBAuthorizationHelper.authorize(String ejbName,
Method ejbMethod,
Principal ejbPrincipal,
String invocationInterfaceString,
CodeSource ejbCS,
Subject callerSubject,
RunAs callerRunAs,
String contextID,
RoleGroup methodRoles)
Authorize the EJB Invocation
|
Copyright © 2013 JBoss Inc.. All Rights Reserved.