[keycloak-dev] extend keycloak principal
alex orl
alex_orl1079 at yahoo.it
Fri Sep 18 18:54:05 EDT 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150918/2fd71984/attachment.html
More information about the keycloak-dev
mailing list