|
BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The getPasswordDigest interface allows an authentication provider
to return a digest for a specified user's password.
| Method Summary | |
byte[] |
getPasswordDigest(String username,
byte[] seed,
int numBytes)
Returns the digest value for the password for the specified username. |
| Method Detail |
public byte[] getPasswordDigest(String username,
byte[] seed,
int numBytes)
throws DigestNotAvailableException
P_SHA-1(secret, seed) = HMAC_SHA-1(secret, A(1) + seed) +
HMAC_SHA-1(secret, A(2) + seed) +
HMAC_SHA-1(secret, A(3) + seed) + ...
Where:
+ indicates concatenation and
A() is defined as: A(0) = seed and A(i) = HMAC_SHA-1 (secret, A(I-1)).
This digest functionality is currently used by the web services container.
username - String containing the userseed - byte array of random valuenumBytes - int number of bytes to return in password digest
DigestNotAvailableException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||