public interface DirectoryMigrationProvider
Defines the public interface that a directory service needs to implement
to support directory migration operations.
The end target repository is a directory server.
A DirectoryMigrationProvider
object can communicate with the directory server
via LDAP or some other form of API.
This is a singleton object. For a given type of directory server, the Content Engine makes sure that only one instance of the implementation class is created.
Modifier and Type | Method and Description |
---|---|
GroupInfo[] |
getGroupsByShortName(java.lang.String groupShortName,
java.lang.String[] requestedProperties)
For Internal Use Only.
|
java.lang.String |
getSearchableSid(RealmInfo realmInfo,
boolean isGroup,
byte[] sid)
For Internal Use Only.
|
UserInfo[] |
getUsersByShortName(java.lang.String userShortName,
java.lang.String[] requestedProperties)
For Internal Use Only.
|
UserInfo[] getUsersByShortName(java.lang.String userShortName, java.lang.String[] requestedProperties) throws javax.naming.NamingException
userShortName
- User short name (for example, user1).requestedProperties
- Requested property names. Needs to be
converted to directory service attributes inside the method.UserInfo
object array which contains users with the requested properties. If
not found, returns an empty array.javax.naming.NamingException
GroupInfo[] getGroupsByShortName(java.lang.String groupShortName, java.lang.String[] requestedProperties) throws javax.naming.NamingException
groupShortName
- Group short name (for example, group1).requestedProperties
- Requested property names. Needs to be
converted to directory service attributes inside the method.GroupInfo
object array which contains groups with the requested group properties. If
not found, returns an empty array.javax.naming.NamingException
java.lang.String getSearchableSid(RealmInfo realmInfo, boolean isGroup, byte[] sid)
realmInfo
- The P8 realm this sid belongs to.isGroup
- is this a group or a user.sid
- SID in P8 byte format.© Copyright IBM Corporation 2006, 2015. All rights reserved.