|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.alt.assembler.classic.AssemblerTool.RoleMapping
public static class AssemblerTool.RoleMapping
This class encapsulates a mapping between a collection of logical roles and each of those roles equivalent physical security roles in the target environment.
Instance of this class are constructed from a RoleMappingInfo configuration class. This class is used in the applySecurityRoleReferences( ) and applyMethodPermissions( ) Assembler methods.
Constructor Summary | |
---|---|
AssemblerTool.RoleMapping(RoleMappingInfo[] roleMappingInfos)
Constructs an instance from a RoleMappingInfo configuration object. |
Method Summary | |
---|---|
java.lang.String[] |
getPhysicalRoles(java.lang.String logicalRole)
Returns a collection of physical roles that are mapped to the logical role. |
java.lang.String[] |
logicalRoles()
Returns all the logical roles in this mapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssemblerTool.RoleMapping(RoleMappingInfo[] roleMappingInfos)
roleMappingInfos
- configuration object holds collections of logical and physical rolesRoleMappingInfo
Method Detail |
---|
public java.lang.String[] logicalRoles()
public java.lang.String[] getPhysicalRoles(java.lang.String logicalRole)
logicalRole
- a logical role that is mapped to physical roles
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |