-
Notifications
You must be signed in to change notification settings - Fork 71
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
Create PentahoHttpResource extends HttpResource override exists() … #136
base: master
Are you sure you want to change the base?
Create PentahoHttpResource extends HttpResource override exists() … #136
Conversation
… getLastModifiedTime() using GET to Keycloak and use in blueprint.xml
...entations/Security/SAML 2.0/pentaho-saml/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Outdated
Show resolved
Hide resolved
I was wondering why this stopped working, but hadn't looked into it, simply using the filesystem based files instead. What is interesting is the code from the original HTTPResource has a fallback method to use GET instead of HEAD:
|
Dear Jonathan,
|
… getLastModifiedTime() using GET to Keycloak and use in blueprint.xml
This is a well working fix while introducing a PentahoHttpResource.class extends org.opensaml.util.resource.HttpResource.
HttpResource from org.opensaml.util.resource.HttpResource uses HEAD-Request without authentication, which is forbidden by Keycloak at least in version 25.
Both methods using HEAD calls to KC25 are overidden and use unauthenticated GET calls instead to KC25 which are still allowed against KC25 for existent check.