|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface PasswordDigest
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 |
|---|
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
|
Copyright 1996, 2011, 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 API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||