Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.acl
Class DefaultUserImpl

    java.lang.Object
      User
          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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD