Package de.dlr.proseo.notification
Klasse 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.
- Autor:
- Ernst Melchinger
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung(Package privat) 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 privat) org.springframework.security.crypto.password.PasswordEncoder
Provides the default password encoder for prosEO (BCrypt) for hashing and verifying passwords
-
Konstruktordetails
-
NotificationSecurityConfig
public NotificationSecurityConfig()
-
-
Methodendetails
-
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- Parameter:
http
- the HTTP security object- Löst aus:
Exception
-
passwordEncoder
@Bean 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
-