users@tyrus.java.net

Re: Client API login

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Fri, 05 Apr 2013 15:04:42 +0200

Hi Andy,

nowhere. API does not support this directly at the moment, but you can
always register Configurator (ClientEndpointConfig.Configurator) and add
any necessary header manually - by overriding beforeRequest(...) method.

Regards,
Pavel

On 4/4/13 9:26 PM, amo.ahcp_at_gmail.com wrote:
> Hi,
> what is the appropriate way to Log in to a Server Endpoint? A WebSocket
> Session can return a UserPrincipal. But where can i set my credentials
> when I use client.connectToServer(...)?
>
> Thank you
>
> Andy
>
>