Class OauthConfigurationProperties.OpenIdConfigurationProperties.ClaimsValidationConfigurationProperties
java.lang.Object
io.micronaut.security.oauth2.configuration.OauthConfigurationProperties.OpenIdConfigurationProperties.ClaimsValidationConfigurationProperties
- All Implemented Interfaces:
OpenIdClaimsValidationConfiguration
- Enclosing class:
- OauthConfigurationProperties.OpenIdConfigurationProperties
@ConfigurationProperties("claims-validation")
public static class OauthConfigurationProperties.OpenIdConfigurationProperties.ClaimsValidationConfigurationProperties
extends Object
implements OpenIdClaimsValidationConfiguration
Claims Validator configuration.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isIssuer()
void
setAudience
(boolean audience) void
setAuthorizedParty
(boolean authorizedParty) void
setIssuer
(boolean issuer)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
ClaimsValidationConfigurationProperties
public ClaimsValidationConfigurationProperties()
-
-
Method Details
-
isIssuer
public boolean isIssuer()- Specified by:
isIssuer
in interfaceOpenIdClaimsValidationConfiguration
- Returns:
- Whether
IssuerClaimValidator
is enabled.
-
setIssuer
public void setIssuer(boolean issuer) - Parameters:
issuer
- WhetherIssuerClaimValidator
is enabled. Default value (true).
-
isAudience
public boolean isAudience()- Specified by:
isAudience
in interfaceOpenIdClaimsValidationConfiguration
- Returns:
- Whether
AudienceClaimValidator
is enabled.
-
setAudience
public void setAudience(boolean audience) - Parameters:
audience
- WhetherAudienceClaimValidator
is enabled. Default value (true).
-
isAuthorizedParty
public boolean isAuthorizedParty()- Specified by:
isAuthorizedParty
in interfaceOpenIdClaimsValidationConfiguration
- Returns:
- Whether
AuthorizedPartyClaimValidator
is enabled.
-
setAuthorizedParty
public void setAuthorizedParty(boolean authorizedParty) - Parameters:
authorizedParty
- WhetherAuthorizedPartyClaimValidator
is enabled. Default value (true).
-