[keycloak-dev] extend keycloak principal

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


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

On 19 September 2015 at 00:54, alex orl <alex_orl1079 at yahoo.it> wrote:

> I'm working on SSO using jboss keycloak.
> I m developing a user federation provider working with my custom user
> database and ldap authentication.
> i m able to do the authentication process but now i need to retrieve to my
> webapplications a Principal extending the keycloak one.
> I mean that my rest service could have to access a principal object
> holding other information besides those covered by keycloakPrincipal (i.e.
> company group, company and others).
> i was planning to write my own MyProjectPrincipal extending
> keycloakPrincipal but then...
> is it the right way?
> how can i retrieve this principal to my custom webapplication? (i.e. REST
> service)?
>
> Best regards and thanks a lot for your attention.
>
> AlessioInviato da Yahoo Mail su Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
>
> _______________________________________________
> 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/5e3cd921/attachment.html 


More information about the keycloak-dev mailing list