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