Package de.dlr.proseo.notification
Class NotificationSecurityConfig
java.lang.Object
de.dlr.proseo.notification.NotificationSecurityConfig
Configures the security settings for the notification system in a Java application using the Spring Security framework.
- Author:
- Ernst Melchinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.security.web.SecurityFilterChainfilterChain(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.PasswordEncoderProvides the default password encoder for prosEO (BCrypt) for hashing and verifying passwords
-
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
-