public static class AuthorizationServerProperties.OAuth2 extends Object
Constructor and Description |
---|
OAuth2() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<String> |
getAdditionalAudiences()
Corresponds to the aud JWT claim.
|
String |
getEncodedPrivateKey()
Base64-encoded version of the private key used to generate tokens.
|
String |
getEncodedPublicKey()
Base64-encoded version of the public key used to generate tokens.
|
Duration |
getImpersonatedSessionDuration()
The max session duration for an impersonated session.
|
String |
getIssuer()
Used in validation of JWT to ensure that the system that issued the token (this one) is
the same as the one passed in the token.
|
Set<String> |
getWhitelistedImpersonationAuthorities()
The whitelist of
GrantedAuthority that will be inherited when a user is
impersonated by a CSR user. |
int |
hashCode() |
void |
setAdditionalAudiences(List<String> additionalAudiences)
Corresponds to the aud JWT claim.
|
void |
setEncodedPrivateKey(String encodedPrivateKey)
Base64-encoded version of the private key used to generate tokens.
|
void |
setEncodedPublicKey(String encodedPublicKey)
Base64-encoded version of the public key used to generate tokens.
|
void |
setImpersonatedSessionDuration(Duration impersonatedSessionDuration)
The max session duration for an impersonated session.
|
void |
setIssuer(String issuer)
Used in validation of JWT to ensure that the system that issued the token (this one) is
the same as the one passed in the token.
|
void |
setWhitelistedImpersonationAuthorities(Set<String> whitelistedImpersonationAuthorities)
The whitelist of
GrantedAuthority that will be inherited when a user is
impersonated by a CSR user. |
String |
toString() |
public String getEncodedPrivateKey()
public String getEncodedPublicKey()
public String getIssuer()
public List<String> getAdditionalAudiences()
public Duration getImpersonatedSessionDuration()
public Set<String> getWhitelistedImpersonationAuthorities()
GrantedAuthority
that will be inherited when a user is
impersonated by a CSR user. This set of authorities serves as a whitelist of the
authorities that are inherited by the impersonated user session.
This set only restricts the authorities permitted, but it will not result in authorities being inherited that the CSR does not originally have.
public void setEncodedPrivateKey(String encodedPrivateKey)
public void setEncodedPublicKey(String encodedPublicKey)
public void setIssuer(String issuer)
public void setAdditionalAudiences(List<String> additionalAudiences)
public void setImpersonatedSessionDuration(Duration impersonatedSessionDuration)
public void setWhitelistedImpersonationAuthorities(Set<String> whitelistedImpersonationAuthorities)
GrantedAuthority
that will be inherited when a user is
impersonated by a CSR user. This set of authorities serves as a whitelist of the
authorities that are inherited by the impersonated user session.
This set only restricts the authorities permitted, but it will not result in authorities being inherited that the CSR does not originally have.
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.