Hi Guys
I want to be able to access some authentication details in a service
class that have been set by the client.
For example the client does this
HttpTransportProperties.Authenticator auth
= new HttpTransportProperties.Authenticator();
auth.setUsername("julian");
auth.setPassword("password");
auth.setAllowedRetry(true);
List<String> authSchemes = new ArrayList<String>();
authSchemes.add(AuthPolicy.BASIC);
auth.setAuthSchemes(authSchemes);
auth.setPreemptiveAuthentication(true);
auth.setRealm("external-client");
I want to get the "username" and "password" property in the service class.
How do you do this?
I have read about the OperationContext class but I cannot work out how
to get the Authenticator class out of it or with it.
Thanks in advance.
Julian
--
Julian Noye
Project Manager
Nielsen Online
The Nielsen Company
+61 (3) 8606 4036
www.nielsen-online.com
<http://www.nielsen-online.com/>
<http://www.nielsen.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]