| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.xml.security.UserInfo
public class 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(String username)Deprecated. Creates a UserInfo with the username provide.d | |
| UserInfo(String username,
         byte[] digest,
         String nonce,
         String created)Deprecated. Creates a UserInfo with the username, password digest, and digest components. | |
| UserInfo(String username,
         String password)Deprecated. Creates a UserInfo with the username and password provided. | |
| Method Summary | |
|---|---|
|  String | getPassword()Deprecated. Returns the password string, if available. | 
|  byte[] | getPasswordDigest()Deprecated. returns the password digest, if availalble. | 
|  String | getUsername()Deprecated. | 
|  boolean | verifyPassword(String password)Deprecated. 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(String username)
username - 
public UserInfo(String username,
                String password)
username - password - 
public UserInfo(String username,
                byte[] digest,
                String nonce,
                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 String getUsername()
public String getPassword()
public byte[] getPasswordDigest()
public boolean verifyPassword(String password)
                       throws NoSuchAlgorithmException
password - 
NoSuchAlgorithmException| 
 | 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||