0 Replies Latest reply on Dec 21, 2009 8:44 AM by ad-rocha

    Get all principals from current subject

      Hello,

       

      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?

       

      Thanks in advance,

       

      Andre