
com.ohadr.crypto.config.CryptoProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-crypto Show documentation
Show all versions of common-crypto Show documentation
parent POM for authentication projects.
The newest version!
package com.ohadr.crypto.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class CryptoProperties
{
@Value("${com.ohadr.crypto.keystore}")
private String simpleKeystore;
@Value("${com.ohadr.crypto.password}")
private String simplePassword;
@Value("${com.ohadr.crypto.keyAlias}")
private String keyAlias;
@Value("${com.ohadr.crypto.createKeystoreFileIfNotExist}")
private String createKeystoreFileIfNotExist;
public String getSimpleKeystore()
{
return simpleKeystore;
}
public void setSimpleKeystore(String simpleKeystore)
{
this.simpleKeystore = simpleKeystore;
}
public String getSimplePassword()
{
return simplePassword;
}
public void setSimplePassword(String simplePassword)
{
this.simplePassword = simplePassword;
}
public String getKeyAlias()
{
return keyAlias;
}
public boolean getCreateKeystoreFileIfNotExist()
{
return Boolean.parseBoolean( createKeystoreFileIfNotExist );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy