com.atlassian.bitbucket.auth.HttpAuthenticationContext |
Known Indirect Subclasses |
Context class holding all details relevant for authentication processing by HttpAuthenticationHandler
modules.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | METHOD_BASIC | BASIC authentication. | |||||||||
String | METHOD_FORM | FORM-based authentication. | |||||||||
String | METHOD_TOKEN | Authentication based on some kind of token (not username/password based). |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BASIC authentication.
FORM-based authentication.
Authentication based on some kind of token (not username/password based).
null
if no credentials were provided.
METHOD_BASIC
, METHOD_FORM
or
METHOD_TOKEN
.
null
if no username was provided. The provided username may be
different to the authenticated user's username, for example when using OAuth authentication.