Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.0.0)

E17486-01

oracle.adf.share.security.identitymanagement
Class User

java.lang.Object
  extended by oracle.adf.share.security.identitymanagement.User
All Implemented Interfaces:
ADFIdentity

public class User
extends java.lang.Object
implements ADFIdentity

This class represents the most basic user representation. It is expected that this class will be subclassed by IdentityManagement providers with more robust implementations of a user representation.


Constructor Summary
User()
          Creates a new User
User(java.lang.String name)
          Creates a new User with the specified name.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Checks two User objects for equality.
 java.lang.String getName()
          Returns the name of this User.
 ADFIdentityType getType()
          Internal: Applications should not use this method.
 java.lang.String getUsername()
          Returns the username of this User.
 void setUsername(java.lang.String name)
          Sets the username of this User.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Creates a new User


User

public User(java.lang.String name)
Creates a new User with the specified name.

Parameters:
name - the name of the user.
Method Detail

getUsername

public java.lang.String getUsername()
Returns the username of this User.


setUsername

public void setUsername(java.lang.String name)
Sets the username of this User.

Parameters:
name - the user name.

equals

public boolean equals(java.lang.Object obj)
Checks two User objects for equality.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the user object to be compared.
Returns:
boolean true if the name is the same.

getName

public java.lang.String getName()
Returns the name of this User.

Specified by:
getName in interface ADFIdentity
Returns:
String user name.

getType

public ADFIdentityType getType()
Internal: Applications should not use this method.

Specified by:
getType in interface ADFIdentity

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.0.0)

E17486-01

Copyright © 1997, 2011, Oracle. All rights reserved.