Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02

weblogic.security
Interface WSUserPasswordDigest


public interface WSUserPasswordDigest

The WSUserPasswordDigest interface defines the interface for tokens that are passed to the assertIdentity call for the wsse:PasswordDigest token type.

Authentication providers generate password digest based on the nonce and creation data ad time in string format and assert identity based on the password digest value passed in this token.


Method Summary
 String getCreatedString()
          Returns the digest created date and time as a String.
 long getCreatedTimeInMillis()
          Returns the digest created date and time as a long value.
 byte[] getDecodedNonce()
          Returns the decoded nonce.
 byte[] getDecodedPasswordDigest()
          Returns the decoded passsword digest value.
 String getUsername()
          Returns the name of the user whose identity is being asserted.
 

Method Detail

getUsername

String getUsername()
Returns the name of the user whose identity is being asserted.

Returns:
name of the user whose identity is being asserted.


getDecodedPasswordDigest

byte[] getDecodedPasswordDigest()
Returns the decoded passsword digest value. This value is matched with the computed digest value. if the values match the users identity is asserted.

Returns:
the decoded passsword digest value.


getDecodedNonce

byte[] getDecodedNonce()
Returns the decoded nonce. This value is used to compute the digest value. If the computed digest value matches the decoded password digest passed the users identity is asserted.

Returns:
the decoded nonce.


getCreatedString

String getCreatedString()
Returns the digest created date and time as a String. This value is used to compute the digest value. If the computed digest value matches the decoded password digest passed the users identity is asserted.

Returns:
the digest created date and time as a String.


getCreatedTimeInMillis

long getCreatedTimeInMillis()
Returns the digest created date and time as a long value. This value is used by the provider to check if the token should be considered for asserting the identity of the user.

Returns:
the digest created date and time.


Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02