public class WwwAuthInfo extends AuthorizationInfo
| 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 pLine)
Splits a comma-separated string into multiple substrings
|
java.lang.String |
toString() |
void |
updateAuthenticationInfo(Challenge challenge,
java.lang.String authenticate,
java.net.URI url,
java.lang.String requestMethod)
Updates the authorization information according to a received challenge.
|
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, setURIpublic java.lang.String toString()
toString in class AuthorizationInfopublic static java.lang.String[] split(java.lang.String pLine)
pLine - The comma-separated stringpublic void updateAuthenticationInfo(Challenge challenge, java.lang.String authenticate, java.net.URI url, java.lang.String requestMethod) throws java.security.NoSuchAlgorithmException
AuthorizationInfoupdateAuthenticationInfo in class AuthorizationInfoauthenticate - challenge - The received challengeurl - The url of the CIM serverrequestMethod - The HTTP request method (POST or MPOST)java.security.NoSuchAlgorithmExceptionpublic java.lang.String getHeaderFieldName()
AuthorizationInfogetHeaderFieldName in class AuthorizationInfopublic boolean isSentOnFirstRequest()
AuthorizationInfoisSentOnFirstRequest in class AuthorizationInfotrue or falsepublic boolean isKeptAlive()
AuthorizationInfoisKeptAlive in class AuthorizationInfotrue or falseCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.