BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.common
Class T3User

java.lang.Object
  |
  +--weblogic.security.acl.DefaultUserInfoImpl
        |
        +--weblogic.common.T3User

Deprecated. Deprecated in WebLogic Server 7.0.

public final class T3User
extends DefaultUserInfoImpl

The T3User object is an implementation of weblogic.security.acl.defaultUserInfo that is backward compatible with WebLogic versions before 2.6.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
See Also:
T3Client, Serialized Form

Field Summary
static T3User GUEST
          Deprecated. A default T3User.
 
Fields inherited from class weblogic.security.acl.DefaultUserInfoImpl
certificates, id, password, realmName
 
Constructor Summary
T3User()
          Deprecated. Constructs an empty T3User object and initializes all its variables to empty strings.
T3User(SSLCertificate c)
          Deprecated. Constructs a T3User with the specified certificate.
T3User(java.lang.String username, java.lang.String password)
          Deprecated. Constructs a T3User with the specified username and password.
 
Method Summary
 boolean equals(java.lang.Object that)
          Deprecated. Checks password equality between this T3User and the specified object (that T3User).
 boolean equals(java.lang.String otherId, java.lang.String pw, java.lang.String rName)
          Deprecated. Compares the equality of a T3User with an ID, a password, and a realm name.
 java.util.Vector getCertificates()
          Deprecated. Returns the certificate of a T3User object.
 java.lang.String getUsername()
          Deprecated. Returns the user name of a T3User object.
 int hashCode()
          Deprecated.  
 T3User password(java.lang.String val)
          Deprecated. Sets the password of a T3User.
 T3User username(java.lang.String val)
          Deprecated. Sets the username of a T3User.
 
Methods inherited from class weblogic.security.acl.DefaultUserInfoImpl
equalsInAllButName, getName, getPassword, getRealmName, hasCertificates, hasPassword, setCredential, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GUEST

public static final T3User GUEST
Deprecated. 
A default T3User.
Constructor Detail

T3User

public T3User()
Deprecated. 
Constructs an empty T3User object and initializes all its variables to empty strings.

T3User

public T3User(java.lang.String username,
              java.lang.String password)
Deprecated. 
Constructs a T3User with the specified username and password.

Parameters:
username - Username for this T3User
password - Password for this T3user

T3User

public T3User(SSLCertificate c)
Deprecated. 
Constructs a T3User with the specified certificate.

Parameters:
c - SSLCertificate for this T3User
Method Detail

username

public T3User username(java.lang.String val)
Deprecated. 
Sets the username of a T3User.

Parameters:
val - String user name
Returns:
T3User object

password

public T3User password(java.lang.String val)
Deprecated. 
Sets the password of a T3User.

Parameters:
val - String password
Returns:
T3User object

getUsername

public java.lang.String getUsername()
Deprecated. 
Returns the user name of a T3User object.

Returns:
String username

getCertificates

public java.util.Vector getCertificates()
Deprecated. 
Returns the certificate of a T3User object.

Returns:
Vector of X509 certificates
Overrides:
getCertificates in class DefaultUserInfoImpl

equals

public boolean equals(java.lang.Object that)
Deprecated. 
Checks password equality between this T3User and the specified object (that T3User). Certificates are not checked in this method. If the argument is not a T3User object, the method returns false.

Parameters:
that - Object that is a T3User
Returns:
true if the password, ID, and realm name all match
Overrides:
equals in class DefaultUserInfoImpl

equals

public boolean equals(java.lang.String otherId,
                      java.lang.String pw,
                      java.lang.String rName)
Deprecated. 
Compares the equality of a T3User with an ID, a password, and a realm name.

Parameters:
otherId - T3User id
pw - T3User password
rName - T3User realmName
Returns:
true if the password, ID, and realm name all match

hashCode

public int hashCode()
Deprecated. 

Overrides:
hashCode in class DefaultUserInfoImpl

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b