@EachProperty(value="micronaut.security.token.jwt.encryptions.secret") public class SecretEncryptionConfiguration extends Object
| Constructor and Description |
|---|
SecretEncryptionConfiguration(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.nimbusds.jose.EncryptionMethod |
getEncryptionMethod() |
com.nimbusds.jose.JWEAlgorithm |
getJweAlgorithm() |
String |
getName() |
String |
getSecret() |
void |
setEncryptionMethod(com.nimbusds.jose.EncryptionMethod encryptionMethod)
EncryptionMethod. |
void |
setJweAlgorithm(com.nimbusds.jose.JWEAlgorithm jweAlgorithm)
JWEAlgorithm. |
void |
setSecret(String secret)
Secret used for encryption configuration.
|
public SecretEncryptionConfiguration(@Parameter String name)
name - Bean name qualifier.public String getSecret()
SecretEncryptionpublic com.nimbusds.jose.JWEAlgorithm getJweAlgorithm()
public void setJweAlgorithm(com.nimbusds.jose.JWEAlgorithm jweAlgorithm)
JWEAlgorithm.jweAlgorithm - JWT Algorithmpublic void setEncryptionMethod(com.nimbusds.jose.EncryptionMethod encryptionMethod)
EncryptionMethod.encryptionMethod - Encryption Methodpublic com.nimbusds.jose.EncryptionMethod getEncryptionMethod()
EncryptionMethodpublic void setSecret(String secret)
secret - Encryption secret.public String getName()