Re: Nonce and Created Values. General Questions

From: John Jenkins (john_Jenkins_at_yahoo.com)
Date: 09/29/04

  • Next message: Hervey Wilson [MSFT]: "Re: Nonce and Created Values. General Questions"
    Date: Wed, 29 Sep 2004 07:13:56 GMT
    
    

    I understand that it must be present if used with hashed password. My
    question is how do I prevent the default of sending it!
    I have tried the replayDetection setting server side to not require it, sent
    a message without the nonce detail and still got an "invalid token". As part
    of this I also commented out any detail in the config of my UsernameToken
    Manager implementation. I assume this is correct.

    "Hervey Wilson [MSFT]" <herveyw.nospam@nospam.microsoft.com> wrote in
    message news:emjiu8dpEHA.2484@TK2MSFTNGP09.phx.gbl...
    > John Jenkins wrote:
    > > Hi,
    > > I am using WSE2.0sp1 for my security implementation for web
    services. A
    > > customer is using WebLogic to implement their calls to my service.
    > > The call fails with a "token could not be authenticated.." message. I
    > > noticed the customer did not have
    > > <wsse:Nonce></wsse:Nonce>
    > > <wsu:Created></wsu:Created>
    > > Tags in their security header. I took their message, and manually
    added
    > > a some nonce/created details to the header and submitted it with a soap
    > > tool. The message got validated. Web Logic (or at least my customers
    > > implemebntation using web logic) does not appear to add
    > > nonce/created elements by default.
    > >
    > > The customer however pointed out (correctly ) that the
    implementation of
    > > Nonce etc is only recommended. So my question is, is there a setting I
    can
    > > turn on which will not require the client to supply a nonce and created
    > > element?? The network is on a private, secure network.
    > >
    > > I had initially thought this may be the <replayDetection> element
    but
    > > this didn't work when I added to my config file.
    > >
    > > Also I have a couple of basic questions.
    > >
    > > 1. If users use a password (either plain text or digest), must a nonce
    value
    > > be included also?
    > > 2. Why did WSE2.0 not have the appropriate namespaces i.e. the wsse, and
    wsu
    > > using the oasis uri?
    > >
    > >
    > > Any help on this is greatly appreciated.
    > >
    > >
    >
    > 1. If you used SendHashed, the Nonce *must* be present since it part of
    > the digest algorithm. If you have Username Token replay detection
    > enabled, the WSE receiver will *always* demand that a Nonce be present
    > in the token. Disabling this in your configuration file (see the
    > wse.config file in the WSE install directory for details), should allow
    > you to pass a PlainText or SendNone UsernameToken without a Nonce.
    >
    > 2. WSE 2.0 *does* use the OASIS WSS 1.0 Namespace URI's.
    >
    >
    > --
    > This posting is provided "AS IS", with no warranties, and confers no
    rights.


  • Next message: Hervey Wilson [MSFT]: "Re: Nonce and Created Values. General Questions"

    Relevant Pages

    • OTP with SOAP messages and swing client
      ... At the moment we use a dodgy WS-Security header with username and base64 encoded password in the soap header. ... User requests OTP via some mechanism where they provide username/password, server creates a nonce and a secret and sends it to their pre-configured mobile number via SMS ...
      (Security-Basics)
    • Re: Nonce and Created Values. General Questions
      ... Why do my web service method calls fail if I don't include them from any ... Are you saying that in theory if I submit a message that just has a username ... soap tool with no nonce value and it ALWAYS fails. ...
      (microsoft.public.dotnet.framework.webservices.enhancements)
    • 403: Forbidden exception
      ... Is this because I need to authenticate with username and password? ... username from the config file ... System.Net.NetworkCredential credentials = new System.Net.NetworkCredential ...
      (microsoft.public.dotnet.framework)
    • Re: wvdial Ask Password fails with tcgetattr error
      ... > What does your wvdial config file have in it (do not post the password ... authenticate via pap/chap-secrets files. ... Regardless of how Stupid Mode is set, wvdial gets a username and password ...
      (comp.os.linux.networking)
    • Re: [SLE] Login screen gone after apt upgrade
      ... >result of this action my login screen (the graphical interface where you put the ... >username and pass when you try to load SuSE) is gone. ... It uses the config file ... God said, ...
      (SuSE)