Package alpine.event
Class LdapSyncEvent
java.lang.Object
alpine.event.LdapSyncEvent
- All Implemented Interfaces:
Event
An Event implementation specific for LDAP synchronization tasks.
see alpine.server.tasks.LdapSyncTask
- Since:
- 1.0.0
- Author:
- Steve Springett
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.LdapSyncEvent(String username) Use of this constructor will indicate that only the specified LdapUser object will need to be synchronized. -
Method Summary
Modifier and TypeMethodDescriptionReturns the username of the LdapUser to synchronize.
-
Constructor Details
-
LdapSyncEvent
public LdapSyncEvent()Default constructor. This will indicate the all LdapUser objects need to be synchronized. -
LdapSyncEvent
Use of this constructor will indicate that only the specified LdapUser object will need to be synchronized.- Parameters:
username- the username of the LdapUser to syncronize
-
-
Method Details
-
getUsername
Returns the username of the LdapUser to synchronize. This method will return null if the default constructor was used.- Returns:
- a String of the username
-