You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Massimiliano Masi <ma...@math.unifi.it> on 2007/10/23 10:03:19 UTC

Re: Question about merlin

Hi,

Quoting Nandana Mihindukulasooriya <na...@gmail.com>:
>            As this is a possible situation, I think it is reasonable to add
> an optional
> parameter to specify alias for certificate to sign when it is different from
> the
> user name of the UsernameToken. So I created the JIRA,
>
> https://issues.apache.org/jira/browse/RAMPART-99
>
> will a send a patch soon.

Thanks. But is not possible to take the username from the options of the
RampartMessageData, as I described in a mail of yesterday?

Ora directly by taking the properties?

I think that a good way should be to use the setUser to put the username
in the UsernameToken, and take the properties for the keystore for signing.

Am I wrong?


Thanks,

               Massimiliano

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



Re: Question about merlin

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Hi,

Thanks. But is not possible to take the username from the options of the
> RampartMessageData, as I described in a mail of yesterday?


I think it can be done by setting the username in options of the message
context.
But I don't think this can be done in configuration level.

I think that a good way should be to use the setUser to put the username
> in the UsernameToken,


Yes, what I thought was also to keep serUser() to set the username for
UsernameToken
and add another setUserCertAlias() to set the alias to be used get the
certificate
to signature.

Regards,
Nandana