|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.portal.servlet.DefaultRoleMapper
public class DefaultRoleMapper
| Constructor Summary | |
|---|---|
DefaultRoleMapper()
|
|
| Method Summary | |
|---|---|
javax.jmi.reflect.RefObject |
checkPrincipal(javax.jmi.reflect.RefObject realm,
String principalName)
Checks whether the specified principal exists in the realm and if the principal is not disabled. |
String |
getAdminPrincipal(String realmName)
Return the principal which can act as administrator for the given realm. |
protected List |
getIsMemberOfGroup(javax.jmi.reflect.RefObject loginPrincipal,
String segmentName)
|
List |
getUserInRoles(javax.jmi.reflect.RefObject loginRealm,
String principalName)
Return set of roles for specified principal in given realm. |
boolean |
isRootPrincipal(String principalName)
Return true if the given principal is root. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRoleMapper()
| Method Detail |
|---|
protected List getIsMemberOfGroup(javax.jmi.reflect.RefObject loginPrincipal,
String segmentName)
public javax.jmi.reflect.RefObject checkPrincipal(javax.jmi.reflect.RefObject realm,
String principalName)
RoleMapper_1_0
checkPrincipal in interface RoleMapper_1_0
public List getUserInRoles(javax.jmi.reflect.RefObject loginRealm,
String principalName)
getUserInRoles in interface RoleMapper_1_0public String getAdminPrincipal(String realmName)
RoleMapper_1_0
getAdminPrincipal in interface RoleMapper_1_0public boolean isRootPrincipal(String principalName)
RoleMapper_1_0
isRootPrincipal in interface RoleMapper_1_0
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||