Class JsonLoginFormCustomizer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>

java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<T,B>
org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H,JsonLoginFormCustomizer<H>,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter>
eu.rarogsoftware.rarog.platform.app.configuration.security.JsonLoginFormCustomizer<H>
All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H>

public final class JsonLoginFormCustomizer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>> extends org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H,JsonLoginFormCustomizer<H>,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.web.util.matcher.RequestMatcher
     
     
    void
    init(H http)
     
    loginPage(String loginPage)
     
     

    Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer

    authenticationDetailsSource, configure, defaultSuccessUrl, defaultSuccessUrl, failureHandler, failureUrl, getAuthenticationEntryPoint, getAuthenticationEntryPointMatcher, getAuthenticationFilter, getFailureUrl, getLoginPage, getLoginProcessingUrl, isCustomLoginPage, loginProcessingUrl, permitAll, permitAll, registerAuthenticationEntryPoint, registerDefaultAuthenticationEntryPoint, securityContextRepository, setAuthenticationFilter, successHandler, updateAccessDefaults, updateAuthenticationDefaults

    Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer

    disable, getSecurityContextHolderStrategy, withObjectPostProcessor

    Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter

    addObjectPostProcessor, and, getBuilder, postProcess, setBuilder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JsonLoginFormCustomizer

      public JsonLoginFormCustomizer()
  • Method Details

    • loginPage

      public JsonLoginFormCustomizer<H> loginPage(String loginPage)
      Overrides:
      loginPage in class org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,JsonLoginFormCustomizer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter>
    • failureForwardUrl

      public JsonLoginFormCustomizer<H> failureForwardUrl(String forwardUrl)
    • successForwardUrl

      public JsonLoginFormCustomizer<H> successForwardUrl(String forwardUrl)
    • init

      public void init(H http) throws Exception
      Specified by:
      init in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>
      Overrides:
      init in class org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,JsonLoginFormCustomizer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter>
      Throws:
      Exception
    • createLoginProcessingUrlMatcher

      protected org.springframework.security.web.util.matcher.RequestMatcher createLoginProcessingUrlMatcher(String loginProcessingUrl)
      Specified by:
      createLoginProcessingUrlMatcher in class org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>,JsonLoginFormCustomizer<H extends org.springframework.security.config.annotation.web.HttpSecurityBuilder<H>>,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter>