|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.policies.MMERUnit
public class MMERUnit
This is the class representing a MMER unit. A MMER policy may contains several MMER units.
Constructor Summary | |
---|---|
MMERUnit(int forbiddenCardinality,
java.util.Vector<RoleBasedCredentials> mmer)
This constructor creates the MMERUnit object. |
Method Summary | |
---|---|
int |
getMatchCount()
This method returns the current match count of MMER, i.e. |
boolean |
MMERMatches(java.util.Vector roles)
This method compare mmer with the input vector V -- an array of user roles, to determine if any of user roles match mmer roles. |
void |
startMatch()
This method starts a new matching between user roles and this MMER unit. |
java.lang.String |
toString()
This method is to output all the role information in the MMER unit as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MMERUnit(int forbiddenCardinality, java.util.Vector<RoleBasedCredentials> mmer)
Method Detail |
---|
public int getMatchCount()
public void startMatch()
public boolean MMERMatches(java.util.Vector roles)
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 |