Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05

weblogic.security.acl
Class DefaultUserImpl

java.lang.Object
  extended by User
      extended by weblogic.security.acl.DefaultUserImpl
All Implemented Interfaces:
Serializable

Deprecated. Deprecated in WebLogic Server 7.0. Replaced by JAAS principal and the Pluggable Security Infrastructure .

public class DefaultUserImpl
extends User
implements Serializable

DefaultUserImpl is the default implementation of the interface User. It only has a name and credentials -- no other constraints. The credentials can be a password string and/or an X509 certificate or a chain of X509 certificates. Note that certificates are accepted, but ignored; only passwords are honoured.


Constructor Summary
DefaultUserImpl()
          Deprecated. Constructs a DefaultUserImpl.
DefaultUserImpl(String name, Object credential, BasicRealm realm)
          Deprecated.  
 
Method Summary
 Object getCredential(Object ownerCredential)
          Deprecated. Gets the credential of a DefaultUser.
 BasicRealm getRealm()
          Deprecated. Gets the BasicRealm associated with a DefaultUser.
 boolean hasMatchingInfo(UserInfo unauthenticatedUserInfo)
          Deprecated.  
protected  void setCredential(Object credential)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserImpl

public DefaultUserImpl()
Deprecated. 
Constructs a DefaultUserImpl. For serialization only.


DefaultUserImpl

public DefaultUserImpl(String name,
                       Object credential,
                       BasicRealm realm)
Deprecated. 
Method Detail

getRealm

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

Returns:
BasicRealm

getCredential

public Object getCredential(Object ownerCredential)
Deprecated. 
Gets the credential of a DefaultUser. Only an owner of the ACL for a realm can request the credential of a user.

Parameters:
ownerCredential - Owner of the realm's ACL
Returns:
Credential, as a DefaultUserInfo object

setCredential

protected void setCredential(Object credential)
Deprecated. 

hasMatchingInfo

public boolean hasMatchingInfo(UserInfo unauthenticatedUserInfo)
Deprecated. 

Copyright 1996, 2011, 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.5)

Part Number E13941-05