Package de.dlr.proseo.ordermgr
Class OrdermgrSecurityConfig
java.lang.Object
de.dlr.proseo.ordermgr.OrdermgrSecurityConfig
Security configuration for prosEO OrderManager module
- Author:
- Ranjitha Vignesh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.security.web.SecurityFilterChainfilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Set the order manager's security options(package private) org.springframework.security.crypto.password.PasswordEncoderProvides the default password encoder for prosEO (BCrypt)(package private) org.springframework.security.core.userdetails.UserDetailsServiceProvides the default user details service for prosEO (based on the standard data model for users and groups)
-
Constructor Details
-
OrdermgrSecurityConfig
public OrdermgrSecurityConfig()
-
-
Method Details
-
filterChain
@Bean org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Set the order manager's security options- 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)- Returns:
- 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)- Returns:
- a JdbcDaoImpl object
-