Klasse SpringSecurityConfig

java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
de.dlr.proseo.ui.gui.SpringSecurityConfig
Alle implementierten Schnittstellen:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>, org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>

@Configuration @EnableWebSecurity public class SpringSecurityConfig extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Configuration class for Spring Security. Enables web security and provides customization for authentication and authorization. Extends WebSecurityConfigurerAdapter to override default configurations. Configures the authentication filter, URL permissions, login and logout pages, and CSRF protection. Uses a GUIAuthenticationProvider for authentication.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected void
    configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
    Configures the authentication manager builder to use the GUIAuthenticationProvider for authentication.
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Configures the HTTP security settings, including the authentication filter, URL permissions, login and logout pages, and CSRF protection.

    Von Klasse geerbte Methoden org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

    authenticationManager, authenticationManagerBean, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • SpringSecurityConfig

      public SpringSecurityConfig()
  • Methodendetails

    • configure

      protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Configures the HTTP security settings, including the authentication filter, URL permissions, login and logout pages, and CSRF protection.
      Setzt außer Kraft:
      configure in Klasse org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      Parameter:
      http - the HttpSecurity object to be configured
      Löst aus:
      Exception - if an error occurs during configuration
    • configure

      protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws Exception
      Configures the authentication manager builder to use the GUIAuthenticationProvider for authentication.
      Setzt außer Kraft:
      configure in Klasse org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      Parameter:
      auth - the AuthenticationManagerBuilder object to be configured
      Löst aus:
      Exception - if an error occurs during configuration