issrg.pba.rbac
Class SubjectCredsRules

java.lang.Object
  extended by issrg.pba.rbac.SubjectCredsRules

public class SubjectCredsRules
extends java.lang.Object

This class stores the assertable credentials and set of AssignmentRule of a subject


Constructor Summary
SubjectCredsRules()
          Creates a new instance of SubjectCredsRules
SubjectCredsRules(Credentials creds, java.util.Vector rules)
          This is the constructor of this class.
 
Method Summary
 Credentials getCreds()
          This method returns assertable credentials of the subject
 java.util.Vector getRules()
          This method returns the set of RARs (AssignmentRules) of the subject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectCredsRules

public SubjectCredsRules()
Creates a new instance of SubjectCredsRules


SubjectCredsRules

public SubjectCredsRules(Credentials creds,
                         java.util.Vector rules)
This is the constructor of this class.

Parameters:
creds - is the assertable credentials of the subject
rules - is the set of RARs (AssignmentRules of the subject
Method Detail

getCreds

public Credentials getCreds()
This method returns assertable credentials of the subject

Returns:
assertable credentials of the subject

getRules

public java.util.Vector getRules()
This method returns the set of RARs (AssignmentRules) of the subject

Returns:
a vector of RARs (AssignmentRules) of the subject