|
||||||||||
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.MyProxyServerCredentialSecurityContext
public class MyProxyServerCredentialSecurityContext
This context is used if you have a credential stored in a myproxy server. You need to specify a host, port, username and password to the myproxy server.
Constructor Summary | |
---|---|
MyProxyServerCredentialSecurityContext(String host,
int port,
String username,
String password)
Creates a MyProxyServerCredentialSecurityContext . |
Method Summary | |
---|---|
Object |
clone()
Returns a clone of this context. |
boolean |
equals(Object obj)
|
String |
getHost()
Returns the host of the MyProxy server. |
int |
getPort()
Gets the port of the MyProxy server. |
int |
hashCode()
|
void |
setHost(String host)
Sets the host of the MyProxy server. |
void |
setPort(int port)
Sets the port of the MyProxy server. |
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 MyProxyServerCredentialSecurityContext(String host, int port, String username, String password)
MyProxyServerCredentialSecurityContext
.
host
- the hostname of the myproxy serverport
- the port where the myproxy server runs, -1 for the default
portusername
- the username to use to connect to the myproxy serverpassword
- the password to use to connect to the myproxy serverMethod Detail |
---|
public Object clone() throws CloneNotSupportedException
SecurityContext
clone
in class SecurityContext
CloneNotSupportedException
public boolean equals(Object obj)
equals
in class SecurityContext
public String getHost()
public void setHost(String host)
host
- the new host of the MyProxy serverpublic int getPort()
public void setPort(int port)
port
- the new port of the MyProxy serverpublic int hashCode()
hashCode
in class SecurityContext
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |