

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
public interface Credentials
This class implements the Credentials: the initiator's Access Decision Information (ADI) in terms of the ISO 101813 access control (authorisation) framework.
Note that the standard does not restrict what the initiator's ADI should be. We suggest it could be the initiatorbound data that specifies certain access privileges, like security labels, user group inclusion statements, role assignments, etc. Note that we do not limit the ADI to the stated examples.
The ADI is represented as a set of values, this allows verification against the policy ( via set comparison) that the initiator has not done more than is allowed.
The caller should know if the object is a superset of another object (ie. the object contains another credential). This is sufficient for decisionmaking and delegation. Since the Credentials are a set, the two other methods intersection and union help optimise the operations.
Method Summary  

java.lang.Object 
clone()
This method creates a copy of the Credentials. 
boolean 
contains(Credentials subSet)
This method tells if the Credentials contain the given subset of Credentials. 
Credentials 
intersection(Credentials set)
This method returns the intersection of this set with the given set. 
Credentials 
union(Credentials set)
This method returns the union of this set with the given set. 
Method Detail 

boolean contains(Credentials subSet)
subSet
 is the set to test against this
Credentials intersection(Credentials set)
this.intersection(set)
should be equal to set.intersection(this)
 it may
produce an internally different object, but it should behave in the same way
and equals method should return true when comparing such results.
set
 is the set to intersect with
Credentials union(Credentials set)
this.union(set)
should be equal to set.union(this)
 it may
produce an internally different object, but it should behave in the same way
and equals method should return true when comparing such results.
set
 is the set to join with
java.lang.Object clone()


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 