Acquiring principals of a a subject

Martin Leonhartsberger m.leonhartsberger at cumulo.at
Fri May 19 13:55:52 UTC 2023


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 at osu.edu <mailto:cantor.2 at 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











More information about the users mailing list