edu.stanford.rt.credential
Class IssuerAndRoleDeclaration

java.lang.Object
  |
  +--edu.stanford.rt.credential.IssuerAndRoleDeclaration

public class IssuerAndRoleDeclaration
extends java.lang.Object

Author:
Ninghui Li, Sandra Qiu
An object which includes a Principal and a RoleDeclaration object. It is used as an index to index the role definitions in CredentialStore.

Field Summary
private  Principal issuer
           
private  RoleDeclaration roleDeclaration
           
 
Constructor Summary
IssuerAndRoleDeclaration(Principal issuer, RoleDeclaration roleDeclaration)
          Constructor for IssuerAndRoleDeclaration.
 
Method Summary
 Principal getIssuer()
          Returns the issuer.
 RoleDeclaration getRoleDeclaration()
          Returns the roleDeclaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

issuer

private Principal issuer

roleDeclaration

private RoleDeclaration roleDeclaration
Constructor Detail

IssuerAndRoleDeclaration

public IssuerAndRoleDeclaration(Principal issuer,
                                RoleDeclaration roleDeclaration)
Constructor for IssuerAndRoleDeclaration.

Method Detail

getIssuer

public Principal getIssuer()
Returns the issuer.

Returns:
Principal

getRoleDeclaration

public RoleDeclaration getRoleDeclaration()
Returns the roleDeclaration.

Returns:
RoleDeclaration