public final class OidcProvider extends SynchronousProvider implements AuthenticationProvider, OutboundSecurityProvider
| Modifier and Type | Method and Description |
|---|---|
static OidcProvider |
create(Config config)
Load this provider from configuration.
|
static OidcProvider |
create(OidcConfig config)
Create a new provider based on OIDC configuration.
|
Collection<Class<? extends Annotation>> |
supportedAnnotations()
Provide extension annotations supported by this provider (e.g.
|
protected AuthenticationResponse |
syncAuthenticate(ProviderRequest providerRequest)
Synchronous authentication.
|
authenticate, authorize, outboundSecurity, syncAuthorize, syncOutboundclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticateisOutboundSupported, outboundSecuritysupportedAttributes, supportedConfigKeys, supportedCustomObjectspublic static OidcProvider create(Config config)
config - configuration of this providerpublic static OidcProvider create(OidcConfig config)
config - config of OIDC server and clientpublic Collection<Class<? extends Annotation>> supportedAnnotations()
SecurityProviderjavax.annotation.security.RolesAllowed).
Annotations will be collected according to framework in use. For JAX-RS, annotations from application class, resource
class and resource methods will be collected.supportedAnnotations in interface SecurityProviderEndpointConfig.annotations(EndpointConfig.AnnotationScope...),
EndpointConfig.combineAnnotations(Class, EndpointConfig.AnnotationScope...)protected AuthenticationResponse syncAuthenticate(ProviderRequest providerRequest)
SynchronousProvidersyncAuthenticate in class SynchronousProviderproviderRequest - context with environment, subject(s) etc.AuthenticationProvider.authenticate(ProviderRequest)Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.