Class PegasusLocalAuthInfo
java.lang.Object
org.sblim.cimclient.internal.http.AuthorizationInfo
org.sblim.cimclient.internal.http.PegasusLocalAuthInfo
Implements OpenPegasus local authentication
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the HTTP header field name for this authentication informationboolean
Determines if the connection is kept alive after the "401 Unauthorized" responseboolean
Determines if the authorization information is already sent on the very first http request or after the "401 Unauthorized" responsetoString()
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
-
Constructor Details
-
PegasusLocalAuthInfo
public PegasusLocalAuthInfo()Default ctor.
-
-
Method Details
-
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 classAuthorizationInfo
- Parameters:
challenge
-authenticate
-url
-requestMethod
-
-
toString
- Specified by:
toString
in classAuthorizationInfo
-
getHeaderFieldName
Description copied from class:AuthorizationInfo
Gets the HTTP header field name for this authentication information- Specified by:
getHeaderFieldName
in classAuthorizationInfo
- 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 classAuthorizationInfo
- Returns:
true
orfalse
-
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 classAuthorizationInfo
- Returns:
true
orfalse
-