Class KeyStoreFactoryBean


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

    This object holds the configurable properties of a key store and uses them to create and load a KeyStore instance.

    • Constructor Detail

      • KeyStoreFactoryBean

        public KeyStoreFactoryBean()
        Deprecated.
    • Method Detail

      • getLocation

        public String getLocation()
        Deprecated.
        Gets the location of the key store resource.
        Returns:
        a String containing a URL for the resource
      • setLocation

        public void setLocation​(String location)
        Deprecated.
        Sets the location of the key store resource.
        Parameters:
        location - a String containing a URL for the resource; if the URL string isn't prefixed by a scheme, the path is assumed to be relative to the root of the classpath.
      • getType

        public String getType()
        Deprecated.
        Gets the type of key store to load.
        Returns:
        a key store type name (e.g. JKS); the SSL.DEFAULT_KEYSTORE_TYPE is returned if no type has been configured
      • setType

        public void setType​(String type)
        Deprecated.
        Sets the type of key store to load.
        Parameters:
        type - a key store type name (e.g. JKS, PKCS12); the type specified must be supported by the provider specified by setProvider(String) or by the platform's default provider if no provider is specified
      • getProvider

        public String getProvider()
        Deprecated.
        Gets the JCA key store provider name.
        Returns:
        provider name or null if no provider has been configured
      • setProvider

        public void setProvider​(String provider)
        Deprecated.
        Sets the JCA key store provider name.
        Parameters:
        provider - name of the JCA provider to utilize in creating the key store
      • getPassword

        public String getPassword()
        Deprecated.
        Gets the password to use to access the key store.
        Returns:
        password string; the SSL.DEFAULT_KEYSTORE_PASSWORD is returned if no password has been configured
      • setPassword

        public void setPassword​(String password)
        Deprecated.
        Sets the password to use to access the keystore.
        Parameters:
        password - the password to set