|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectissrg.pba.rbac.policies.MMEPUnit
This class represents a MMEP unit -- it includes a forbiddenCardinality and a privilege set which comprises several mutually exclusive privileges with the forbiddenCardinality.
Constructor Summary | |
MMEPUnit(int forbiddenCardinality,
java.util.Vector mmep)
This constructor creates the MMEPUnit object. |
Method Summary | |
int |
getMatchCount()
This method returns the current match count of MMEP, i.e. until now, how many MMEP have been matched by the user actions this MMEP Unit. |
boolean |
MMEPMatches(java.lang.String action,
java.lang.String target)
This method compare mmep with the input user action and target, to determine if this action and target pair match any mmep privileges. |
void |
startMatch()
This method starts a new matching between user actions and this MMEP unit. |
java.lang.String |
toString()
This method is to output all the MMEP action information as a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MMEPUnit(int forbiddenCardinality, java.util.Vector mmep)
Method Detail |
public int getMatchCount()
public void startMatch()
public boolean MMEPMatches(java.lang.String action, java.lang.String target)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |