[keycloak-user] Obtaining KeycloakSecurityContext in case of Desktop applications (KeycloakInstalled adapter)

Test Oauth testoauth55 at gmail.com
Wed Aug 1 03:06:16 EDT 2018


How can I obtain  KeycloakSecurityContext in case of Desktop applications
(KeycloakInstalled  adapter).

I read the documentation for KeycloakSecurityContext

https://www.keycloak.org/docs/3.3/authorization_services/topics/enforcer/authorization-context.html

but it relies on servlet request.

How can I obtain KeycloakSecurityContext if I am using keycloak to secure
my desktop apps using keycloakinstalledadpater?

I need it as my desktop apps interact with a server through RMI and I want
to be able to do authorization on these calls.


More information about the keycloak-user mailing list