Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat is the alternate to PasswordDigest when clear text password is not stored on the web-service producer?
    primarykey
    data
    text
    <p><strong>Scenario:</strong> </p> <p>Web-service producer have only SHA-1 hash of passwords stored in database. We need to authenticate Web-service users using User Name/Password combination.</p> <hr> <p><strong><a href="http://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-os-UsernameTokenProfile.pdf" rel="nofollow noreferrer">Web Services Security UsernameToken Profile</a></strong> allows us to add soap headers for this purpose:</p> <blockquote> <p>The element is introduced in the WSS: SOAP Message Security documents as a way of providing a username.</p> <p>Within element, a element may be specified. Passwords of type PasswordText and PasswordDigest are not limited to actual passwords, although this is a common case. <a href="http://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-os-UsernameTokenProfile.pdf" rel="nofollow noreferrer">(146-151)</a></p> </blockquote> <p>PasswordText password type means that password is sent over the wire as plain text which is a security issue if we are not using Transport Level Security mechanisms. PasswordDigest avoids sending plain text passwords and sends a hash. But to avoid replay attack (i-e attacker using wiretap to capture the hashed password and resend it with another request) the PasswordDigest adds a timestamp and a random number to password before computing the hash. This addition results in following restriction:</p> <blockquote> <p>Note that PasswordDigest can only be used if the plain text password (or password equivalent) is available to both the requestor and the recipient. <a href="http://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-os-UsernameTokenProfile.pdf" rel="nofollow noreferrer">(196-197)</a></p> </blockquote> <hr> <p>But in our case we do not have plain text password. My question is: what alternates do we have other that to make plain text passwords available on the server?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload