|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gridlab.gat.security.SecurityContext
org.gridlab.gat.security.CredentialSecurityContext
public class CredentialSecurityContext
A container for security Information based upon credentials stored in an object. Such an object can be the credential itself (e.g. a GSSCredential for Globus) or an object representation that can be converted to the credential (for instance a String representation of Globus certificate, which can be converted to a GSSCredential, for optimization reasons one can store the converted credential again in the CredentialSecurityContext).
Constructor Summary | |
---|---|
CredentialSecurityContext()
Constructor of the CredentialSecurityContext. |
|
CredentialSecurityContext(Object credential)
Constructor of the CredentialSecurityContext. |
Method Summary | |
---|---|
Object |
clone()
Returns a clone of this context. |
boolean |
equals(Object obj)
Check two SecurityContexts for equality. |
Object |
getCredential()
Gets the credential associated with this security context. |
int |
hashCode()
Gets the hashcode of this security context |
void |
setCredential(Object credential)
Sets the credential associated with this security context. |
String |
toString()
|
Methods inherited from class org.gridlab.gat.security.SecurityContext |
---|
addNote, containsNoteKey, getDataObject, getNoteValue, getPassword, getUsername, isValidFor, putDataObject, removeDataObject, setPassword, setUsername |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CredentialSecurityContext()
setCredential(Object)
to set the credential object.
public CredentialSecurityContext(Object credential)
credential
- creates a CredentialSecurityContext
with the
supplied credentialMethod Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class SecurityContext
CloneNotSupportedException
public boolean equals(Object obj)
equals
in class SecurityContext
obj
- the object to compare this with
public int hashCode()
hashCode
in class SecurityContext
public Object getCredential()
public void setCredential(Object credential)
credential
- The credential to be associated with this security
context.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |