Codota Logo
ServerHttpSecurity$OAuth2LoginSpec.authenticationManager
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ServerHttpSecurity$OAuth2LoginSpec
private void myMethod () {
ServerHttpSecurity$OAuth2LoginSpec s =
  • Codota Iconnew OAuth2LoginSpec()
  • Codota IconServerHttpSecurity serverHttpSecurity;serverHttpSecurity.oauth2Login()
  • Smart code suggestions by Codota
}
origin: spring-projects/spring-security

@Bean
public SecurityWebFilterChain springSecurityFilter(ServerHttpSecurity http) {
  // @formatter:off
  http
    .authorizeExchange()
      .anyExchange().authenticated()
      .and()
    .oauth2Login()
      .authenticationConverter(authenticationConverter)
      .authenticationManager(authenticationManager());
  return http.build();
  // @formatter:on
}
origin: spring-projects/spring-security

  @Bean
  public SecurityWebFilterChain springSecurityFilter(ServerHttpSecurity http) {
    http
      .authorizeExchange()
        .anyExchange().authenticated()
        .and()
      .oauth2Login()
        .authenticationConverter(authenticationConverter)
        .authenticationManager(manager)
        .authenticationMatcher(matcher)
        .authorizationRequestResolver(resolver);
    return http.build();
  }
}
org.springframework.security.config.web.serverServerHttpSecurity$OAuth2LoginSpecauthenticationManager

Javadoc

Configures the ReactiveAuthenticationManager to use. The default is OAuth2AuthorizationCodeReactiveAuthenticationManager

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
  • getOidcUserService
  • getOauth2UserService,
  • getOidcUserService,
  • and,
  • authenticationConverter,
  • authenticationMatcher,
  • authorizationRequestResolver,
  • getAuthenticationMatcher,
  • getRedirectWebFilter

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getSystemService (Context)
  • String (java.lang)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JCheckBox (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now