|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.security.spi.impl.DefaultSecurityMappingHandler
public class DefaultSecurityMappingHandler
SecurityMappingHandler
Field Summary | |
---|---|
private org.apache.jetspeed.security.spi.SecurityAccess |
commonQueries
Common queries. |
(package private) org.apache.jetspeed.security.HierarchyResolver |
groupHierarchyResolver
The group hierarchy resolver. |
(package private) org.apache.jetspeed.security.HierarchyResolver |
roleHierarchyResolver
The role hierarchy resolver. |
Constructor Summary | |
---|---|
DefaultSecurityMappingHandler(org.apache.jetspeed.security.spi.SecurityAccess commonQueries)
Constructor providing access to the common queries. |
|
DefaultSecurityMappingHandler(org.apache.jetspeed.security.spi.SecurityAccess commonQueries,
org.apache.jetspeed.security.HierarchyResolver roleHierarchyResolver,
org.apache.jetspeed.security.HierarchyResolver groupHierarchyResolver)
Constructor providing access to the common queries and hierarchy resolvers. |
Method Summary | |
---|---|
org.apache.jetspeed.security.HierarchyResolver |
getGroupHierarchyResolver()
|
Set |
getGroupPrincipals(String username)
|
Set |
getGroupPrincipalsInRole(String roleFullPathName)
|
org.apache.jetspeed.security.HierarchyResolver |
getRoleHierarchyResolver()
|
Set |
getRolePrincipals(String username)
|
Set |
getRolePrincipalsInGroup(String groupFullPathName)
|
Set |
getUserPrincipalsInGroup(String groupFullPathName)
|
Set |
getUserPrincipalsInRole(String roleFullPathName)
|
void |
removeRolePrincipalInGroup(String groupFullPathName,
String roleFullPathName)
|
void |
removeUserPrincipalInGroup(String username,
String groupFullPathName)
|
void |
removeUserPrincipalInRole(String username,
String roleFullPathName)
|
void |
setGroupHierarchyResolver(org.apache.jetspeed.security.HierarchyResolver groupHierarchyResolver)
|
void |
setRoleHierarchyResolver(org.apache.jetspeed.security.HierarchyResolver roleHierarchyResolver)
|
void |
setRolePrincipalInGroup(String groupFullPathName,
String roleFullPathName)
|
void |
setUserPrincipalInGroup(String username,
String groupFullPathName)
|
void |
setUserPrincipalInRole(String username,
String roleFullPathName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
org.apache.jetspeed.security.HierarchyResolver roleHierarchyResolver
org.apache.jetspeed.security.HierarchyResolver groupHierarchyResolver
private org.apache.jetspeed.security.spi.SecurityAccess commonQueries
Constructor Detail |
---|
public DefaultSecurityMappingHandler(org.apache.jetspeed.security.spi.SecurityAccess commonQueries)
Constructor providing access to the common queries.
public DefaultSecurityMappingHandler(org.apache.jetspeed.security.spi.SecurityAccess commonQueries, org.apache.jetspeed.security.HierarchyResolver roleHierarchyResolver, org.apache.jetspeed.security.HierarchyResolver groupHierarchyResolver)
Constructor providing access to the common queries and hierarchy resolvers.
Method Detail |
---|
public org.apache.jetspeed.security.HierarchyResolver getRoleHierarchyResolver()
getRoleHierarchyResolver
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
public void setRoleHierarchyResolver(org.apache.jetspeed.security.HierarchyResolver roleHierarchyResolver)
setRoleHierarchyResolver
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.setRoleHierarchyResolver(org.apache.jetspeed.security.HierarchyResolver)
public org.apache.jetspeed.security.HierarchyResolver getGroupHierarchyResolver()
getGroupHierarchyResolver
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
public void setGroupHierarchyResolver(org.apache.jetspeed.security.HierarchyResolver groupHierarchyResolver)
setGroupHierarchyResolver
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.setGroupHierarchyResolver(org.apache.jetspeed.security.HierarchyResolver)
public Set getRolePrincipals(String username)
getRolePrincipals
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.getRolePrincipals(java.lang.String)
public void setUserPrincipalInRole(String username, String roleFullPathName) throws org.apache.jetspeed.security.SecurityException
setUserPrincipalInRole
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
org.apache.jetspeed.security.SecurityException
SecurityMappingHandler.setUserPrincipalInRole(java.lang.String,
java.lang.String)
public void removeUserPrincipalInRole(String username, String roleFullPathName) throws org.apache.jetspeed.security.SecurityException
removeUserPrincipalInRole
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
org.apache.jetspeed.security.SecurityException
SecurityMappingHandler.removeUserPrincipalInRole(java.lang.String,
java.lang.String)
public Set getRolePrincipalsInGroup(String groupFullPathName)
getRolePrincipalsInGroup
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.getRolePrincipalsInGroup(java.lang.String)
public void setRolePrincipalInGroup(String groupFullPathName, String roleFullPathName) throws org.apache.jetspeed.security.SecurityException
setRolePrincipalInGroup
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
org.apache.jetspeed.security.SecurityException
SecurityMappingHandler.setRolePrincipalInGroup(java.lang.String,
java.lang.String)
public void removeRolePrincipalInGroup(String groupFullPathName, String roleFullPathName) throws org.apache.jetspeed.security.SecurityException
removeRolePrincipalInGroup
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
org.apache.jetspeed.security.SecurityException
SecurityMappingHandler.removeRolePrincipalInGroup(java.lang.String,
java.lang.String)
public Set getGroupPrincipals(String username)
getGroupPrincipals
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.getGroupPrincipals(java.lang.String)
public Set getGroupPrincipalsInRole(String roleFullPathName)
getGroupPrincipalsInRole
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.getGroupPrincipalsInRole(java.lang.String)
public Set getUserPrincipalsInRole(String roleFullPathName)
getUserPrincipalsInRole
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.getUserPrincipalsInRole(java.lang.String)
public Set getUserPrincipalsInGroup(String groupFullPathName)
getUserPrincipalsInGroup
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
SecurityMappingHandler.getUserPrincipalsInGroup(java.lang.String)
public void setUserPrincipalInGroup(String username, String groupFullPathName) throws org.apache.jetspeed.security.SecurityException
setUserPrincipalInGroup
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
org.apache.jetspeed.security.SecurityException
SecurityMappingHandler.setUserPrincipalInGroup(java.lang.String,
java.lang.String)
public void removeUserPrincipalInGroup(String username, String groupFullPathName) throws org.apache.jetspeed.security.SecurityException
removeUserPrincipalInGroup
in interface org.apache.jetspeed.security.spi.SecurityMappingHandler
org.apache.jetspeed.security.SecurityException
SecurityMappingHandler.removeUserPrincipalInGroup(java.lang.String,
java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |