|
||||||||||
| 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 credential| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
clone in class SecurityContextCloneNotSupportedExceptionpublic boolean equals(Object obj)
equals in class SecurityContextobj - the object to compare this with
public int hashCode()
hashCode in class SecurityContextpublic 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 | |||||||||