final class SpnegoAuthScheme extends Object
See examples and tutorials at http://spnego.sourceforge.net
| Modifier and Type | Field and Description |
|---|---|
private boolean |
basicScheme
true if Basic Auth scheme.
|
private static byte[] |
EMPTY_BYTE_ARRAY
Zero length byte array.
|
private boolean |
negotiateScheme
true if Negotiate scheme.
|
private boolean |
ntlm
true if NTLM token.
|
private String |
scheme
HTTP (Request) "Authorization" Header scheme.
|
private String |
token
HTTP (Request) scheme token.
|
| Constructor and Description |
|---|
SpnegoAuthScheme(String authScheme,
String authToken) |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
getScheme()
Returns HTTP Authorization scheme.
|
(package private) byte[] |
getToken()
Returns a copy of byte[].
|
(package private) boolean |
isBasicScheme()
Returns true if this SpnegoAuthScheme is of type "Basic".
|
(package private) boolean |
isNegotiateScheme()
Returns true if this SpnegoAuthScheme is of type "Negotiate".
|
(package private) boolean |
isNtlmToken()
Returns true if NTLM.
|
private static final transient byte[] EMPTY_BYTE_ARRAY
private final transient boolean basicScheme
private final transient boolean negotiateScheme
private final transient boolean ntlm
SpnegoAuthScheme(String authScheme, String authToken)
authScheme - authToken - boolean isBasicScheme()
boolean isNegotiateScheme()
boolean isNtlmToken()
byte[] getToken()