public static class OidcCommonConfig.Credentials.Jwt extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<String> |
keyFile
If provided, indicates that JWT is signed using a private key in PEM or JWK format
|
Optional<String> |
keyId
The private key id/alias
|
String |
keyPassword
The private key password
|
Optional<String> |
keyStoreFile
If provided, indicates that JWT is signed using a private key from a key store
|
String |
keyStorePassword
A parameter to specify the password of the key store file.
|
int |
lifespan
JWT life-span in seconds.
|
Optional<String> |
secret
If provided, indicates that JWT is signed using a secret key
|
| Constructor and Description |
|---|
Jwt() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLifespan() |
Optional<String> |
getSecret() |
void |
setLifespan(int lifespan) |
void |
setSecret(String secret) |
@ConfigItem public Optional<String> secret
@ConfigItem public Optional<String> keyFile
@ConfigItem public Optional<String> keyStoreFile
@ConfigItem(defaultValue="password") public String keyStorePassword
@ConfigItem public Optional<String> keyId
@ConfigItem(defaultValue="password") public String keyPassword
@ConfigItem(defaultValue="10") public int lifespan
Copyright © 2021 JBoss by Red Hat. All rights reserved.