Class SecurityConfig.SecurityConfigVaadin

java.lang.Object
com.vaadin.flow.spring.security.VaadinWebSecurity
hu.rts.mike.example.dev.crm.security.SecurityConfig.SecurityConfigVaadin
Enclosing class:
SecurityConfig

@Configuration @Order(2) public class SecurityConfig.SecurityConfigVaadin extends com.vaadin.flow.spring.security.VaadinWebSecurity
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    private long
     
    private final org.springframework.security.core.userdetails.UserDetailsService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SecurityConfigVaadin(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    void
    configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
     
    org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     

    Methods inherited from class com.vaadin.flow.spring.security.VaadinWebSecurity

    addLogoutHandlers, antMatchers, applyUrlMapping, enableNavigationAccessControl, getAuthenticationContext, getDefaultHttpSecurityPermitMatcher, getDefaultHttpSecurityPermitMatcher, getDefaultWebSecurityIgnoreMatcher, getDefaultWebSecurityIgnoreMatcher, getNavigationAccessControl, getViewAccessChecker, routeMatchers, setLoginView, setLoginView, setLoginView, setLoginView, setOAuth2LoginPage, setStatelessAuthentication, setStatelessAuthentication, webSecurityCustomizer

    Methods inherited from class java.lang.Object

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

    • authSecret

      @Value("${jwt.auth.secret}") private String authSecret
    • expiresIn

      @Value("${jwt.auth.expires-in-sec}") private long expiresIn
    • userDetailsService

      private final org.springframework.security.core.userdetails.UserDetailsService userDetailsService
  • Constructor Details

    • SecurityConfigVaadin

      public SecurityConfigVaadin(@Qualifier("userDetailsService") org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
  • Method Details

    • filterChain

      @Bean(name="VaadinSecurityFilterChainBean") @Order(2) public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Overrides:
      filterChain in class com.vaadin.flow.spring.security.VaadinWebSecurity
      Throws:
      Exception
    • configure

      protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Overrides:
      configure in class com.vaadin.flow.spring.security.VaadinWebSecurity
      Throws:
      Exception
    • configure

      public void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) throws Exception
      Overrides:
      configure in class com.vaadin.flow.spring.security.VaadinWebSecurity
      Throws:
      Exception