public class UserAdminRole extends UserRole implements Administrator
Constraint
. Any attributes of Constraint not set within this entity
will use same attribute from the AdminRole
entity. Thus the UserAdminRole can override Constraint attributes from it's corresponding AdminRole if required by caller.
------------------------------------------ Fortress User Attributes Auxiliary Object Class objectclass ( 1.3.6.1.4.1.38088.3.1 NAME 'ftUserAttrs' DESC 'Fortress User Attribute AUX Object Class' AUXILIARY MUST ( ftId ) MAY ( ftRC $ ftRA $ ftARC $ ftARA $ ftCstr $ ftSystem ) ) ------------------------------------------
adminSession, contextId, modCode, modId, sequenceId
Constructor and Description |
---|
UserAdminRole()
Default constructor is used by internal Fortress classes.
|
UserAdminRole(String userId,
Constraint con)
Construct an ARBAC Role with required attribute 'userId' and optional temporal constraint.
|
UserAdminRole(String userId,
String name)
Construct a UserRole entity given the required attributes 'userId' and 'role' name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object thatObj)
Matches the userId and admin role name from two UserAdminRole entities.
|
String |
getBeginRange()
Return the begin Role range attribute for AdminRole entity.
|
String |
getEndRange()
Return the end Role range attribute for AdminRole entity.
|
Set<String> |
getOsPSet()
Get a collection of optional Perm OU attributes that were stored on the AdminRole entity.
|
Set<String> |
getOsUSet()
Get a collection of optional User OU attributes that were stored on the AdminRole entity.
|
Set<String> |
getParents()
Get the names of admin roles that are parents (direct ascendants) of this admin role.
|
String |
getRawData()
This method creates raw data format that represents UserAdminRole temporal and ARBAC constraints using instance variables inside entity.
|
String |
getRoleRangeRaw()
This method retrieves UserAdminRole instance variables and formats into raw data for ARBAC constraint storage for the
'ftARC' attribute on the 'ftUserAttrs' object class.
|
int |
hashCode() |
boolean |
isBeginInclusive()
Set the begin inclusive which specifies if role range includes or excludes the 'beginRange' attribute.
|
boolean |
isEndInclusive()
Set the end inclusive which specifies if role range includes or excludes the 'endRange' attribute.
|
void |
load(String szRawData,
String contextId,
ParentUtil parentUtil)
This method loads UserAdminRole entity temporal and ARBAC constraint instance variables with data that was retrieved from the
'ftARC' attribute on the 'ftUserAttrs' object class.
|
void |
setBeginInclusive(boolean beginInclusive)
Get the begin inclusive which specifies if role range includes or excludes the 'beginRange' attribute.
|
void |
setBeginRange(String beginRange)
Set the begin Role range attribute for AdminRole entity.
|
void |
setEndInclusive(boolean endInclusive)
Get the end inclusive which specifies if role range includes or excludes the 'endRange' attribute.
|
void |
setEndRange(String endRange)
Set the end Role range attribute for AdminRole entity.
|
void |
setOsP(String osP)
Set a Perm OU attribute to be stored on the AdminRole entity.
|
void |
setOsPSet(Set<String> osPs)
Set a collection of optional Perm OU attributes to be stored on the AdminRole entity.
|
void |
setOsU(String osU)
Set a User OU attribute to be stored on the AdminRole entity.
|
void |
setOsUSet(Set<String> osUs)
Set a collection of optional User OU attributes to be stored on the AdminRole entity.
|
void |
setParents(Set<String> parents)
Set the names of parent admin roles.
|
void |
setRoleRangeRaw(String szRaw)
This method loads UserAdminRole entity Role range ARBAC constraint instance variables with data that was retrieved from the
'ftARC' attribute on the 'ftUserAttrs' object class.
|
getBeginDate, getBeginLockDate, getBeginTime, getDayMask, getEndDate, getEndLockDate, getEndTime, getName, getTimeout, getUserId, isTemporalSet, setBeginDate, setBeginLockDate, setBeginTime, setDayMask, setEndDate, setEndLockDate, setEndTime, setName, setTimeout, setUserId, toString
getAdminSession, getContextId, getModCode, getModId, getSequenceId, setAdminSession, setContextId, setModCode, setSequenceId
public UserAdminRole()
public UserAdminRole(String userId, String name)
userId
- maps to the 'uid' attribute on the 'inetOrgPerson' object class.name
- maps to the 'ftARA' attribute on the 'ftUserAttrs' object class.public UserAdminRole(String userId, Constraint con)
userId
- maps to the 'uid' attribute on the 'inetOrgPerson' object class.con
- maps to 'ftARC' attribute in 'ftUserAttrs' object class.public void load(String szRawData, String contextId, ParentUtil parentUtil)
public String getRawData()
getRawData
in interface Constraint
getRawData
in class UserRole
public void setRoleRangeRaw(String szRaw)
setRoleRangeRaw
in interface Administrator
szRaw
- contains a raw formatted String that maps to 'ftARC' attribute on 'ftUserAttrs' object classpublic String getRoleRangeRaw()
getRoleRangeRaw
in interface Administrator
public Set<String> getOsPSet()
getOsPSet
in interface Administrator
public void setOsPSet(Set<String> osPs)
setOsPSet
in interface Administrator
osPs
- is a List of type String containing Perm OU. This maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public void setOsP(String osP)
setOsP
in interface Administrator
osP
- is a Perm OU that maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public Set<String> getOsUSet()
getOsUSet
in interface Administrator
public void setOsUSet(Set<String> osUs)
setOsUSet
in interface Administrator
osUs
- is a List of type String containing User OU. This maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public void setOsU(String osU)
setOsU
in interface Administrator
osU
- is a User OU that maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public String getBeginRange()
getBeginRange
in interface Administrator
public void setBeginRange(String beginRange)
setBeginRange
in interface Administrator
beginRange
- maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public String getEndRange()
getEndRange
in interface Administrator
public void setEndRange(String endRange)
setEndRange
in interface Administrator
endRange
- maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public boolean isBeginInclusive()
isBeginInclusive
in interface Administrator
public void setBeginInclusive(boolean beginInclusive)
setBeginInclusive
in interface Administrator
beginInclusive
- maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public boolean isEndInclusive()
isEndInclusive
in interface Administrator
public void setEndInclusive(boolean endInclusive)
setEndInclusive
in interface Administrator
endInclusive
- maps to 'ftARC' attribute on 'ftUserAttrs' aux object class.public Set<String> getParents()
getParents
in class UserRole
public void setParents(Set<String> parents)
setParents
in class UserRole
parents
- Set of admin role names.public boolean equals(Object thatObj)
Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621