Tabnine Logo
ServerHttpSecurity$OAuth2LoginSpec.getOidcUserService
Code IndexAdd Tabnine to your IDE (free)

How to use
getOidcUserService
method
in
org.springframework.security.config.web.server.ServerHttpSecurity$OAuth2LoginSpec

Best Java code snippets using org.springframework.security.config.web.server.ServerHttpSecurity$OAuth2LoginSpec.getOidcUserService (Showing top 3 results out of 315)

origin: spring-projects/spring-security

private ReactiveAuthenticationManager createDefault() {
  WebClientReactiveAuthorizationCodeTokenResponseClient client = new WebClientReactiveAuthorizationCodeTokenResponseClient();
  ReactiveAuthenticationManager result = new OAuth2LoginReactiveAuthenticationManager(client, getOauth2UserService());
  boolean oidcAuthenticationProviderEnabled = ClassUtils.isPresent(
      "org.springframework.security.oauth2.jwt.JwtDecoder", this.getClass().getClassLoader());
  if (oidcAuthenticationProviderEnabled) {
    OidcAuthorizationCodeReactiveAuthenticationManager oidc =
        new OidcAuthorizationCodeReactiveAuthenticationManager(client, getOidcUserService());
    ResolvableType type = ResolvableType.forClassWithGenerics(
        ReactiveJwtDecoderFactory.class, ClientRegistration.class);
    ReactiveJwtDecoderFactory<ClientRegistration> jwtDecoderFactory = getBeanOrNull(type);
    if (jwtDecoderFactory != null) {
      oidc.setJwtDecoderFactory(jwtDecoderFactory);
    }
    result = new DelegatingReactiveAuthenticationManager(oidc, result);
  }
  return result;
}
origin: org.springframework.security/spring-security-config

private ReactiveAuthenticationManager createDefault() {
  WebClientReactiveAuthorizationCodeTokenResponseClient client = new WebClientReactiveAuthorizationCodeTokenResponseClient();
  ReactiveAuthenticationManager result = new OAuth2LoginReactiveAuthenticationManager(client, getOauth2UserService());
  boolean oidcAuthenticationProviderEnabled = ClassUtils.isPresent(
      "org.springframework.security.oauth2.jwt.JwtDecoder", this.getClass().getClassLoader());
  if (oidcAuthenticationProviderEnabled) {
    OidcAuthorizationCodeReactiveAuthenticationManager oidc = new OidcAuthorizationCodeReactiveAuthenticationManager(client, getOidcUserService());
    result = new DelegatingReactiveAuthenticationManager(oidc, result);
  }
  return result;
}
origin: apache/servicemix-bundles

private ReactiveAuthenticationManager createDefault() {
  WebClientReactiveAuthorizationCodeTokenResponseClient client = new WebClientReactiveAuthorizationCodeTokenResponseClient();
  ReactiveAuthenticationManager result = new OAuth2LoginReactiveAuthenticationManager(client, getOauth2UserService());
  boolean oidcAuthenticationProviderEnabled = ClassUtils.isPresent(
      "org.springframework.security.oauth2.jwt.JwtDecoder", this.getClass().getClassLoader());
  if (oidcAuthenticationProviderEnabled) {
    OidcAuthorizationCodeReactiveAuthenticationManager oidc = new OidcAuthorizationCodeReactiveAuthenticationManager(client, getOidcUserService());
    result = new DelegatingReactiveAuthenticationManager(oidc, result);
  }
  return result;
}
org.springframework.security.config.web.serverServerHttpSecurity$OAuth2LoginSpecgetOidcUserService

Popular methods of ServerHttpSecurity$OAuth2LoginSpec

  • <init>
  • configure
  • createAttemptAuthenticationRequestMatcher
  • createDefault
  • getAuthenticationConverter
  • getAuthenticationManager
    Gets the ReactiveAuthenticationManager to use. First tries an explicitly configured manager, and def
  • getAuthorizedClientRepository
  • getAuthorizedClientService
  • getClientRegistrationRepository
  • getLinks
  • getOauth2UserService
  • and
    Allows method chaining to continue configuring the ServerHttpSecurity
  • getOauth2UserService,
  • and,
  • authenticationConverter,
  • authenticationManager,
  • authenticationMatcher,
  • authorizationRequestResolver,
  • getAuthenticationMatcher,
  • getRedirectWebFilter

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JCheckBox (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now