org.sblim.cimclient.internal.http
Class PegasusLocalAuthInfo

java.lang.Object
  extended by org.sblim.cimclient.internal.http.AuthorizationInfo
      extended by org.sblim.cimclient.internal.http.PegasusLocalAuthInfo

public class PegasusLocalAuthInfo
extends AuthorizationInfo

Implements OpenPegasus local authentication


Field Summary
 
Fields inherited from class org.sblim.cimclient.internal.http.AuthorizationInfo
iA1, iAddr, iAlgorithm, iCnonce, iCredentials, iNc, iNonce, iOpaque, iPort, iProtocol, iQop, iRealm, iResponse, iScheme, iUri
 
Constructor Summary
PegasusLocalAuthInfo()
          Default ctor.
 
Method Summary
 String getHeaderFieldName()
          Gets the HTTP header field name for this authentication information
 boolean isKeptAlive()
          Determines if the connection is kept alive after the "401 Unauthorized" response
 boolean isSentOnFirstRequest()
          Determines if the authorization information is already sent on the very first http request or after the "401 Unauthorized" response
 String toString()
           
 void updateAuthenticationInfo(Challenge challenge, String authenticate, URI url, String requestMethod)
          Updates the authorization information according to a received challenge.
 
Methods inherited from class org.sblim.cimclient.internal.http.AuthorizationInfo
createAuthorizationInfo, createAuthorizationInfo, getA1, getAddr, getAlgorithm, getCnonce, getCredentials, getNc, getNonce, getOpaque, getPort, getProtocol, getQop, getRealm, getResponse, getScheme, getURI, init, match, setA1, setAlgorithm, setCnonce, setCredentials, setNc, setNonce, setOpaque, setQop, setRealm, setResponse, setScheme, setURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PegasusLocalAuthInfo

public PegasusLocalAuthInfo()
Default ctor.

Method Detail

updateAuthenticationInfo

public void updateAuthenticationInfo(Challenge challenge,
                                     String authenticate,
                                     URI url,
                                     String requestMethod)
Description copied from class: AuthorizationInfo
Updates the authorization information according to a received challenge.

Specified by:
updateAuthenticationInfo in class AuthorizationInfo
Parameters:
challenge -
authenticate -
url -
requestMethod -

toString

public String toString()
Specified by:
toString in class AuthorizationInfo

getHeaderFieldName

public String getHeaderFieldName()
Description copied from class: AuthorizationInfo
Gets the HTTP header field name for this authentication information

Specified by:
getHeaderFieldName in class AuthorizationInfo
Returns:
The field name

isSentOnFirstRequest

public boolean isSentOnFirstRequest()
Description copied from class: AuthorizationInfo
Determines if the authorization information is already sent on the very first http request or after the "401 Unauthorized" response

Specified by:
isSentOnFirstRequest in class AuthorizationInfo
Returns:
true or false

isKeptAlive

public boolean isKeptAlive()
Description copied from class: AuthorizationInfo
Determines if the connection is kept alive after the "401 Unauthorized" response

Specified by:
isKeptAlive in class AuthorizationInfo
Returns:
true or false


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.