Class KeyStoreConfigProperties


  • @Configuration
    @ConfigurationProperties(prefix="security.keystore")
    public class KeyStoreConfigProperties
    extends Object
    This class contains the configuration for KeyStoreAccess.
    Since:
    2020.04.001
    • Constructor Detail

      • KeyStoreConfigProperties

        public KeyStoreConfigProperties()
    • Method Detail

      • getLocation

        public String getLocation()
        Returns:
        the location of KeyStore as a spring resource URI (e.g. starting with "file://" or "classpath:").
      • setLocation

        public void setLocation​(String keyStoreLocation)
        Parameters:
        keyStoreLocation - new value of getLocation().
      • getType

        public String getType()
        Returns:
        the type of KeyStore (e.g. "PKCS12", "JKS", or "JCEKS")
      • setType

        public void setType​(String keystoreType)
        Parameters:
        keystoreType - new value of getType().
      • setPassword

        public void setPassword​(String password)
        Parameters:
        password - new value of getPassword().