Package | Description |
---|---|
javax.security.enterprise |
The main Java EE Security API package.
|
javax.security.enterprise.authentication.mechanism.http |
The HTTP authentication mechanism API package.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationStatus |
SecurityContext.authenticate(HttpServletRequest request,
HttpServletResponse response,
AuthenticationParameters parameters)
Signal to the container (programmatically trigger) that it should start or continue a web/HTTP based authentication dialog with
the caller.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationParameters |
AuthenticationParameters.credential(Credential credential)
Sets the credential to be used by the authentication mechanism responding
to the authenticate call in which these AuthenticationParameters are passed.
|
AuthenticationParameters |
HttpMessageContextWrapper.getAuthParameters() |
AuthenticationParameters |
HttpMessageContext.getAuthParameters()
Returns the parameters that were provided with the SecurityContext#authenticate(AuthParameters) call.
|
AuthenticationParameters |
AuthenticationParameters.newAuthentication(boolean newAuthentication)
Signal to the authentication mechanism responding to the authenticate call in which these
AuthenticationParameters are passed, that an explicit new authentication dialog is required, as opposed to
continuing a potentially existing one.
|
AuthenticationParameters |
AuthenticationParameters.rememberMe(boolean rememberMe)
Signals that for this call to the authentication mechanism "remember me" should be applied, IFF the
"remember me" feature is configured for the authentication mechanism responding to the authenticate call.
|
static AuthenticationParameters |
AuthenticationParameters.withParams()
Creates a new instance of AuthenticationParameters, useful for a fluent/builder
style creation of parameters.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.