|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.RetainedADI
public class RetainedADI
This is the class for managing retained ADI when history based decision is needed. All successfull decisions are kept in this class in a Vector decisionHistoryVec.
Constructor Summary | |
---|---|
RetainedADI()
This constructor generates a new retained ADI object with empty dicisionHistoryVec. |
|
RetainedADI(java.util.Vector<DecisionRecord> decisionVec)
This constructor generates a new retained ADI object with dicisionVec as the decisionHisotryVec. |
Method Summary | |
---|---|
void |
add(DecisionRecord dr)
This method adds a new DecisionRecord into the decisionHistoryVec. |
void |
addAll(java.util.Vector<DecisionRecord> v)
This method adds a new Vector of DecisionRecord into the decisionHistoryVec. |
java.util.Vector<DecisionRecord> |
getHistoryRecords(ContextNamePrincipal policyDN,
ContextNamePrincipal instanceDN,
java.lang.String userID)
This method retrieves a vector of history decision records according to the policy contextname, instance contextname, and userID. |
void |
removeContext(ContextNamePrincipal policyDN,
ContextNamePrincipal instanceDN)
This method deletes all decision records from the retained ADI which are related to the instance contextname -- instanceDN according to the policy context. |
int |
size()
This method returns the size of the decisionHistoryVec. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RetainedADI()
public RetainedADI(java.util.Vector<DecisionRecord> decisionVec)
Method Detail |
---|
public void add(DecisionRecord dr)
public void addAll(java.util.Vector<DecisionRecord> v)
public int size()
public java.util.Vector<DecisionRecord> getHistoryRecords(ContextNamePrincipal policyDN, ContextNamePrincipal instanceDN, java.lang.String userID)
public void removeContext(ContextNamePrincipal policyDN, ContextNamePrincipal instanceDN)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |