Blue Mind
Release 1.0

net.bluemind.system.ldap
Class LdapHook

java.lang.Object
  extended by DefaultSystemHook
      extended by net.bluemind.system.ldap.LdapHook

public class LdapHook
extends DefaultSystemHook


Field Summary
static String HOST_TAG
           
 
Constructor Summary
LdapHook(ICore core)
           
 
Method Summary
 LdapConnection getLdapCon(AccessToken at, Domain d)
           
 void onGroupCreated(AccessToken at, Group g)
           
 void onGroupDeleted(AccessToken at, Group g)
           
 void onGroupMembersChanged(AccessToken at, Group g)
           
 void onGroupUpdated(AccessToken at, Group previous, Group current)
           
 void onHostAssigned(AccessToken at, String tag, Host h, String domain)
           
 void onHostTagged(AccessToken at, String tag, Host h)
           
 void onHostUnassigned(AccessToken at, String tag, Host h, Domain d)
           
 void onUserCreated(AccessToken at, User u)
           
 void onUserDeleted(AccessToken at, User u)
           
 void onUserUpdated(AccessToken at, User previous, User current)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_TAG

public static final String HOST_TAG
See Also:
Constant Field Values
Constructor Detail

LdapHook

public LdapHook(ICore core)
Method Detail

getLdapCon

public LdapConnection getLdapCon(AccessToken at,
                                 Domain d)
                          throws ServerFault,
                                 AuthFault
Throws:
ServerFault
AuthFault

onHostTagged

public void onHostTagged(AccessToken at,
                         String tag,
                         Host h)
                  throws AuthFault,
                         ServerFault
Throws:
AuthFault
ServerFault

onHostAssigned

public void onHostAssigned(AccessToken at,
                           String tag,
                           Host h,
                           String domain)
                    throws ServerFault,
                           AuthFault
Throws:
ServerFault
AuthFault

onHostUnassigned

public void onHostUnassigned(AccessToken at,
                             String tag,
                             Host h,
                             Domain d)
                      throws ServerFault,
                             AuthFault
Throws:
ServerFault
AuthFault

onUserCreated

public void onUserCreated(AccessToken at,
                          User u)
                   throws ServerFault,
                          AuthFault
Throws:
ServerFault
AuthFault

onUserUpdated

public void onUserUpdated(AccessToken at,
                          User previous,
                          User current)
                   throws ServerFault,
                          AuthFault
Throws:
ServerFault
AuthFault

onUserDeleted

public void onUserDeleted(AccessToken at,
                          User u)
                   throws ServerFault,
                          AuthFault
Throws:
ServerFault
AuthFault

onGroupMembersChanged

public void onGroupMembersChanged(AccessToken at,
                                  Group g)
                           throws ServerFault,
                                  AuthFault
Throws:
ServerFault
AuthFault

onGroupCreated

public void onGroupCreated(AccessToken at,
                           Group g)
                    throws ServerFault,
                           AuthFault
Throws:
ServerFault
AuthFault

onGroupUpdated

public void onGroupUpdated(AccessToken at,
                           Group previous,
                           Group current)
                    throws ServerFault,
                           AuthFault
Throws:
ServerFault
AuthFault

onGroupDeleted

public void onGroupDeleted(AccessToken at,
                           Group g)
                    throws ServerFault,
                           AuthFault
Throws:
ServerFault
AuthFault

Blue Mind
Release 1.0