org.apache.wink.client.handlers
Class AbstractAuthSecurityHandler
java.lang.Object
org.apache.wink.client.handlers.AbstractAuthSecurityHandler
- Direct Known Subclasses:
- BasicAuthSecurityHandler, ProxyAuthSecurityHandler
public class AbstractAuthSecurityHandler
- extends java.lang.Object
Method Summary |
protected static java.lang.String |
getEncodedString(java.lang.String userid,
java.lang.String password)
|
void |
setPassword(java.lang.String aPassword)
Sets the password to use. |
void |
setUserName(java.lang.String aUserName)
Sets the username to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlerUsername
protected volatile java.lang.String handlerUsername
handlerPassword
protected volatile java.lang.String handlerPassword
handlerEncodedCredentials
protected volatile java.lang.String handlerEncodedCredentials
AbstractAuthSecurityHandler
public AbstractAuthSecurityHandler()
AbstractAuthSecurityHandler
public AbstractAuthSecurityHandler(java.lang.String username,
java.lang.String password)
setUserName
public void setUserName(java.lang.String aUserName)
- Sets the username to use.
- Parameters:
aUserName
- the user name
setPassword
public void setPassword(java.lang.String aPassword)
- Sets the password to use.
- Parameters:
aPassword
- the password to use
getEncodedString
protected static java.lang.String getEncodedString(java.lang.String userid,
java.lang.String password)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.