org.sblim.wbem.http

Class WwwAuthInfo


public class WwwAuthInfo
extends AuthInfo

Implements HTTP basic and digest authentication

Field Summary

Fields inherited from class org.sblim.wbem.http.AuthInfo

iA1, iAddr, iAlgorithm, iCnonce, iCredentials, iNc, iNonce, iOpaque, iPort, iProtocol, iQop, iRealm, iResponse, iScheme, iUri

Constructor Summary

WwwAuthInfo()
Default ctor.

Method Summary

String
getHeaderFieldName()
boolean
isKeptAlive()
boolean
isSentOnFirstRequest()
static String[]
split(String line)
String
toString()
void
updateAuthenticationInfo(Challenge challenge, String authenticate, URI url, String requestMethod)

Methods inherited from class org.sblim.wbem.http.AuthInfo

createAuthorizationInfo, createAuthorizationInfo, getA1, getAddr, getAlgorith, getCnonce, getCredentials, getHeaderFieldName, getNc, getNonce, getOpaque, getPort, getProtocol, getQop, getRealm, getResponse, getScheme, getURI, init, isKeptAlive, isSentOnFirstRequest, match, setA1, setAlgorithm, setCnonce, setCredentials, setNc, setNonce, setOpaque, setQop, setRealm, setResponse, setScheme, setURI, toString, updateAuthenticationInfo

Constructor Details

WwwAuthInfo

public WwwAuthInfo()
Default ctor.

Method Details

getHeaderFieldName

public String getHeaderFieldName()
Overrides:
getHeaderFieldName in interface AuthInfo

isKeptAlive

public boolean isKeptAlive()
Overrides:
isKeptAlive in interface AuthInfo

isSentOnFirstRequest

public boolean isSentOnFirstRequest()
Overrides:
isSentOnFirstRequest in interface AuthInfo

split

public static String[] split(String line)

toString

public String toString()
Overrides:
toString in interface AuthInfo

updateAuthenticationInfo

public void updateAuthenticationInfo(Challenge challenge,
                                     String authenticate,
                                     URI url,
                                     String requestMethod)
            throws NoSuchAlgorithmException
Overrides:
updateAuthenticationInfo in interface AuthInfo

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