|
Oracle | ||||||||||
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 andA()
is defined as:A(0) = seed
andA(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/E12839_01/web.1111 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. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |