[prev in list] [next in list] [prev in thread] [next in thread] 

List:       shibboleth-users
Subject:    Re: Acquiring principals of a a subject
From:       Martin Leonhartsberger via users <users () shibboleth ! net>
Date:       2023-05-19 13:55:52
Message-ID: 101A83BE-084C-450A-9CB4-488EE8295094 () cumulo ! at
[Download RAW message or body]

Thank you for the fast feedback! The missing iterator did the trick. 

Best regards, Martin

On 19.05.23, 15:38, "Cantor, Scott" <cantor.2@osu.edu <mailto:cantor.2@osu.edu>> \
wrote:


subject=subjectContext.getSubjects(); 


That returns a collection of Subject, not one, per the documentation (and the fact \
that it's plural). You're calling getPrincipals on a collection, not a Subject.


-- Scott









-- 
For Consortium Member technical support, see \
https://shibboleth.atlassian.net/wiki/x/ZYEpPw To unsubscribe from this list send an \
email to users-unsubscribe@shibboleth.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic