Configuring a proxy multiple times
Next message: Daniel Hegner: "Re: challenge/respons in WSE 2.0 (WS-Trust)"
Date: Mon, 6 Sep 2004 19:43:00 +0100
Hi,
I am using WSE 2.0. I have several xxxWSE proxy classed in my project.
Before I make a call using them I'm attaching a KerberosToken to the tokens
collection and also signing the message with the same token. My question is:
If my class contains a proxy class as a member and it is constructed when
the class is constructed do I only have to configure the proxy once,
regardless of using it to make several calls? I think I do, it's just the
following line the makes me a bit unsure:
context.Security.Timestamp.TtlInSeconds = 60;
What exactly is this doing? Does it mean that whenever a message is
generated (i.e. a call made) then the message has a TTL from that point?
Also, when generating the kerberos token I'm using the following method
every time, is there a better more efficient way? BTW, I'm developing a
windows forms client.
private SecurityToken
CreateKerberosToken(Microsoft.Web.Services2.WebServicesClientProtocol proxy)
{
string target = "host/" + new Uri(proxy.Url).Host;
KerberosToken token = new KerberosToken(target);
return token;
}
Thanks for your help
Graham
Next message: Daniel Hegner: "Re: challenge/respons in WSE 2.0 (WS-Trust)"
Relevant Pages
- Re: Duplicate kerberos2 tokens in subsequent web service requests
... You do *NOT* have to create a proxy every single time. ... > I have a web page that needs to make three web service requests. ... > security tokens between calls and create a new kerberos token and add it. ... if I create three completely seperate instances of the web ... (microsoft.public.dotnet.framework.webservices.enhancements) - Re: webservice woes
... I think there is something wrong with the design of that API. ... specify the HTTP transport credentials (Basic authentication, ... called tokens in the WS-Security specification.WSE supports different kinds ... I can sucessfully use the proxy to generate the authentication call to ... (microsoft.public.dotnet.framework.webservices.enhancements) - Re: WSE589: Cannot retrieve parent token reference for a derived k
... And this was the method signature to anoint my proxy with the various ... What kind of token are you using as base token for the DerivedKey token ... The token manager on the service side can not resolve the reference to ... our existing code for configuring the proxy with tokens, ... (microsoft.public.dotnet.framework.webservices.enhancements) - Re: WSE589: Cannot retrieve parent token reference for a derived k
... I should have included the parameter types in my call; ... And this was the method signature to anoint my proxy with the various tokens: ... (microsoft.public.dotnet.framework.webservices.enhancements) - Re: Attempting my first port forwarding through SSH
... you're surfing via the remote system with no software on the remote server other than sshd. ... I have changed some settings in the Firefox network set up to see if the problem solved, I changed socks5 for socks4 but nothing, and deleted the "No proxy for:localhost" to see if anything worked, but basically the browser still does nothing, I think my Firefox settings are correct. ... # To enable empty passwords, ... # Kerberos options ... (comp.security.ssh) |
|