0 Replies Latest reply on Dec 21, 2009 8:44 AM by André Dantas Rocha

    Get all principals from current subject

    André Dantas Rocha Newbie

      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