Class OAuth2SecurityConfiguration

java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
org.ehrbase.application.config.security.OAuth2SecurityConfiguration
All Implemented Interfaces:
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>

@Deprecated @Configuration @EnableWebSecurity @ConditionalOnProperty(prefix="security", name="auth-type", havingValue="oauth") public class OAuth2SecurityConfiguration extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Deprecated.
Configuration for OAuth2 authentication.
Since:
1.0.0
Author:
Jake Smolka
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     
    static final String
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    OAuth2SecurityConfiguration(SecurityProperties securityProperties, org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties oAuth2Properties, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties managementWebEndpointProperties)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Deprecated.
     
    void
    Deprecated.
     

    Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • OAuth2SecurityConfiguration

      public OAuth2SecurityConfiguration(SecurityProperties securityProperties, org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerProperties oAuth2Properties, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties managementWebEndpointProperties)
      Deprecated.
  • Method Details

    • initialize

      @PostConstruct public void initialize()
      Deprecated.
    • configure

      protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Deprecated.
      Overrides:
      configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      Throws:
      Exception