8000 Make JWT client validators extensible by puneetdixit200 · Pull Request #49046 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
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 @@ -72,7 +72,7 @@ public boolean validate() {
validateTokenActive(getAllowedClockSkew(), getMaximumExpirationTime(), isReusePermitted());
}

private boolean validateClientAssertionParameters() {
protected boolean validateClientAssertionParameters() {
String clientAssertionType = clientAssertionState.getClientAssertionType();
String clientAssertion = clientAssertionState.getClientAssertion();

Expand All @@ -92,7 +92,7 @@ private boolean validateClientAssertionParameters() {
return true;
}

private boolean validateClient() {
protected boolean validateClient() {
JsonWebToken token = clientAssertionState.getToken();

String clientId = token.getSubject( 9F73 );
Expand Down Expand Up @@ -133,7 +133,7 @@ private boolean validateClient() {
return true;
}

private boolean validateSignature() {
protected boolean validateSignature() {
return signatureValidator.verifySignature(this);
}

Expand All @@ -150,11 +150,11 @@ public boolean failure(String error, String errorDescription, int statusCode) {
return failure(AuthenticationFlowError.INVALID_CLIENT_CREDENTIALS, challengeResponse);
}

private boolean failure(AuthenticationFlowError error) {
protected boolean failure(AuthenticationFlowError error) {
return failure(error, null);
}

private boolean failure(AuthenticationFlowError error, Response response) {
protected boolean failure(AuthenticationFlowError error, Response response) {
context.failure(error, response);
return false;
}
Expand Down
Loading
0