ナビゲーションリンクをスキップ
  • ホーム
  • 概要
  • パッケージ
  • クラス
  • ツリー
  • 非推奨
  • インデックス
  • ヘルプ

非推奨の API

内容

  • 最終的に非推奨
  • インターフェース
  • クラス
  • 例外
  • フィールド
  • メソッド
  • コンストラクター
  • 最終的に非推奨の要素
    要素
    説明
    org.springframework.ldap.filter.CompareFilter.encodeValue(String)
    コンストラクターにエンコードされた値を指定してください
    org.springframework.ldap.filter.CompareFilter.getCompareString()
    コンストラクターで演算子を指定してください
    org.springframework.ldap.filter.EqualsFilter.getCompareString()
    代わりに CompareFilter を継承してください
    org.springframework.ldap.filter.GreaterThanOrEqualsFilter.getCompareString()
    代わりに CompareFilter を継承してください
    org.springframework.ldap.filter.LessThanOrEqualsFilter.getCompareString()
    代わりに CompareFilter を継承してください
    org.springframework.ldap.filter.LikeFilter.encodeValue(String)
    代わりに CompareFilter を継承してください
  • 非推奨のインターフェース
    インターフェース
    説明
    org.springframework.ldap.core.DnParser
    DistinguishedName および関連するクラスは、2.0 で非推奨になりました。
    org.springframework.ldap.core.support.BaseLdapPathAware
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。代わりに BaseLdapNameAware を使用してください。
    org.springframework.ldap.odm.core.OdmManager
    この機能は、バージョン 2.0 以降の LdapTemplate で自動的に利用可能になります。
    org.springframework.ldap.odm.typeconversion.ConverterManager
    ConversionService を直接使用してください
    org.springframework.ldap.odm.typeconversion.impl.Converter
    Converter と ConversionService を直接使用してください
  • 非推奨のクラス
    クラス
    説明
    org.springframework.ldap.control.PagedResult
    org.springframework.ldap.control.PagedResultsRequestControl
    代わりに PagedResultsDirContextProcessor を使用してください。
    org.springframework.ldap.core.DefaultDnParserFactory
    DistinguishedName および関連するクラスは、2.0 で非推奨になりました。
    org.springframework.ldap.core.DistinguishedName
    2.0 では、代わりに LdapUtils のユーティリティメソッドと一緒に LdapNameSE を使用することをお勧めします。
    org.springframework.ldap.core.DistinguishedNameEditor
    DistinguishedName および関連するクラスは、2.0 で非推奨になりました。
    org.springframework.ldap.core.LdapRdn
    DistinguishedName および関連するクラスは、2.0 で非推奨になりました。
    org.springframework.ldap.core.LdapRdnComponent
    DistinguishedName および関連するクラスは、2.0 で非推奨になりました。
    org.springframework.ldap.odm.core.impl.OdmManagerImpl
    この機能は、バージョン 2.0 以降の LdapTemplate で自動的に利用可能になります。
    org.springframework.ldap.odm.core.impl.OdmManagerImplFactoryBean
    この機能は、バージョン 2.0 以降の LdapTemplate で自動的に利用可能になります。
    org.springframework.ldap.odm.typeconversion.impl.ConversionServiceConverterManager
    ConversionService を直接使用し、ConverterUtils と一緒に使用して Spring LDAP コンバーターを追加してください。
    org.springframework.ldap.odm.typeconversion.impl.ConverterManagerFactoryBean
    ConversionService を直接使用してください
    org.springframework.ldap.odm.typeconversion.impl.ConverterManagerImpl
    ConversionService を直接使用してください
    org.springframework.ldap.odm.typeconversion.impl.converters.FromStringConverter
    Converter を直接使用してください
    org.springframework.ldap.odm.typeconversion.impl.converters.ToStringConverter
    Converter と ConversionService を直接使用してください
    org.springframework.ldap.odm.typeconversion.impl.StringConverter
  • 非推奨の例外
    例外
    説明
    org.springframework.ldap.odm.typeconversion.ConverterException
    ConversionException を使用してください
  • 非推奨のフィールド
    フィールド
    説明
    org.springframework.ldap.core.support.AbstractContextSource.password
    代わりに AbstractContextSource.getPassword() と AbstractContextSource.setPassword(String) を使用してください
    org.springframework.ldap.core.support.AbstractContextSource.userDn
    代わりに AbstractContextSource.getUserDn() と AbstractContextSource.setUserDn(String) を使用してください
    org.springframework.ldap.core.support.DefaultDirObjectFactory.JNDI_ENV_BASE_PATH_KEY
    代わりに BaseLdapNameAware および BaseLdapPathBeanPostProcessor を使用してください。
  • 非推奨のメソッド
    メソッド
    説明
    org.springframework.ldap.core.LdapAttributes.getDN()
    and associated classes and methods are deprecated as of 2.0。代わりに LdapAttributes.getName() を使用してください。
    org.springframework.ldap.core.LdapAttributes.setDN(DistinguishedName)
    and associated classes and methods are deprecated as of 2.0。代わりに LdapAttributes.setName(javax.naming.Name) を使用してください。
    org.springframework.ldap.core.LdapEntryIdentification.getAbsoluteDn()
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。代わりに LdapEntryIdentification.getAbsoluteName() を使用してください。
    org.springframework.ldap.core.LdapEntryIdentification.getRelativeDn()
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。代わりに LdapEntryIdentification.getRelativeName() を使用してください。
    org.springframework.ldap.core.LdapOperations.authenticate(String, String, String)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(String, String, String, AuthenticatedLdapEntryContextCallback)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(String, String, String, AuthenticatedLdapEntryContextCallback, AuthenticationErrorCallback)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(String, String, String, AuthenticationErrorCallback)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(Name, String, String)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(Name, String, String, AuthenticatedLdapEntryContextCallback)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(Name, String, String, AuthenticatedLdapEntryContextCallback, AuthenticationErrorCallback)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapOperations.authenticate(Name, String, String, AuthenticationErrorCallback)
    LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String) または LdapOperations.authenticate(org.springframework.ldap.query.LdapQuery, String, AuthenticatedLdapEntryContextMapper) を使用
    org.springframework.ldap.core.LdapRdnComponent.setKey(String)
    このメソッドを使用すると、周囲の DistinguishedName インスタンスの内部状態が変更されます。これは避けるべきです。
    org.springframework.ldap.core.LdapRdnComponent.setValue(String)
    このメソッドを使用すると、周囲の DistinguishedName インスタンスの内部状態が変更されます。これは避けるべきです。
    org.springframework.ldap.core.SimpleCharStream.getColumn()
    org.springframework.ldap.core.SimpleCharStream.getLine()
    org.springframework.ldap.core.support.AbstractContextSource.getBaseLdapPath()
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。
    org.springframework.ldap.core.support.BaseLdapPathBeanPostProcessor.setBasePath(DistinguishedName)
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。
    org.springframework.ldap.core.support.BaseLdapPathSource.getBaseLdapPath()
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。代わりに BaseLdapPathSource.getBaseLdapName() を使用してください。
    org.springframework.ldap.core.support.ObservationContextSource.getBaseLdapPath()
    org.springframework.ldap.filter.CompareFilter.encodeValue(String)
    コンストラクターにエンコードされた値を指定してください
    org.springframework.ldap.filter.CompareFilter.getCompareString()
    コンストラクターで演算子を指定してください
    org.springframework.ldap.filter.EqualsFilter.getCompareString()
    代わりに CompareFilter を継承してください
    org.springframework.ldap.filter.GreaterThanOrEqualsFilter.getCompareString()
    代わりに CompareFilter を継承してください
    org.springframework.ldap.filter.LessThanOrEqualsFilter.getCompareString()
    代わりに CompareFilter を継承してください
    org.springframework.ldap.filter.LikeFilter.encodeValue(String)
    代わりに CompareFilter を継承してください
    org.springframework.ldap.odm.core.impl.DefaultObjectDirectoryMapper.setConverterManager(ConverterManager)
    代わりに DefaultObjectDirectoryMapper.setConversionService(org.springframework.core.convert.ConversionService) を使用してください
    org.springframework.ldap.test.LdapTestUtils.destroyApacheDirectoryServer(String, String)
    代わりに LdapTestUtils.shutdownEmbeddedServer() を使用してください。
    org.springframework.ldap.test.LdapTestUtils.startApacheDirectoryServer(int, String, String, String, String)
    代わりに LdapTestUtils.startEmbeddedServer(int, String, String) を使用してください。
    org.springframework.ldap.test.LdapTestUtils.startApacheDirectoryServer(int, String, String, String, String, Set)
    代わりに LdapTestUtils.startEmbeddedServer(int, String, String) を使用してください。
    org.springframework.ldap.test.unboundid.EmbeddedLdapServer.newEmbeddedServer(String, String, int)
    代わりに、EmbeddedLdapServer.withPartitionSuffix(String) 経由で公開されるビルダーパターンを使用します。
    org.springframework.ldap.test.unboundid.EmbeddedLdapServer.shutdown()
    代わりに EmbeddedLdapServer.close() を使用してください。
  • 非推奨のコンストラクター
    コンストラクター
    説明
    org.springframework.ldap.core.LdapEntryIdentification(DistinguishedName, DistinguishedName)
    DistinguishedName および関連するクラスとメソッドは、2.0 で非推奨になりました。代わりに LdapEntryIdentification(javax.naming.ldap.LdapName, javax.naming.ldap.LdapName) を使用してください。
    org.springframework.ldap.filter.CompareFilter(String, int)
    代わりに protected コンストラクターを使用してください
    org.springframework.ldap.filter.CompareFilter(String, String)
    代わりに protected コンストラクターを使用してください