Class ApplicationSecurityConfiguration
java.lang.Object
africa.absa.inception.application.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the key store configuration has been specified.booleanReturns whether the trust store configuration has been specified.keyStore()Returns the application key store.Returns the application key store password.Returns the application trust store.
-
Constructor Details
-
ApplicationSecurityConfiguration
public ApplicationSecurityConfiguration()
-
-
Method Details
-
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
Returns the application key store.- Returns:
- the application key store
-
keyStorePassword
Returns the application key store password.- Returns:
- the application key store password
-
trustStore
Returns the application trust store.- Returns:
- the application trust store
-