|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.xml.security.UserInfo
UserInfo is used to return user information from Security elements in of Secure SOAP elements. These typically include a username and some authenticating information, either a plain text password or a password digest. In the case of password digests, the UserInfo object will also allow you to verify the digest.
Constructor Summary | |
UserInfo(java.lang.String username)
Creates a UserInfo with the username provide.d |
|
UserInfo(java.lang.String username,
byte[] digest,
java.lang.String nonce,
java.lang.String created)
Creates a UserInfo with the username, password digest, and digest components. |
|
UserInfo(java.lang.String username,
java.lang.String password)
Creates a UserInfo with the username and password provided. |
Method Summary | |
java.lang.String |
getPassword()
Returns the password string, if available. |
byte[] |
getPasswordDigest()
returns the password digest, if availalble. |
java.lang.String |
getUsername()
|
boolean |
verifyPassword(java.lang.String password)
Verifies this UserInfo's password matches the provided password. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UserInfo(java.lang.String username)
username
- public UserInfo(java.lang.String username, java.lang.String password)
username
- password
- public UserInfo(java.lang.String username, byte[] digest, java.lang.String nonce, java.lang.String created)
username
- the usernamedigest
- the unencoded bytes of the digest.nonce
- a String containing random data, included in the hash computationcreated
- -- A XSD:DateTime time string.Method Detail |
public java.lang.String getUsername()
public java.lang.String getPassword()
public byte[] getPasswordDigest()
public boolean verifyPassword(java.lang.String password) throws java.security.NoSuchAlgorithmException
password
-
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |