spring - Keycloak configuration in application.properties for spring boot
问题描述
I have given all the roles,permissions,resources and policies in key cloak console.But why do I have to give roles and resources again in application.properties.If i don't give those in application.properties,all the resources are accessible.So,what actually do i have to mention in application.properties.
is it necessary to give keycloak.json in application? what are all the things to be configured in application?
解决方案
It is not necessary to keycloak.json.But you have to use spring boot version 2.0 and above.That will work.
推荐阅读
- python - 如何修复“IndexError:列表索引超出范围”
- c# - 如何使用 Identity 动态更新 ASP.NET Core 中实体的用户权限?
- c - GCC 找不到静态库
- javascript - 如何从javascript数组中获取项目
- python - 如何等待鼠标点击?
- python - 如何在 10 秒后结束循环内的循环?
- cordova - 当目标是'_system'时如何隐藏inAppBrowser中的地址栏?
- marklogic - 如何在 DatahubFramework 中访问部署到 FINAL 数据库的模块
- bash - 在远程服务器上分配变量
- vision - 图像如何表示为矢量?