|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.framework.security.principal.SecurityPrincipal
com.esri.gpt.framework.security.principal.Role
public class Role
Represents an application role within the system.
Constructor Summary | |
---|---|
Role()
Default constructor. |
|
Role(String key)
Construct with a supplied key. |
Method Summary | |
---|---|
void |
buildFullRoleSet(Roles allRoles)
Builds the full role set associated with this role. |
RoleSet |
getFullRoleSet()
Gets full set of role keys applicable to this role. |
String |
getInherits()
Gets the configured inheritance specification string. |
String |
getResKey()
Gets resource key configured for role |
boolean |
isForbidden()
Check if role is configured to be forbidden from access |
boolean |
isManage()
Is role to be managed |
void |
setForbidden(boolean forbidden)
Sets forbidden configuration. |
void |
setInherits(String inherits)
Sets the configured inheritance specification string. |
void |
setManage(boolean manage)
Set the manage role attribute |
void |
setResKey(String resKey)
Sets resource key configuration |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class com.esri.gpt.framework.security.principal.SecurityPrincipal |
---|
getDistinguishedName, getKey, getLocalID, getName, reset, setDistinguishedName, setKey, setLocalID, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Role()
public Role(String key)
key
- the keyMethod Detail |
---|
public RoleSet getFullRoleSet()
public String getInherits()
public void setInherits(String inherits)
inherits
- the inheritance stringpublic boolean isManage()
public void setManage(boolean manage)
manage
- public String getResKey()
public void setResKey(String resKey)
resKey
- public boolean isForbidden()
public void setForbidden(boolean forbidden)
forbidden
- public void buildFullRoleSet(Roles allRoles)
allRoles
- the collection of roles associated with the application configurationpublic String toString()
toString
in class SecurityPrincipal
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |