> But I don't know how to get the standard user defined in parameter "user" to
> do HTTP authentication.Do anyone can help? thanks!

You can't, as per the comments at:

http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#USER

"In this case the HTTP authentication mechansisms do not work anymore.
User authentication shall be done via the username token or the
certificate verification of the signature certificate. "

Colm.

On Thu, Nov 4, 2010 at 8:10 AM, rolandpeng <[email protected]> wrote:
>
> in  this apidoc :
> http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENCRYPTION_USER
>
> --skip--
> If only encryption of the SOAP body data is requested, it is recommended to
> use this parameter to define the username. The application can then use the
> standard user and password functions (see example at USER) to enable HTTP
> authentication functions.
>
> --
>
> In my case, I only encrypt the SOAP body.So I need to use the standard user
> as defined in parameter "user" to do the further work.
> But I don't know how to get the standard user defined in parameter "user" to
> do HTTP authentication.Do anyone can help? thanks!
>
>
> --
> View this message in context: 
> http://old.nabble.com/how-to-get-standard-user-defined-as-%27parameter-user%27-in-client_deploy.wsdd-tp30129801p30129801.html
> Sent from the WSS4J mailing list archive at Nabble.com.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to