Klasse NotificationSecurityConfig

java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
de.dlr.proseo.notification.NotificationSecurityConfig
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 NotificationSecurityConfig extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Configures the security settings for the notification system in a Java application using the Spring Security framework.
Autor:
Ernst Melchinger
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Configures the HTTP security for the application, defining which requests should be allowed or denied
    org.springframework.security.crypto.password.PasswordEncoder
    Provides the default password encoder for prosEO (BCrypt) for hashing and verifying passwords

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

    authenticationManager, authenticationManagerBean, configure, 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

    • NotificationSecurityConfig

      public NotificationSecurityConfig()
  • Methodendetails

    • configure

      protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Configures the HTTP security for the application, defining which requests should be allowed or denied
      Setzt außer Kraft:
      configure in Klasse org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      Parameter:
      http - the HTTP security object
      Löst aus:
      Exception
    • passwordEncoder

      @Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
      Provides the default password encoder for prosEO (BCrypt) for hashing and verifying passwords
      Gibt zurück:
      a BCryptPasswordEncoder