Hi Ali,
it looks like you have wrongly configured Spring Boot Keycloak adapter.
Make sure you configured everything which is shown here (especially the
part with security constraints):
https://www.keycloak.org/docs/latest/securing_apps/index.html#_spring_boo...
Michal
On Sat, May 4, 2019 at 2:21 PM Ali Ahmadzadeh Asl <ahmadzadehasl(a)outlook.com>
wrote:
Hi
First of all, excuse me for poor English.
I am trying to use Keycloak in Spring Boot 2, I read many articles about
this matter, such as follow link:
https://www.keycloak.org/docs/2.5/securing_apps/topics/oidc/java/spring-b...
There was an issue that i can't resolve it. Resource and policy and
permissions defined in admin panel for client, does not any effect on my
server. For example I defined a resource for URL pattern /rest/* and a
policy for having ROLE_REST, also I defined a permission for mapping this
resource and policy.
But after running the server, I can use rest services without any
limitation and authentication.
Now the question is: How can I manage Spring Boot application security and
permissions from Keycloak admin panel?
Thank you
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user