org.globus.gridshib.security
Class BaseSecurityContext
java.lang.Object
org.globus.gridshib.security.BaseSecurityContext
- All Implemented Interfaces:
- SecurityContext
- Direct Known Subclasses:
- SAMLSecurityContext
public class BaseSecurityContext
- extends Object
- implements SecurityContext
- See Also:
SecurityContext
subject
protected Subject subject
BaseSecurityContext
protected BaseSecurityContext(Subject subject)
getSubject
public Subject getSubject()
- Specified by:
getSubject in interface SecurityContext
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface SecurityContext
getPrincipals
public Principal[] getPrincipals()
- Specified by:
getPrincipals in interface SecurityContext
addPrincipal
public boolean addPrincipal(Principal principal)
- Specified by:
addPrincipal in interface SecurityContext
addPrincipals
public boolean addPrincipals(Principal[] principals)
- Specified by:
addPrincipals in interface SecurityContext
getCertificateChain
public X509Certificate[] getCertificateChain()
- Specified by:
getCertificateChain in interface SecurityContext
addCertificateChain
public boolean addCertificateChain(X509Certificate[] certs)
- Specified by:
addCertificateChain in interface SecurityContext
toString
public String toString()
- Specified by:
toString in interface SecurityContext- Overrides:
toString in class Object
Copyright © 2007-2008 University of Illinois. All Rights Reserved.