Class TrustManagerFactoryFactoryBean


  • @Deprecated(since="2022-01-27")
    public class TrustManagerFactoryFactoryBean
    extends java.lang.Object
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    A factory bean for a JSSE TrustManagerFactory.

    This object holds the configurable properties of a trust manager factory and uses them to create and load a TrustManagerFactory instance.

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      javax.net.ssl.TrustManagerFactory createTrustManagerFactory()
      Deprecated.
      Creates a TrustManagerFactory using the receiver's configuration.
      java.lang.String getAlgorithm()
      Deprecated.
      Gets the algorithm name for the trust manager factory.
      java.lang.String getProvider()
      Deprecated.
      Gets the JSSE provider name for the trust manager factory.
      void setAlgorithm​(java.lang.String algorithm)
      Deprecated.
      Sets the algorithm name for the trust manager factory.
      void setProvider​(java.lang.String provider)
      Deprecated.
      Sets the JSSE provider name for the trust manager factory.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrustManagerFactoryFactoryBean

        public TrustManagerFactoryFactoryBean()
        Deprecated.
    • Method Detail

      • createTrustManagerFactory

        public javax.net.ssl.TrustManagerFactory createTrustManagerFactory()
                                                                    throws java.security.NoSuchProviderException,
                                                                           java.security.NoSuchAlgorithmException
        Deprecated.
        Creates a TrustManagerFactory using the receiver's configuration.
        Returns:
        factory object
        Throws:
        java.security.NoSuchProviderException - if the provider specified by setProvider(String) is not known to the platform
        java.security.NoSuchAlgorithmException - if the algorithm specified by setAlgorithm(String) is not known to the specified provider (or to the default platform provider if no provider is specified)
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Deprecated.
        Gets the algorithm name for the trust manager factory.
        Returns:
        algorithm name (e.g. PKIX); the default algorithm (obtained from TrustManagerFactory.getDefaultAlgorithm()) is returned if no algorithm has been configured
      • setAlgorithm

        public void setAlgorithm​(java.lang.String algorithm)
        Deprecated.
        Sets the algorithm name for the trust manager factory.
        Parameters:
        algorithm - an algorithm name, which must be recognized by the provider specified by setProvider(String) or by the platform's default provider if no provider is specified.
      • getProvider

        public java.lang.String getProvider()
        Deprecated.
        Gets the JSSE provider name for the trust manager factory.
        Returns:
        provider name
      • setProvider

        public void setProvider​(java.lang.String provider)
        Deprecated.
        Sets the JSSE provider name for the trust manager factory.
        Parameters:
        provider - name of the JSSE provider to utilize in creating the trust manager factory