Klasse AipClientSecurityConfig

java.lang.Object
de.dlr.proseo.api.aipclient.AipClientSecurityConfig

@Configuration @EnableWebSecurity public class AipClientSecurityConfig extends Object
Security configuration for prosEO AIP Client component
Autor:
Dr. Thomas Bassler
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    (Package privat) org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Set the AIP client security options
    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)

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • AipClientSecurityConfig

      public AipClientSecurityConfig()
  • Methodendetails

    • parseAuthenticationHeader

      public String[] parseAuthenticationHeader(String authHeader) throws IllegalArgumentException
      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