public class AuthScheme
Contains the standard auth schemes.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
Basic
Basic Authentication described in the RFC-7617
|
static java.lang.String |
Digest
Digest Authentication described in the RFC-2069:
|
static AuthScheme |
INSTANCE
Contains the standard auth schemes.
|
static java.lang.String |
Negotiate
Described in the RFC-4599:
|
static java.lang.String |
OAuth
OAuth Authentication described in the RFC-6749:
|
public static java.lang.String Basic
Basic Authentication described in the RFC-7617
response = base64("$user:$password")
see https://tools.ietf.org/html/rfc7617)
public static java.lang.String Digest
Digest Authentication described in the RFC-2069:
HA1 = MD5("$username:$realm:$password") // What's usually stored
HA2 = MD5("$method:$digestURI")
response = MD5("$HA1:$nonce:$HA2") // The client and the server sends and checks this.
see https://tools.ietf.org/html/rfc2069
public static java.lang.String Negotiate
Described in the RFC-4599:
see https://www.ietf.org/rfc/rfc4559.txt
public static java.lang.String OAuth
OAuth Authentication described in the RFC-6749:
see https://tools.ietf.org/html/rfc6749
public static AuthScheme INSTANCE
Contains the standard auth schemes.