@Typed(value=OpenIdAuthenticationMechanism.class) public class OpenIdAuthenticationMechanism extends Object implements javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
Constructor and Description |
---|
OpenIdAuthenticationMechanism()
Creates an
OpenIdAuthenticationMechanism . |
OpenIdAuthenticationMechanism(OpenIdAuthenticationDefinition definition)
Creates an
OpenIdAuthenticationMechanism that has been defined
using an annotation |
Modifier and Type | Method and Description |
---|---|
OpenIdAuthenticationMechanism |
setConfiguration(OpenIdAuthenticationDefinition definition)
Sets the properties of the
OpenIdAuthenticationMechanism as
defined in an OpenIdAuthenticationDefinition annotation or using
MP Config source. |
javax.security.enterprise.AuthenticationStatus |
validateRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpContext) |
public OpenIdAuthenticationMechanism()
OpenIdAuthenticationMechanism
.
If this constructor is used then {@link #setConfiguration(OpenIdAuthenticationDefinition) must be called before any requests are validated.
public OpenIdAuthenticationMechanism(OpenIdAuthenticationDefinition definition)
OpenIdAuthenticationMechanism
that has been defined
using an annotationdefinition
- public OpenIdAuthenticationMechanism setConfiguration(OpenIdAuthenticationDefinition definition)
OpenIdAuthenticationMechanism
as
defined in an OpenIdAuthenticationDefinition
annotation or using
MP Config source. MP Config take precedence over
OpenIdAuthenticationDefinition
annotation valuedefinition
- public javax.security.enterprise.AuthenticationStatus validateRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpContext) throws javax.security.enterprise.AuthenticationException
validateRequest
in interface javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
javax.security.enterprise.AuthenticationException
Copyright © 2020. All rights reserved.