1 Reply Latest reply on Jun 13, 2008 5:20 AM by piotr.koper

    Sending Principal back to Client?

    dkrizic

      Hi,

      I have [1] a self written ClientLoginModule (reading a X.509 certificate) a [2] ServerLoginModule. The Transport is done using SecurityAssociation, on the ServerLoginModule I want to change/replace the Principal and I want the LoginContext on the client side to know about the changed principal?

      So, can I use the SecurityAssociation for sending data back from Server to Client?

      Regards,

      Darko

        • 1. Re: Sending Principal back to Client?
          piotr.koper

          Hi.

          As much as I know - You can't. SecurityAssociation is only container for credentials. But, in your ServerLoginModule You have method getIdentity() which return logged principal.

          On client side try to get this info from LoginContext, with method getSubject().

          koper