[keycloak-dev] Customize KeycloakPrincipal

Stian Thorgersen sthorger at redhat.com
Mon Sep 21 02:26:29 EDT 2015


Please use user mailing list - this list is to discuss development of
Keycloak itself

On 20 September 2015 at 02:31, alex orl <alex_orl1079 at yahoo.it> wrote:

> 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
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150921/6c7be4aa/attachment-0001.html 


More information about the keycloak-dev mailing list