|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.tam.CommonBase
com.ibm.di.connector.tam.User
public class User
User class contains the functionality to find, add, modify and delete Users from TAM using the TAM Connector for TDI
Field Summary |
---|
Fields inherited from class com.ibm.di.connector.tam.CommonBase |
---|
DATE_FORMAT, MAX_SIGNED_DWORD, MAX_UNSIGNED_DWORD, mLogProxy, mPDContext, mPDMessages, QSS_BOOLEAN, QSS_BYTE_ARRAY, QSS_DATE, QSS_INTEGER, QSS_LONG, QSS_STRING, QSS_VECTOR |
Constructor Summary | |
---|---|
User(Entry entry,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor used to instantiate a User from the Entry object. |
|
User(SearchCriteria searchcriteria,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor used to instantiate a User from the search criteria. |
|
User(String s,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor used to instantiate a User from the PDUser object. |
Method Summary | |
---|---|
void |
delete(boolean deleteReg)
Delete user entry. |
String |
desc()
|
Entry |
getAttributes()
Constructs an Entry object from the user details. |
List |
getGroups()
Returns the Groups associated with the user |
String |
getLoginID()
Return the Login ID for the User |
Attribute |
groupsAttribute()
|
Boolean |
isAccountValid()
|
Boolean |
isPasswordValid()
|
Boolean |
isSSOUser()
|
static List |
list(com.tivoli.pd.jutil.PDContext pdContext)
Returns a list (ArrayList) of all the Users for the TAM Context |
Integer |
maxFailedLogins()
|
void |
modify(Entry changes)
Modify a user entry. |
String |
password()
|
void |
put(boolean importReg)
Creates a user in TAM from the TDI input details |
Boolean |
replaceGroups()
|
static Vector |
schema()
returns the schema for TDI. |
Methods inherited from class com.ibm.di.connector.tam.CommonBase |
---|
addSchemaEntry, createAndAddEntryAttribute, debug, debug, error, getBooleanEntryAttributeValue, getByteArrayEntryAttributeValue, getDateEntryAttributeValue, getIntegerEntryAttributeValue, getLongEntryAttributeValue, getPDMessage, getStringEntryAttributeValue, logmsg, printEntry, processMsgs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public User(String s, com.tivoli.pd.jutil.PDContext context, Log log) throws com.tivoli.pd.jutil.PDException
Uses the common log object from the TAMConnector class.
s
- Contains the User namecontext
- The TAM Contextlog
- The Connector log
com.tivoli.pd.jutil.PDException
PDUser
,
TAMConnector
public User(Entry entry, com.tivoli.pd.jutil.PDContext context, Log log)
Uses the common log object from the TAMConnector class.
entry
- the Entry objectcontext
- the TAM contextlog
- the LogProxyImpl objectEntry
,
TAMConnector
public User(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log) throws TAMConnectorException, com.tivoli.pd.jutil.PDException
Uses the common log object from the TAMConnector class.
searchcriteria
- the user login search criteriacontext
- the TAM contextlog
- the LogProxyImpl object
TAMConnectorException
com.tivoli.pd.jutil.PDException
SearchCriteria
,
PDContext
,
TAMConnector
Method Detail |
---|
public List getGroups()
Vector
public String getLoginID()
public Entry getAttributes()
The Entry object is used by TDI
Entry
public void put(boolean importReg) throws TAMConnectorException
importReg
- true
if the user should be import created,
false
if the use should be created without importing.
TAMConnectorException
com.tivoli.pd.jutil.PDException
public String desc()
public String password()
public Boolean isAccountValid()
public Boolean isPasswordValid()
public Boolean isSSOUser()
public Integer maxFailedLogins()
public Boolean replaceGroups()
public Attribute groupsAttribute()
public void modify(Entry changes) throws TAMConnectorException
changes
- The user entry to modify.
TAMConnectorException
com.tivoli.pd.jutil.PDException
public void delete(boolean deleteReg) throws TAMConnectorException, com.tivoli.pd.jutil.PDException
deleteReg
- true
to delete the user details from TAM and the registry
false
to delete from TAM and not the registry
TAMConnectorException
com.tivoli.pd.jutil.PDException
public static Vector schema()
public static List list(com.tivoli.pd.jutil.PDContext pdContext) throws com.tivoli.pd.jutil.PDException
pdContext
- The TAM Context
com.tivoli.pd.jutil.PDException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |