Class JwtTokenIssuerProperties
java.lang.Object
com.loomcache.springboot.security.JwtTokenIssuerProperties
@ConfigurationProperties(prefix="loomcache.security.jwt")
public class JwtTokenIssuerProperties
extends Object
Configuration for the opt-in REST JWT issuer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeyId()@Nullable StringgetTtl()booleanbooleanvoidsetAllowedClockSkew(Duration allowedClockSkew) voidsetAudience(String audience) voidsetEnabled(boolean enabled) voidvoidvoidsetLocalRevocationEnabled(boolean localRevocationEnabled) voidsetRevokedTokenIds(Set<String> revokedTokenIds) voidsetSigningSecret(@Nullable String signingSecret) voidvoidsetVerificationSecrets(Map<String, String> verificationSecrets)
-
Constructor Details
-
JwtTokenIssuerProperties
public JwtTokenIssuerProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getSigningSecret
-
setSigningSecret
-
getKeyId
-
setKeyId
-
getVerificationSecrets
-
setVerificationSecrets
-
getIssuer
-
setIssuer
-
getAudience
-
setAudience
-
getTtl
-
setTtl
-
getAllowedClockSkew
-
setAllowedClockSkew
-
getRevokedTokenIds
-
setRevokedTokenIds
-
isLocalRevocationEnabled
public boolean isLocalRevocationEnabled() -
setLocalRevocationEnabled
public void setLocalRevocationEnabled(boolean localRevocationEnabled)
-