Package de.dlr.proseo.api.aipclient
Klasse AipClientSecurityConfig
java.lang.Object
de.dlr.proseo.api.aipclient.AipClientSecurityConfig
Security configuration for prosEO AIP Client component
- Autor:
- Dr. Thomas Bassler
-
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) Set the AIP client security optionsString[]
parseAuthenticationHeader
(String authHeader) Parse an HTTP authentication header into username and password(Package privat) org.springframework.security.crypto.password.PasswordEncoder
Provides the default password encoder for prosEO (BCrypt)(Package privat) org.springframework.security.core.userdetails.UserDetailsService
Provides the default user details service for prosEO (based on the standard data model for users and groups)
-
Konstruktordetails
-
AipClientSecurityConfig
public AipClientSecurityConfig()
-
-
Methodendetails
-
parseAuthenticationHeader
Parse an HTTP authentication header into username and password- Parameter:
authHeader
- the authentication header to parse- Gibt zurück:
- a string array containing the username and the password
- Löst aus:
IllegalArgumentException
- if the authentication header cannot be parsed
-
filterChain
@Bean org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Set the AIP client security options- 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)- Gibt zurück:
- a BCryptPasswordEncoder
-
userDetailsService
@Bean org.springframework.security.core.userdetails.UserDetailsService userDetailsService()Provides the default user details service for prosEO (based on the standard data model for users and groups)- Gibt zurück:
- a JdbcDaoImpl object
-