Class KeyProperties
- java.lang.Object
-
- org.springframework.cloud.bootstrap.encrypt.KeyProperties
-
@ConfigurationProperties("encrypt") public class KeyProperties extends ObjectKey encryption properties.- Author:
- Dave Syer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyProperties.KeyStoreKey store properties.
-
Constructor Summary
Constructors Constructor Description KeyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()KeyProperties.KeyStoregetKeyStore()StringgetSalt()booleanisFailOnError()voidsetFailOnError(boolean failOnError)voidsetKey(String key)voidsetKeyStore(KeyProperties.KeyStore keyStore)voidsetSalt(String salt)
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
ConfigurationProperties prefix for KeyProperties.- See Also:
- Constant Field Values
-
-
Method Detail
-
isFailOnError
public boolean isFailOnError()
-
setFailOnError
public void setFailOnError(boolean failOnError)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getSalt
public String getSalt()
-
setSalt
public void setSalt(String salt)
-
getKeyStore
public KeyProperties.KeyStore getKeyStore()
-
setKeyStore
public void setKeyStore(KeyProperties.KeyStore keyStore)
-
-