Hi, As stated on the README: https://github.com/bujiio/buji-pac4j#get-the-user-profile, the second principal is the user profile you can cast to CommonProfile.
Thanks. Best regards, Jérôme 2015-11-30 9:37 GMT+01:00 holmbergius [via Shiro User] < [email protected]>: > Made progress by switching to buji-pac4j as my plugin. Not sure why, but I > at least get Authentication now and > SecurityUtils.getSubject().getPrinicpal() returns: > > CasProfile#admin > > From a J2E context using buji-pac4j...anyone know how I might get a > populated CommonProfile? I am assuming I need a method that takes in the > request object. > > Thank you! > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://shiro-user.582556.n2.nabble.com/404-on-shiro-cas-tp7580860p7580868.html > To start a new topic under Shiro User, email > [email protected] > To unsubscribe from Shiro User, click here > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=582556&code=bGVsZXVqQGdtYWlsLmNvbXw1ODI1NTZ8LTExNzY2MzcxMTY=> > . > NAML > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://shiro-user.582556.n2.nabble.com/404-on-shiro-cas-tp7580860p7580872.html Sent from the Shiro User mailing list archive at Nabble.com.
