|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.rt.credential.RTContext
ApplicationDomainSecification
s and
Principal
s in the system.Field Summary | |
private java.util.HashMap |
applicationDomains
Index for ApplicationDomain objects.Key: HashID Value: ApplicationDomain |
private java.util.HashMap |
principals
Index for Principal objects.Key: PublicKeyPrincipal Value: PublicKeyPrincipalInfo |
private ApplicationDomain |
systemDomain
The built-in system domain. |
Constructor Summary | |
RTContext(RTParser rtParser)
Constructor for RTContext. |
Method Summary | |
void |
addApplicationDomain(HashID id,
ApplicationDomain appDomain)
Method addApplicationDomain. |
void |
addPrincipal(PublicKeyPrincipal id,
PublicKeyPrincipalInfo principal)
Method addPrincipals. |
ApplicationDomain |
getApplicationDomain(HashID id)
Method getApplicationDomain. |
ApplicationDomain |
getApplicationDomain(java.lang.String id)
Method getApplicationDomain. |
PublicKeyPrincipalInfo |
getPrincipal(PublicKeyPrincipal id)
Method getPrincipal. |
ApplicationDomain |
getSystemDomain()
Method getSystemDomain. |
boolean |
hasDomainWithID(java.lang.String idref)
Method hasDomainWithID. |
java.lang.String |
toString(java.lang.String indent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.HashMap applicationDomains
ApplicationDomain
objects.HashID
ApplicationDomain
private java.util.HashMap principals
Principal
objects.PublicKeyPrincipal
PublicKeyPrincipalInfo
private ApplicationDomain systemDomain
Constructor Detail |
public RTContext(RTParser rtParser) throws java.lang.Exception
Method Detail |
public ApplicationDomain getSystemDomain()
public ApplicationDomain getApplicationDomain(java.lang.String id)
id
-
public ApplicationDomain getApplicationDomain(HashID id)
id
-
public void addApplicationDomain(HashID id, ApplicationDomain appDomain) throws DomainSpecException
id
- appDomain
-
DomainSpecException
public PublicKeyPrincipalInfo getPrincipal(PublicKeyPrincipal id)
id
-
public void addPrincipal(PublicKeyPrincipal id, PublicKeyPrincipalInfo principal) throws DomainSpecException
id
- the hash value of the principalprincipal
- the public key info of the principal
DomainSpecException
public boolean hasDomainWithID(java.lang.String idref)
idref
-
public java.lang.String toString(java.lang.String indent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |