BEA Systems, Inc.

weblogic.security.acl
Class User

java.lang.Object
  extended by java.security.Identity
      extended by weblogic.security.acl.User
All Implemented Interfaces:
Serializable, Principal
Direct Known Subclasses:
DefaultUserImpl, Everyone, GroupImpl

Deprecated. Deprecated in WebLogic Server 7.0. Replaced by the rules-based Authorization Provider in the Pluggable Security Infrastructure.

public class User
extends Identity

Users are created or retrieved through some realm. That realm knows how to check credentials coming from a RealmProxy.

See Also:
Serialized Form

Constructor Summary
User()
          Deprecated.  
User(String name)
          Deprecated.  
User(String name, boolean r)
          Deprecated.  
 
Method Summary
 Object getCredential(Object ownerCredential)
          Deprecated. Returns a User's credential, if the ownerCredential is accepted by the realm, or null otherwise.
 BasicRealm getRealm()
          Deprecated. Gets the realm associated with a User.
protected  boolean identityEquals(Identity other)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.security.Identity
addCertificate, certificates, equals, getInfo, getName, getPublicKey, getScope, hashCode, removeCertificate, setInfo, setPublicKey, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Deprecated. 

User

public User(String name)
Deprecated. 

User

public User(String name,
            boolean r)
Deprecated. 
Method Detail

getRealm

public BasicRealm getRealm()
Deprecated. 
Gets the realm associated with a User.

Returns:
BasicRealm

getCredential

public Object getCredential(Object ownerCredential)
Deprecated. 
Returns a User's credential, if the ownerCredential is accepted by the realm, or null otherwise. A credential may be an X509 certificate, a certificate token, password, or other authentication object. Only an owner has access to credentials of its Realm's users.

Parameters:
ownerCredential - Credential of an owner
Returns:
Credential of this user

identityEquals

protected boolean identityEquals(Identity other)
Deprecated. 
Overrides:
identityEquals in class Identity

toString

public String toString()
Deprecated. 
Specified by:
toString in interface Principal
Overrides:
toString in class Identity

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.