org.apache.wink.client.handlers
Class AbstractAuthSecurityHandler

java.lang.Object
  extended by org.apache.wink.client.handlers.AbstractAuthSecurityHandler
Direct Known Subclasses:
BasicAuthSecurityHandler, ProxyAuthSecurityHandler

public class AbstractAuthSecurityHandler
extends Object


Field Summary
protected  String handlerEncodedCredentials
           
protected  String handlerPassword
           
protected  String handlerUsername
           
 
Constructor Summary
AbstractAuthSecurityHandler()
           
AbstractAuthSecurityHandler(String username, String password)
           
 
Method Summary
protected static String getEncodedString(String userid, String password)
           
 void setPassword(String aPassword)
          Sets the password to use.
 void setUserName(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
 

Field Detail

handlerUsername

protected volatile String handlerUsername

handlerPassword

protected volatile String handlerPassword

handlerEncodedCredentials

protected volatile String handlerEncodedCredentials
Constructor Detail

AbstractAuthSecurityHandler

public AbstractAuthSecurityHandler()

AbstractAuthSecurityHandler

public AbstractAuthSecurityHandler(String username,
                                   String password)
Method Detail

setUserName

public void setUserName(String aUserName)
Sets the username to use.

Parameters:
aUserName - the user name

setPassword

public void setPassword(String aPassword)
Sets the password to use.

Parameters:
aPassword - the password to use

getEncodedString

protected static String getEncodedString(String userid,
                                         String password)


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.