public class JwtAuthConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
JwtAuthConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnabled()
Get whether basic authentication has been enabled.
|
java.lang.String |
getJwks()
Get the JWKS location.
|
java.lang.String |
getKey()
Get the base64-encoded JWT key.
|
java.util.List<java.lang.String> |
getKeyIds()
Get the key ids.
|
java.lang.String |
getKeyStore()
Get the keystore location.
|
java.lang.String |
getKeyStorePassword()
Get the keystore password.
|
void |
setEnabled(boolean enabled)
Enable or disable basic authentication.
|
void |
setJwks(java.lang.String jwks)
Set the jwks location.
|
void |
setKey(java.lang.String key)
Set the base64-encoded JWT key.
|
void |
setKeyIds(java.util.List<java.lang.String> ids)
Set the key ids.
|
void |
setKeyStore(java.lang.String keyStore)
Set the keystore location.
|
void |
setKeyStorePassword(java.lang.String keyStorePassword)
Set the keystore password.
|
public boolean getEnabled()
public void setEnabled(boolean enabled)
enabled - true if basic auth is enabled; false otherwisepublic java.lang.String getKey()
public void setKey(java.lang.String key)
key - the keypublic void setKeyStore(java.lang.String keyStore)
keyStore - the keystore locationpublic java.lang.String getKeyStore()
public void setKeyStorePassword(java.lang.String keyStorePassword)
keyStorePassword - the passwordpublic java.lang.String getKeyStorePassword()
public void setKeyIds(java.util.List<java.lang.String> ids)
ids - the key idspublic java.util.List<java.lang.String> getKeyIds()
public java.lang.String getJwks()
public void setJwks(java.lang.String jwks)
jwks - the location of a JWKS document