Class HttpAuthHeader
- java.lang.Object
-
- org.apache.cxf.transport.http.auth.HttpAuthHeader
-
public final class HttpAuthHeader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTH_TYPE_BASICstatic StringAUTH_TYPE_DIGESTstatic StringAUTH_TYPE_NEGOTIATE
-
Constructor Summary
Constructors Constructor Description HttpAuthHeader(String fullHeader)HttpAuthHeader(String authType, Map<String,String> params)HttpAuthHeader(List<String> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthTypeIsBasic()booleanauthTypeIsDigest()booleanauthTypeIsNegotiate()StringgetAuthType()StringgetFullContent()StringgetFullHeader()Map<String,String>getParams()StringgetRealm()Extracts the authorization realm from the "WWW-Authenticate" Http response header.
-
-
-
Field Detail
-
AUTH_TYPE_BASIC
public static final String AUTH_TYPE_BASIC
- See Also:
- Constant Field Values
-
AUTH_TYPE_DIGEST
public static final String AUTH_TYPE_DIGEST
- See Also:
- Constant Field Values
-
AUTH_TYPE_NEGOTIATE
public static final String AUTH_TYPE_NEGOTIATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRealm
public String getRealm()
Extracts the authorization realm from the "WWW-Authenticate" Http response header.- Returns:
- The realm, or null if it is non-existent.
-
authTypeIsDigest
public boolean authTypeIsDigest()
-
authTypeIsBasic
public boolean authTypeIsBasic()
-
authTypeIsNegotiate
public boolean authTypeIsNegotiate()
-
getAuthType
public String getAuthType()
-
getFullContent
public String getFullContent()
-
getFullHeader
public String getFullHeader()
-
-