Novell exteNd
Director 5.2 API

com.sssw.fw.directory.api
Interface EbiWriteableRealm

All Superinterfaces:
EbiRealm
All Known Subinterfaces:
EbiDirectoryManager, EbiSilverServerRealm, EbiUserManagerRealm, EbiWeblogicRealm, EbiWebsphereRealm

public interface EbiWriteableRealm
extends EbiRealm

Interface that custom realms need to implement if they wish to provide write access in the directory service. The directory manager loads instances of realms that implement this interface as well as the super-interface EbiRealm.


Method Summary
 void addGroup(EbiContext context, String groupname)
          Adds a group to the realm.
 void addUser(EbiContext context, String username, String password)
          Adds a user to the realm.
 void removeGroup(EbiContext context, String groupname)
          Removes a group from the realm.
 void removeUser(EbiContext context, String username)
          Removes a user from the writeable the realm.
 
Methods implemented from interface com.sssw.fw.directory.api.EbiRealm
authUserPassword, getAnonymous, getAuthenticatedUser, getChildGroups, getEbiRealmUserByUniqueID, getEbiRealmUsersByUniqueIDs, getGroup, getGroupMembershipList, getGroups, getGroups, getParentGroups, getRealmGroups, getRealmName, getUser, getUsers, getUsers, isAnonymous, isContainerSupported, isDynamicGroupSupported, isGroupQuerySupported, isNestedGroupSupported, isUserQuerySupported, isValidUserID, logoff
 

Method Detail

addUser

public void addUser(EbiContext context,
                    String username,
                    String password)
             throws EboException
Adds a user to the realm.
Parameters:
context - an EbiContext object.
username - the user name to be added.
password - the password for the user.

addGroup

public void addGroup(EbiContext context,
                     String groupname)
              throws EboException
Adds a group to the realm.
Parameters:
context - an EbiContext object.
groupname - the group name to be added.

removeUser

public void removeUser(EbiContext context,
                       String username)
                throws EboException
Removes a user from the writeable the realm.
Parameters:
context - an EbiContext object.
username - the user name to be removed.

removeGroup

public void removeGroup(EbiContext context,
                        String groupname)
                 throws EboException
Removes a group from the realm.
Parameters:
context - an EbiContext object.
groupname - the group name to be removed.

Novell exteNd
Director 5.2 API