com.atlassian.stash.auth.HttpAuthenticationContext |
Known Indirect Subclasses |
Context class holding all details relevant for authentication processing by HttpAuthenticationHandler
modules.
Please note that the HTTP authentication APIs are currently considered to be BETA and are expected to change slightly in future releases. Breaking API changes will be avoided where possible, but may happen.
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.