public final class OidcProvider extends SynchronousProvider implements AuthenticationProvider, OutboundSecurityProvider
| Modifier and Type | Method and Description |
|---|---|
static OidcProvider |
create(OidcConfig config)
Create a new provider based on OIDC configuration.
|
static OidcProvider |
fromConfig(Config config)
Load this provider from configuration.
|
java.util.Collection<java.lang.Class<? extends java.lang.annotation.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 fromConfig(Config config)
config - configuration of this providerpublic static OidcProvider create(OidcConfig config)
config - config of OIDC server and clientpublic java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedAnnotations()
SecurityProviderRolesAllowed).
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.getAnnotations(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, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.