public class SynchronizeLDAP extends XMLRequest
Constructor and Description |
---|
SynchronizeLDAP(UC4UserName user)
Creates a new
SynchronizeLDAP request. |
SynchronizeLDAP(UserListItem userItem)
Creates a new
SynchronizeLDAP request in another client. |
Modifier and Type | Method and Description |
---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
java.lang.String |
getDistinguishedName()
Returns the distinguished name of the user.
|
java.lang.String |
getEmail()
Returns the email address of the user or
null if this request has not been sent. |
java.lang.String |
getFirstName()
Returns the first name of the user or
null if this request has not been sent. |
java.lang.String |
getLastName()
Returns the last name of the user or
null if this request has not been sent. |
protected java.lang.String |
getSrc()
Returns the request source.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
boolean |
isActive()
Returns
true if the user is active, false if inactive. |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isLocked()
Returns
true if the user is locked. |
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
public SynchronizeLDAP(UC4UserName user)
SynchronizeLDAP
request.user
- Name of the UC4 userpublic SynchronizeLDAP(UserListItem userItem)
SynchronizeLDAP
request in another client.userItem
- Item of the user list which is created by the UserList requestprotected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
XMLRequest
createRequest
in class XMLRequest
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
handleContent
in class XMLRequest
protected boolean isAllowedInClientZero()
XMLRequest
XMLRequest
is allowed in client 0.
The default implementation returns false
, subclasses may override.isAllowedInClientZero
in class XMLRequest
true
if this request is allowed in client 0, false
otherwisepublic boolean isActive()
true
if the user is active, false if inactive.
Active means that the user can log on to the UC4 system.public boolean isLocked()
true
if the user is locked.
The repeated indication of a wrong password has the effect that a user is locked.public java.lang.String getFirstName()
null
if this request has not been sent.public java.lang.String getLastName()
null
if this request has not been sent.public java.lang.String getEmail()
null
if this request has not been sent.public java.lang.String getDistinguishedName()