org.sblim.wbem.http
public class WwwAuthInfo extends AuthInfo
Constructor and Description |
---|
WwwAuthInfo()
Default ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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
|
static java.lang.String[] |
split(java.lang.String line) |
java.lang.String |
toString() |
void |
updateAuthenticationInfo(Challenge challenge,
java.lang.String authenticate,
java.net.URI url,
java.lang.String requestMethod)
Updates the authorization information acording to a received challenge.
|
createAuthorizationInfo, createAuthorizationInfo, getA1, getAddr, getAlgorith, 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
public static java.lang.String[] split(java.lang.String line)
public void updateAuthenticationInfo(Challenge challenge, java.lang.String authenticate, java.net.URI url, java.lang.String requestMethod) throws java.security.NoSuchAlgorithmException
AuthInfo
updateAuthenticationInfo
in class AuthInfo
challenge
- The received challengeauthenticate
- The authenticate header fieldurl
- The url of the CIM serverrequestMethod
- The HTTP request method (POST or MPOST)java.security.NoSuchAlgorithmException
public java.lang.String getHeaderFieldName()
AuthInfo
getHeaderFieldName
in class AuthInfo
public boolean isSentOnFirstRequest()
AuthInfo
isSentOnFirstRequest
in class AuthInfo
true
or false
public boolean isKeptAlive()
AuthInfo
isKeptAlive
in class AuthInfo
true
or false
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.