Hi,
In KeycloakSpringBootConfigResolver class ,
@Override
public KeycloakDeployment resolve(OIDCHttpFacade.Request request) {
if (keycloakDeployment != null) {
return keycloakDeployment;
}
keycloakDeployment =
KeycloakDeploymentBuilder.build(KeycloakSpringBootConfigResolver.adapterConfig);
return keycloakDeployment;
}
i am not sure but this code is used to don't instatiate same thing again.
when i create protected resource , policy enforcer paths should change ,
and new path should be added.
But i think , because of this code , keycloakDeployment not change and new
path not be added.(when try to keycloakDeployment =
KeycloakDeploymentBuilder.build(KeycloakSpringBootConfigResolver.adapterConfig);
run , path change)
Because of these , protected resource which i create not effect until
spring boot restart.
am i wrong or should i add some something to change policy enforcer path ?
My target is creating protected resource with spring boot adapter.
Thank for helping
2016-12-19 17:38 GMT+03:00 uğur kolip <ugur.kolip(a)gmail.com>:
Hi,
I use keycloak 2.4.0.Final , keycloak-spring-boot-adapter ,
keycloak-tomcat8-adapter ,kyecloak-authz-client and keycloak-admin-clinet
When i create protected resource , it is not effect until spring boot app
restart . is it a bug or i should do samething to effect .
Thank you for helping