|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectXGTRBAC.UserRoleAssign.AssignConstraint
public class UserRoleAssign.AssignConstraint
An inner "AssignConstraint" class *
| Field Summary | |
|---|---|
private java.util.LinkedList |
AssignConditionList
|
private java.lang.String |
DExprId
|
private java.lang.String |
opcode
|
| Constructor Summary | |
|---|---|
UserRoleAssign.AssignConstraint()
Creates a new instance of AssignConstraint |
|
| Method Summary | |
|---|---|
int |
addAssignCondition(java.lang.String cred_type)
Adds a new assign condition to the AssignConditionList |
UserRoleAssign.AssignCondition |
getAssignCondition(java.lang.String cred_type)
Returns the assign condition for the URAssign |
int |
getAssignConditionCount()
Returns the number of assign conditions for the role |
java.lang.String |
getAssignConditionType(int index)
Returns the credential type of the assign condition |
java.lang.String |
getDExprId()
Returns the duration expression id reference for the assign constraint |
DurationExpr |
getDurationExpr(Policy policy,
boolean[] status)
Returns the effective duration expression of an assign constraint |
java.lang.String |
getOpcode()
Returns the opcode |
boolean |
getResult(boolean[] status)
Returns the result for an assign constraint evaluation |
void |
setDExprId(java.lang.String d_expr_id)
Sets the duration expression id reference for the assign constraint |
void |
setOpcode(java.lang.String op)
Sets the opcode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String opcode
private java.lang.String DExprId
private java.util.LinkedList AssignConditionList
| Constructor Detail |
|---|
public UserRoleAssign.AssignConstraint()
| Method Detail |
|---|
public java.lang.String getOpcode()
public void setOpcode(java.lang.String op)
op - The opcode supplied as Stringpublic void setDExprId(java.lang.String d_expr_id)
d_expr_id - The duration expression id reference supplied as Stringpublic java.lang.String getDExprId()
public int getAssignConditionCount()
public java.lang.String getAssignConditionType(int index)
index - The integer index of the assign condition in the AssignConditionList
public int addAssignCondition(java.lang.String cred_type)
cred_type - The cred_type of the assign condition supplied as String
public UserRoleAssign.AssignCondition getAssignCondition(java.lang.String cred_type)
cred_type - The credential type of the AssignCondition supplied as String
public boolean getResult(boolean[] status)
status - An array with stored results of all assign conditions supplied as boolean[]
public DurationExpr getDurationExpr(Policy policy,
boolean[] status)
policy - The reference to policy object supplied as Policystatus - An array with stored results of all assign conditions supplied as boolean[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||