|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.policies.MMEPUnit
public class 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<UserAction> mmep)
This constructor creates the MMEPUnit object. |
Method Summary | |
---|---|
int |
getMatchCount()
This method returns the current match count of MMEP, i.e. |
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<UserAction> 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()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |