Class JwtGlobalAuthenticationConfigurerAdapter

java.lang.Object
org.springframework.security.config.annotation.authentication.configuration.GlobalAuthenticationConfigurerAdapter
com.atlassian.connect.spring.internal.auth.jwt.JwtGlobalAuthenticationConfigurerAdapter
All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>

@Configuration public class JwtGlobalAuthenticationConfigurerAdapter extends org.springframework.security.config.annotation.authentication.configuration.GlobalAuthenticationConfigurerAdapter
A configuration class responsible for registering a JwtAuthenticationProvider without interfering with auto-configured Basic authentication support.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JwtGlobalAuthenticationConfigurerAdapter(AddonDescriptorLoader addonDescriptorLoader, AtlassianHostRepository hostRepository, org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder)
     

    Methods inherited from class org.springframework.security.config.annotation.authentication.configuration.GlobalAuthenticationConfigurerAdapter

    configure

    Methods inherited from class java.lang.Object

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

    • JwtGlobalAuthenticationConfigurerAdapter

      public JwtGlobalAuthenticationConfigurerAdapter(AddonDescriptorLoader addonDescriptorLoader, AtlassianHostRepository hostRepository, org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoder)
  • Method Details

    • init

      public void init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception
      Specified by:
      init in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>
      Overrides:
      init in class org.springframework.security.config.annotation.authentication.configuration.GlobalAuthenticationConfigurerAdapter
      Throws:
      Exception