Package de.dlr.proseo.notification
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 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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 deniedorg.springframework.security.crypto.password.PasswordEncoder
Provides the default password encoder for prosEO (BCrypt) for hashing and verifying passwordsVon 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
-
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 Klasseorg.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
-