Class NotificationSecurityConfig

java.lang.Object
de.dlr.proseo.notification.NotificationSecurityConfig

@Configuration @EnableWebSecurity public class NotificationSecurityConfig extends Object
Configures the security settings for the notification system in a Java application using the Spring Security framework.
Author:
Ernst Melchinger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Configures the HTTP security for the application, defining which requests should be allowed or denied
    (package private) org.springframework.security.crypto.password.PasswordEncoder
    Provides the default password encoder for prosEO (BCrypt) for hashing and verifying passwords

    Methods inherited from class java.lang.Object

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

    • NotificationSecurityConfig

      public NotificationSecurityConfig()
  • Method Details

    • filterChain

      @Bean org.springframework.security.web.SecurityFilterChain filterChain(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
      Parameters:
      http - the HTTP security object
      Throws:
      Exception
    • passwordEncoder

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