|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gridsystems.innergrid.api.UsernameTokenCredentials
public class UsernameTokenCredentials
Implementation of the credentials for UsernameToken authentication.
Constructor Summary | |
---|---|
UsernameTokenCredentials(java.lang.String userName,
java.lang.String password)
Creates a new instance with the specified name and password. |
Method Summary | |
---|---|
java.lang.String |
getUserName()
Gets the user name. |
void |
setup(javax.xml.rpc.Stub stub)
Configures the specified remote stub to use these credentials. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsernameTokenCredentials(java.lang.String userName, java.lang.String password)
userName
- a string with the user namepassword
- a string with the user passwordMethod Detail |
---|
public java.lang.String getUserName()
getUserName
in interface Credentials
public void setup(javax.xml.rpc.Stub stub)
setup
in interface Credentials
stub
- the stub to configure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |