com.webmethods.sc.directory
Interface IDirectoryPrincipalListener


public interface IDirectoryPrincipalListener

Interface that defines directory principal listener


Field Summary
static int ACTION_ATTRIBUTES_MODIFIED
          Principal attributes have been modified
static int ACTION_CREATED
          New principal is created
static int ACTION_DELETED
          Principal was deleted
static int ACTION_GROUP_MEMBERSHIP_CHANGED
          Principal group membership has changed
static int ACTION_ROLE_MEMBERSHIP_CHANGED
          Principal role membership has changed
 
Method Summary
 void onAction(String prinicipalID, int action)
          Notifies listener about one of the action happened to the given principal
 

Field Detail

ACTION_CREATED

static final int ACTION_CREATED
New principal is created

See Also:
Constant Field Values

ACTION_DELETED

static final int ACTION_DELETED
Principal was deleted

See Also:
Constant Field Values

ACTION_GROUP_MEMBERSHIP_CHANGED

static final int ACTION_GROUP_MEMBERSHIP_CHANGED
Principal group membership has changed

See Also:
Constant Field Values

ACTION_ROLE_MEMBERSHIP_CHANGED

static final int ACTION_ROLE_MEMBERSHIP_CHANGED
Principal role membership has changed

See Also:
Constant Field Values

ACTION_ATTRIBUTES_MODIFIED

static final int ACTION_ATTRIBUTES_MODIFIED
Principal attributes have been modified

See Also:
Constant Field Values
Method Detail

onAction

void onAction(String prinicipalID,
              int action)
Notifies listener about one of the action happened to the given principal

Parameters:
prinicipalID - ID of the principal changed
action - type of a change action occurred to the principal