Keycloak with SpringBoot. How to configure securityConstraints application properties?
up vote
0
down vote
favorite
While configuring Keycloak adapter for SpringBoot I'm struggling to understand how SecurityConstraints properties work. There is a very basic example in the documentation and a few in github, but I cannot find any decent docs that would explain how this works.
For example, when I add "admin" role into this array, it opens my resources for any user with any role, but it works fine when there is only "user" role in there.
Could someone please point in the right direction?
keycloak
add a comment |
up vote
0
down vote
favorite
While configuring Keycloak adapter for SpringBoot I'm struggling to understand how SecurityConstraints properties work. There is a very basic example in the documentation and a few in github, but I cannot find any decent docs that would explain how this works.
For example, when I add "admin" role into this array, it opens my resources for any user with any role, but it works fine when there is only "user" role in there.
Could someone please point in the right direction?
keycloak
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
While configuring Keycloak adapter for SpringBoot I'm struggling to understand how SecurityConstraints properties work. There is a very basic example in the documentation and a few in github, but I cannot find any decent docs that would explain how this works.
For example, when I add "admin" role into this array, it opens my resources for any user with any role, but it works fine when there is only "user" role in there.
Could someone please point in the right direction?
keycloak
While configuring Keycloak adapter for SpringBoot I'm struggling to understand how SecurityConstraints properties work. There is a very basic example in the documentation and a few in github, but I cannot find any decent docs that would explain how this works.
For example, when I add "admin" role into this array, it opens my resources for any user with any role, but it works fine when there is only "user" role in there.
Could someone please point in the right direction?
keycloak
keycloak
edited Nov 9 at 21:19
Sascha Frinken
9951015
9951015
asked Nov 9 at 21:04
VSh
15
15
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233253%2fkeycloak-with-springboot-how-to-configure-securityconstraints-application-prope%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown