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.authorization.modules | |
org.jboss.security.authorization.modules.ejb | |
org.jboss.security.authorization.modules.web | |
org.jboss.security.authorization.resources | |
org.jboss.security.identity | |
org.jboss.security.identity.plugins | |
org.jboss.security.javaee | |
org.jboss.security.mapping.providers | |
org.jboss.security.mapping.providers.role | |
org.jboss.security.plugins |
Security plugins have moved to the jbosssx cvs module.
|
org.jboss.security.plugins.authorization | |
org.jboss.security.plugins.javaee | |
org.picketbox.plugins | |
org.picketbox.plugins.authorization | |
org.picketbox.util | |
org.picketlink.identity.federation.bindings.jboss.auth.mapping |
Modifier and Type | Method and Description |
---|---|
RoleGroup |
SubjectInfo.getRoles() |
abstract RoleGroup |
SecurityContextUtil.getRoles()
Get the Roles associated with the user for the
current security context
|
RoleGroup |
RunAsIdentity.getRunAsRolesAsRoleGroup()
Return a RoleGroup of Run-As roles
|
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
|
void |
SubjectInfo.setRoles(RoleGroup roles) |
abstract void |
SecurityContextUtil.setRoles(RoleGroup roles)
Set the roles for the user for the current security context
|
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 | Field and Description |
---|---|
protected RoleGroup |
AbstractAuthorizationModule.role |
Modifier and Type | Method and Description |
---|---|
abstract int |
AuthorizationModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
abstract int |
AbstractJACCModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
void |
AbstractAuthorizationModule.initialize(Subject subject,
CallbackHandler handler,
Map<String,Object> sharedState,
Map<String,Object> options,
RoleGroup subjectRole) |
Modifier and Type | Method and Description |
---|---|
int |
EJBXACMLPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
int |
EJBPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
int |
EJBJACCPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
protected int |
EJBPolicyModuleDelegate.checkRoleRef(RoleGroup principalRole) |
org.jboss.security.xacml.interfaces.RequestContext |
EJBXACMLUtil.createXACMLRequest(String ejbName,
Method ejbMethod,
Principal principal,
RoleGroup callerRoles) |
org.jboss.security.xacml.interfaces.RequestContext |
EJBXACMLUtil.createXACMLRequest(String ejbName,
String methodName,
Principal principal,
RoleGroup callerRoles) |
Modifier and Type | Method and Description |
---|---|
int |
WebXACMLPolicyModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
int |
WebPolicyModuleDelegate.authorize(Resource resource,
Subject subject,
RoleGroup role) |
int |
WebJACCPolicyModuleDelegate.authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
org.jboss.security.xacml.interfaces.RequestContext |
WebXACMLUtil.createXACMLRequest(HttpServletRequest request,
RoleGroup callerRoles) |
Modifier and Type | Method and Description |
---|---|
RoleGroup |
EJBResource.getEjbMethodRoles()
Get the Roles assigned to the EJB method
|
Modifier and Type | Method and Description |
---|---|
void |
EJBResource.setEjbMethodRoles(RoleGroup ejbMethodRoles)
Set the roles assigned to the EJB Method
|
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 | Class and Description |
---|---|
class |
SimpleRoleGroup
Simple Role Group
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleRoleGroup.containsAtleastOneRole(RoleGroup anotherRole) |
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OptionsRoleMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject) |
void |
DeploymentRolesMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject)
Obtains the deployment roles via the context map and applies it
on the mappedObject
|
void |
DeploymentRoleToRolesMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject)
Obtains the deployment roles via the context map and applies it
on the mappedObject
|
Modifier and Type | Method and Description |
---|---|
void |
OptionsRoleMappingProvider.setMappingResult(MappingResult<RoleGroup> res) |
void |
DeploymentRolesMappingProvider.setMappingResult(MappingResult<RoleGroup> res) |
void |
DeploymentRoleToRolesMappingProvider.setMappingResult(MappingResult<RoleGroup> res) |
Modifier and Type | Field and Description |
---|---|
protected MappingResult<RoleGroup> |
AbstractRolesMappingProvider.result |
Modifier and Type | Method and Description |
---|---|
void |
PropertiesRolesMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject) |
void |
LdapRolesMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject) |
void |
DatabaseRolesMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject) |
protected void |
LdapRolesMappingProvider.rolesSearch(InitialLdapContext ctx,
SearchControls constraints,
String user,
int recursionMax,
int nesting,
RoleGroup roleGroup) |
protected void |
LdapRolesMappingProvider.rolesSearch(InitialLdapContext ctx,
SearchControls constraints,
String user,
String previousRoleDn,
int recursionMax,
int nesting,
RoleGroup roleGroup) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRolesMappingProvider.setMappingResult(MappingResult<RoleGroup> result) |
Modifier and Type | Method and Description |
---|---|
RoleGroup |
JBossSecurityContextUtil.getRoles() |
RoleGroup |
JBossAuthorizationManager.getSubjectRoles(Subject authenticatedSubject,
CallbackHandler cbh) |
Modifier and Type | Method and Description |
---|---|
int |
JBossAuthorizationManager.authorize(Resource resource,
Subject subject,
RoleGroup role) |
protected boolean |
JBossAuthorizationManager.doesRoleGroupHaveRole(Principal role,
RoleGroup userRoles)
Check that the indicated application domain role is a member of the
user's assigned roles.
|
void |
JBossSecurityContextUtil.setRoles(RoleGroup roles) |
Modifier and Type | Method and Description |
---|---|
int |
JBossAuthorizationContext.authorize(Resource resource,
Subject subject,
RoleGroup callerRoles) |
Modifier and Type | Method and Description |
---|---|
boolean |
EJBAuthorizationHelper.authorize(String ejbName,
Method ejbMethod,
Principal ejbPrincipal,
String invocationInterfaceString,
CodeSource ejbCodeSource,
Subject callerSubject,
RunAs callerRunAs,
String contextID,
RoleGroup methodRoles) |
Modifier and Type | Method and Description |
---|---|
RoleGroup |
PicketBoxProcessor.getCallerRoles()
Get the caller roles
|
Modifier and Type | Method and Description |
---|---|
void |
PicketBoxAuthorizationModule.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 |
PicketBoxUtil.getRolesFromSubject(Subject subject)
Given a JAAS Subject, will look for
Group principals
with name "Roles" and return that in a RoleGroup |
Modifier and Type | Method and Description |
---|---|
void |
STSGroupMappingProvider.performMapping(Map<String,Object> contextMap,
RoleGroup Group) |
Modifier and Type | Method and Description |
---|---|
void |
STSGroupMappingProvider.setMappingResult(MappingResult<RoleGroup> mappingResult) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.