4 Replies Latest reply on Apr 9, 2004 4:55 PM by baric

    custom Principal and custom LoginModule

    mkord Newbie

      I am write a custom LoginModule and Custom principal.
      All work fine, but when i call sessioncontext.getCallerPrincipal() it returns SimplePrincipal with correct name
      The same situation at the web layer
      getUserPrincipal returns SimplePrincipal but not my own. The principal name is correct as well.

      What is wrong? Maybe i should write something else?
      Please tell me what i should do to learn getCallerPrincipal() return my own Principal class.

      Thank you in advance.