Class FixedDefaultSpringSecurityContextSource

java.lang.Object
org.springframework.ldap.core.support.AbstractContextSource
org.springframework.ldap.core.support.LdapContextSource
org.springframework.security.ldap.DefaultSpringSecurityContextSource
jenkins.security.plugins.ldap.FixedDefaultSpringSecurityContextSource
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.ldap.core.ContextSource, org.springframework.ldap.core.support.BaseLdapPathContextSource, org.springframework.ldap.core.support.BaseLdapPathSource

public class FixedDefaultSpringSecurityContextSource extends org.springframework.security.ldap.DefaultSpringSecurityContextSource
DefaultSpringSecurityContextSource with a workaround for https://github.com/spring-projects/spring-security/issues/9742
  • Field Summary

    Fields inherited from class org.springframework.security.ldap.DefaultSpringSecurityContextSource

    logger

    Fields inherited from class org.springframework.ldap.core.support.AbstractContextSource

    password, SUN_LDAP_POOLING_FLAG, userDn
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.springframework.ldap.core.support.LdapContextSource

    getDirContextInstance

    Methods inherited from class org.springframework.ldap.core.support.AbstractContextSource

    afterPropertiesSet, assembleProviderUrlString, createContext, getAnonymousEnv, getAuthenticatedEnv, getAuthenticationSource, getBaseLdapName, getBaseLdapPath, getBaseLdapPathAsString, getContext, getContextFactory, getDirObjectFactory, getPassword, getReadOnlyContext, getReadWriteContext, getUrls, getUserDn, isAnonymousReadOnly, isPooled, setAnonymousReadOnly, setAuthenticationSource, setAuthenticationStrategy, setBaseEnvironmentProperties, setCacheEnvironmentProperties, setContextFactory, setDirObjectFactory, setPassword, setPooled, setReferral, setupAuthenticatedEnvironment, setUrl, setUrls, setUserDn

    Methods inherited from class java.lang.Object

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

    • FixedDefaultSpringSecurityContextSource

      public FixedDefaultSpringSecurityContextSource(String providerUrl)
  • Method Details

    • setBase

      public void setBase(String base)
      Overrides:
      setBase in class org.springframework.ldap.core.support.AbstractContextSource