@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()
SecretEncryption
public 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()
EncryptionMethod
public void setSecret(String secret)
secret
- Encryption secret.public String getName()