Yeah, you are right. We don't update paths on the enforcer. Right now, the app must be
restarted.
Can you open a JIRA, please ?
Thanks !
On 12/21/2016 9:51:28 AM, uğur kolip <ugur.kolip(a)gmail.com> wrote:
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 :
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
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user