public class WebCredentialPresenter extends Object implements CredentialPresenter
Uses the following securityMap items:
The sole instance of this singleton class is INSTANCE.
CredentialPresenter.Presentation| Modifier and Type | Field and Description |
|---|---|
static WebCredentialPresenter |
INSTANCE
Singleton instance.
|
static String |
ORIGIN_HDR
Origin header.
|
static String |
REFERER_HDR
Referer header.
|
| Modifier and Type | Method and Description |
|---|---|
CredentialPresenter.Presentation |
createPresentation(HttpServer.Request request,
Map securityMap,
AuthResourceBundle.Content authContent)
Returns an object which contains user-directed credential messages,
given available information from the registration request.
|
public static final WebCredentialPresenter INSTANCE
public static final String ORIGIN_HDR
public static final String REFERER_HDR
public CredentialPresenter.Presentation createPresentation(HttpServer.Request request, Map securityMap, AuthResourceBundle.Content authContent) throws SampException
CredentialPresentercreatePresentation in interface CredentialPresenterrequest - HTTP request associated with the registration requestsecurityMap - information explicitly supplied by the aspiring
client in support of its application to registerauthContent - content of AuthResourceBundle bundleSampException - if credentials should definitely not be acceptedCopyright © 2008–2024. All rights reserved.