|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| 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 | |
|---|---|
abstract 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 digestDigestNotAvailableException
|
Copyright 1996, 2015, 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||