Getting role attributes from loginHandler (LDAP)

Cantor, Scott cantor.2 at osu.edu
Thu Jun 20 14:10:25 EDT 2013


On 6/20/13 1:59 PM, "Byte Flinger" <byteflinger at gmail.com> wrote:

>I'd still like to know how to retrieve the role from the java subject
>though if anybody knows how to do it.

I think it's something along the lines of
requestContext.getUserSession().getSubject() and then you have a Subject
with the usual APIs on it.

https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAPI

Javadocs linked at the top.

edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfile
RequestContext


-- Scott




More information about the users mailing list