public class PegasusLocalAuthInfo extends AuthorizationInfo
Constructor | Description |
---|---|
PegasusLocalAuthInfo() |
Default ctor.
|
Modifier and Type | Method | 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
|
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, setURI
public void updateAuthenticationInfo(Challenge challenge, java.lang.String authenticate, java.net.URI url, java.lang.String requestMethod)
AuthorizationInfo
updateAuthenticationInfo
in class AuthorizationInfo
challenge
- authenticate
- url
- requestMethod
- public java.lang.String toString()
toString
in class AuthorizationInfo
public java.lang.String getHeaderFieldName()
AuthorizationInfo
getHeaderFieldName
in class AuthorizationInfo
public boolean isSentOnFirstRequest()
AuthorizationInfo
isSentOnFirstRequest
in class AuthorizationInfo
true
or false
public boolean isKeptAlive()
AuthorizationInfo
isKeptAlive
in class AuthorizationInfo
true
or false
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.