Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELY-2797] check for null Boolean and return boolean #2187

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ public void setClaimTypesSupported(List<String> claimTypesSupported) {
this.claimTypesSupported = claimTypesSupported;
}

public Boolean getClaimsParameterSupported() {
return claimsParameterSupported;
public boolean getClaimsParameterSupported() {
return claimsParameterSupported == null ? false : claimsParameterSupported;
}

public void setClaimsParameterSupported(Boolean claimsParameterSupported) {
Expand All @@ -345,16 +345,16 @@ public void setScopesSupported(List<String> scopesSupported) {
this.scopesSupported = scopesSupported;
}

public Boolean getRequestParameterSupported() {
return requestParameterSupported;
public boolean getRequestParameterSupported() {
return requestParameterSupported == null ? false : requestParameterSupported;
}

public void setRequestParameterSupported(Boolean requestParameterSupported) {
this.requestParameterSupported = requestParameterSupported;
}

public Boolean getRequestUriParameterSupported() {
return requestUriParameterSupported;
public boolean getRequestUriParameterSupported() {
return requestUriParameterSupported == null ? false : requestUriParameterSupported;
}

public void setRequestUriParameterSupported(Boolean requestUriParameterSupported) {
Expand Down Expand Up @@ -393,12 +393,12 @@ public void setRevocationEndpointAuthSigningAlgValuesSupported(List<String> revo
this.revocationEndpointAuthSigningAlgValuesSupported = revocationEndpointAuthSigningAlgValuesSupported;
}

public Boolean getBackchannelLogoutSupported() {
return backchannelLogoutSupported;
public boolean getBackchannelLogoutSupported() {
return backchannelLogoutSupported == null ? false : backchannelLogoutSupported;
}

public Boolean getBackchannelLogoutSessionSupported() {
return backchannelLogoutSessionSupported;
public boolean getBackchannelLogoutSessionSupported() {
return backchannelLogoutSessionSupported == null ? false : backchannelLogoutSessionSupported;
}

public void setBackchannelLogoutSessionSupported(Boolean backchannelLogoutSessionSupported) {
Expand All @@ -416,8 +416,8 @@ public List<String> getCodeChallengeMethodsSupported() {

// KEYCLOAK-6771 Certificate Bound Token
// https://tools.ietf.org/html/draft-ietf-oauth-mtls-08#section-6.2
public Boolean getTlsClientCertificateBoundAccessTokens() {
return tlsClientCertificateBoundAccessTokens;
public boolean getTlsClientCertificateBoundAccessTokens() {
return tlsClientCertificateBoundAccessTokens == null ? false : tlsClientCertificateBoundAccessTokens;
}

public List<String> getRequestObjectEncryptionAlgValuesSupported() {
Expand Down
Loading
Loading