Class ApplicationSecurityConfiguration


  • @Configuration
    @ConditionalOnProperty("inception.application.security.trustStore.path")
    public class ApplicationSecurityConfiguration
    extends Object
    The ApplicationSecurityConfiguration class provides access to the application security configuration and initialises the application key store and trust store.
    Author:
    Marcus Portmann
    • Constructor Detail

      • ApplicationSecurityConfiguration

        public ApplicationSecurityConfiguration()
    • Method Detail

      • hasKeyStoreConfiguration

        public boolean hasKeyStoreConfiguration()
        Returns whether the key store configuration has been specified.
        Returns:
        true if the key store configuration has been specified or false otherwise
      • hasTrustStoreConfiguration

        public boolean hasTrustStoreConfiguration()
        Returns whether the trust store configuration has been specified.
        Returns:
        true if the trust store configuration has been specified or false otherwise
      • keyStore

        @Bean(name="applicationKeyStore")
        public KeyStore keyStore()
        Returns the application key store.
        Returns:
        the application key store
      • keyStorePassword

        @Bean(name="applicationKeyStorePassword")
        public String keyStorePassword()
        Returns the application key store password.
        Returns:
        the application key store password
      • trustStore

        @Bean(name="applicationTrustStore")
        public KeyStore trustStore()
        Returns the application trust store.
        Returns:
        the application trust store