|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.security.acl.DefaultUserInfoImpl
public class DefaultUserInfoImpl
DefaultUserInfoImpl is the default implementation of the UserInfo interface. UserInfo objects are created by a RealmProxy and passed to the T3Client constructor. The WebLogic Server uses a UserInfo object to allow the corresponding realm to retrieve the corresponding user and checks it against the provided information.
DefaultUserInfoImpl accepts as credentials password strings and/or a single X509 certificate or a chain of them. If the explicitly provided username is null, the user's name is extracted from the certificate.
If you inherit from this class, be sure to implement the hashCode and equals methods correctly.
Field Summary | |
---|---|
protected Vector |
certificates
Deprecated. |
protected String |
id
Deprecated. |
protected String |
password
Deprecated. |
protected String |
realmName
Deprecated. |
Constructor Summary | |
---|---|
DefaultUserInfoImpl()
Deprecated. Constructs a DefaultUserInfoImpl. |
|
DefaultUserInfoImpl(String name,
Object credential)
Deprecated. Create a user using the default realm. |
|
DefaultUserInfoImpl(String name,
Object credential,
String realmName)
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated. |
boolean |
equalsInAllButName(DefaultUserInfoImpl that)
Deprecated. Ensure that the non-name components of a UserInfo object match those of another. |
Vector |
getCertificates()
Deprecated. Deprecated in WebLogic Server 7.0. |
String |
getName()
Deprecated. Gets the name associated with a DefaultUserInfo. |
String |
getPassword()
Deprecated. |
String |
getRealmName()
Deprecated. Gets the name of the realm associated with a DefaultUserInfo. |
boolean |
hasCertificates()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
hasPassword()
Deprecated. |
protected void |
setCredential(Object c)
Deprecated. |
void |
setName(String newName)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String realmName
protected String id
protected transient String password
protected Vector certificates
Constructor Detail |
---|
public DefaultUserInfoImpl()
public DefaultUserInfoImpl(String name, Object credential)
public DefaultUserInfoImpl(String name, Object credential, String realmName)
Method Detail |
---|
public String getRealmName()
public String getName()
public void setName(String newName)
public String toString()
toString
in class Object
protected void setCredential(Object c)
public boolean hasPassword()
public String getPassword()
public boolean hasCertificates()
public Vector getCertificates()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public boolean equalsInAllButName(DefaultUserInfoImpl that)
|
Copyright 1996, 2010, 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.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |