org.apache.cxf.transport.http.auth
Class HttpAuthHeader
java.lang.Object
org.apache.cxf.transport.http.auth.HttpAuthHeader
public final class HttpAuthHeader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
HttpAuthHeader
public HttpAuthHeader(String fullHeader)
HttpAuthHeader
public HttpAuthHeader(String authType,
Map<String,String> params)
getRealm
public String getRealm()
- Extracts the authorization realm from the
"WWW-Authenticate" Http response header.
- Parameters:
authenticate
- content of the WWW-Authenticate 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()
getParams
public Map<String,String> getParams()
Apache CXF