|
||||||||||
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 IBM Tivoli Directory Integrator
Field Summary | |
---|---|
static java.lang.String |
USER_ATTR_LOGIN_ID
|
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(com.tivoli.pd.jutil.PDContext context,
SearchCriteria searchcriteria,
Log log)
Constructor used to instantiate a User from the search criteria. |
|
User(SearchCriteria searchcriteria,
com.tivoli.pd.jutil.PDContext context,
Log log)
Constructor used to instantiate a User from the search criteria. |
|
User(java.lang.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. |
java.lang.String |
desc()
|
Entry |
getAttributes()
Constructs an Entry object from the user details. |
java.util.List |
getGroups()
Returns the Groups associated with the user |
java.lang.String |
getLoginID()
Return the Login ID for the User |
Attribute |
groupsAttribute()
|
java.lang.Boolean |
isAccountValid()
|
java.lang.Boolean |
isPasswordValid()
|
java.lang.Boolean |
isSSOUser()
|
static java.util.List |
list(com.tivoli.pd.jutil.PDContext pdContext)
Returns a list (ArrayList) of all the Users for the TAM Context |
static java.util.List |
list(SearchCriteria searchCriteria,
com.tivoli.pd.jutil.PDContext pdContext)
Returns a list (ArrayList) of all the Users for the TAM Context matching search criteria value |
static java.util.List |
list(java.lang.String filter,
com.tivoli.pd.jutil.PDContext pdContext)
Returns a filtered list (ArrayList) of all the Users for the TAM Context |
java.lang.Integer |
maxConcurrentWebSessions()
|
java.lang.Integer |
maxFailedLogins()
|
void |
modify(Entry changes)
Modify a user entry. |
java.lang.String |
password()
|
void |
put(boolean importReg)
Creates a user in TAM from the IBM Tivoli Directory Integrator input details |
java.lang.Boolean |
replaceGroups()
|
static java.util.Vector |
schema()
returns the schema for IBM Tivoli Directory Integrator. |
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 |
Field Detail |
---|
public static final java.lang.String USER_ATTR_LOGIN_ID
Constructor Detail |
---|
public User(java.lang.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
public User(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log) throws TAMConnectorException
Uses the common log object from the TAMConnector class.
context
- the TAM contextsearchcriteria
- the user login search criterialog
- the LogProxyImpl object
TAMConnectorException
SearchCriteria
,
PDContext
,
TAMConnector
Method Detail |
---|
public java.util.List getGroups()
Vector
public java.lang.String getLoginID()
public Entry getAttributes()
The Entry object is used by IBM Tivoli Directory Integrator
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
public java.lang.String desc()
public java.lang.String password()
public java.lang.Boolean isAccountValid()
public java.lang.Boolean isPasswordValid()
public java.lang.Boolean isSSOUser()
public java.lang.Integer maxFailedLogins()
public java.lang.Integer maxConcurrentWebSessions()
public java.lang.Boolean replaceGroups()
public Attribute groupsAttribute()
public void modify(Entry changes) throws TAMConnectorException
changes
- The user entry to modify.
TAMConnectorException
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 java.util.Vector schema()
public static java.util.List list(com.tivoli.pd.jutil.PDContext pdContext) throws com.tivoli.pd.jutil.PDException
pdContext
- The TAM Context
com.tivoli.pd.jutil.PDException
public static java.util.List list(SearchCriteria searchCriteria, com.tivoli.pd.jutil.PDContext pdContext) throws com.tivoli.pd.jutil.PDException
pdContext
- The TAM ContextsearchCriteria
- The IDI search criteria
com.tivoli.pd.jutil.PDException
public static java.util.List list(java.lang.String filter, com.tivoli.pd.jutil.PDContext pdContext) throws com.tivoli.pd.jutil.PDException
filter
- A TAM User filter string. The filter is a case-sensitive
mixture of string constants and wildcards. Filtering is on the
principal namepdContext
- The TAM Contex
com.tivoli.pd.jutil.PDException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |