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