Klasse MonitorSecurityConfig

java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
de.dlr.proseo.monitor.MonitorSecurityConfig
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 MonitorSecurityConfig extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Security configuration for prosEO Planner module
Autor:
Ernst Melchinger
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Set the Ingestor security options
    void
    initialize(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder builder)
    Initialize the users, passwords and roles for the ProductClassManager from the prosEO database
    org.springframework.security.crypto.password.PasswordEncoder
    Provides the default password encoder for prosEO (BCrypt)
    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 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

    authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsServiceBean

    Von Klasse geerbte Methoden java.lang.Object

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

    • MonitorSecurityConfig

      public MonitorSecurityConfig()
  • Methodendetails

    • configure

      protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Set the Ingestor security options
      Setzt außer Kraft:
      configure in Klasse org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      Parameter:
      http - the HTTP security object
      Löst aus:
      Exception
    • initialize

      @Autowired public void initialize(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder builder) throws Exception
      Initialize the users, passwords and roles for the ProductClassManager from the prosEO database
      Parameter:
      builder - to manage authentications
      Löst aus:
      Exception - if anything goes wrong with JDBC authentication
    • passwordEncoder

      @Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
      Provides the default password encoder for prosEO (BCrypt)
      Gibt zurück:
      a BCryptPasswordEncoder
    • userDetailsService

      @Bean public 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)
      Setzt außer Kraft:
      userDetailsService in Klasse org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      Gibt zurück:
      a JdbcDaoImpl object