<div dir="ltr">Please use user mailing list - this list is to discuss development of Keycloak itself</div><div class="gmail_extra"><br><div class="gmail_quote">On 19 September 2015 at 00:54, alex orl <span dir="ltr"><<a href="mailto:alex_orl1079@yahoo.it" target="_blank">alex_orl1079@yahoo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top"><div style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">I'm working on SSO using jboss keycloak.<br></div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">I m developing a user federation provider working with my custom user database and ldap authentication.</div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">i m able to do the authentication process but now i need to retrieve to my webapplications a Principal extending the keycloak one.</div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">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).</div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">i was planning to write my own MyProjectPrincipal extending keycloakPrincipal but then... </div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">is it the right way?</div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">how can i retrieve this principal to my custom webapplication? (i.e. REST service)?</div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px"><br style="word-wrap:break-word"></div><div dir="ltr" style="word-wrap:break-word;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">Best regards and thanks a lot for your attention.</div><p><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">Alessio</span><a href="https://overview.mail.yahoo.com/mobile/?.src=Android" target="_blank">Inviato da Yahoo Mail su Android</a></p></td></tr></tbody></table><br>_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>