[keycloak-dev] Customize KeycloakPrincipal

alex orl alex_orl1079 at yahoo.it
Sat Sep 19 20:31:57 EDT 2015


In my rest service i can obtain the principal information after authentication using KeycloakPrincipal kcPrincipal = (KeycloakPrincipal) servletRequest.getUserPrincipal() statement.Keycloak principal does'nt cotain all the information i need about the authenticated user.Is it possibile to customize my own principal type?On the keycloak end i ve developed a user federation provider. Is it possibile to insert my custom principal in that code? What is the way?Thanks to all and regards.Alessio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150920/82eda8ba/attachment.html 


More information about the keycloak-dev mailing list