public interface HttpAuthenticationContext
HttpAuthenticationHandler
modules.| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_BASIC
BASIC authentication.
|
static String |
METHOD_FORM
FORM-based authentication.
|
static String |
METHOD_TOKEN
Authentication based on some kind of token (not username/password based).
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials() |
javax.servlet.FilterChain |
getFilterChain() |
String |
getMethod() |
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
String |
getUsername() |
static final String METHOD_BASIC
static final String METHOD_FORM
static final String METHOD_TOKEN
@Nonnull javax.servlet.FilterChain getFilterChain()
FilterChain for the authentication request.@Nonnull javax.servlet.http.HttpServletRequest getRequest()
@Nonnull javax.servlet.http.HttpServletResponse getResponse()
@Nullable String getUsername()
null if no username was provided. The provided username may be
different to the authenticated user's username, for example when using OAuth authentication.@Nullable Object getCredentials()
null if no credentials were provided.@Nonnull String getMethod()
METHOD_BASIC, METHOD_FORM or
METHOD_TOKEN.Copyright © 2022 Atlassian. All rights reserved.