Is there a way to retrieve all the principals of current subject? or even to retrive the current subject itself?
I created a custom login module and there are various custom principals associated to a subject. In request I can only use getUserPrincipal() method, which return the user principal. What about the other principals? is there a way to access them?