|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationLDAPServer
This interface define methods to manage LDAP server configuration remotely.
| Method Summary | |
|---|---|
java.lang.String |
createRoleMap(java.lang.String filter,
java.lang.String roleName)
add a new role map to server. |
boolean |
editRoleMap(java.lang.String roleMapName,
java.lang.String filter,
java.lang.String roleName)
Edit a exist role map by it's name |
java.lang.String |
getAdminGroup()
Return admin group. |
java.util.Vector |
getAllRoleMaps()
Get all role maps |
void |
getDefauleSettingValue(java.lang.String oldType)
|
java.lang.String |
getDirectoryManagerDN()
Return directory of manage Distinguish Name. |
java.lang.String |
getGroupCommonName()
Return Group Common Name of attribute for LDAP. |
java.lang.String |
getGroupDescriptions(java.lang.String groupName)
check Group and return the Group Description |
java.lang.String |
getGroupDistinguishName()
Return group distinguish name of attribute for LDAP. |
java.lang.String |
getGroupFilter()
Return filter string for LDAP. |
java.lang.String |
getGroupMemberType()
Return Group Member Type for LDAP. |
java.util.Vector |
getGroupNames()
check Group and return the Group Name |
java.lang.String |
getImportGroupType()
Get the LDAP Group importing principal type |
int |
getLADPServerPort()
Return LDAP server port. |
java.lang.String |
getLDAPURL()
Return LDAP URL. |
java.lang.String |
getLDAPVersion()
Return LDAP Version Number. |
java.lang.String |
getPassword()
Return Password for LDAP. |
java.util.Hashtable |
getProperties()
|
java.lang.String |
getRoot()
Return LDAP root. |
java.util.Vector |
getRootUsers()
Return root users . |
java.lang.String |
getUserAttributeName()
Return userID name of attribute for LDAP. |
java.lang.String |
getUserCommonName()
Return user common name of attribute for LDAP. |
java.lang.String |
getUserDistinguishName()
Return user distinguish name of attribute for LDAP. |
java.lang.String |
getUserFilter()
Return filter string for LDAP. |
java.lang.String |
getUserFullNames(java.lang.String name)
Return the user Fullname |
java.util.Vector |
getUserNames()
Return the user information |
java.lang.String |
getUserPassword()
Return user password name of attribute for LDAP. |
java.lang.String[] |
getUseServerList()
Return list for server method name. |
boolean |
isConnection()
Return check if coonect with LDAP server. |
boolean |
isConnection(java.util.Hashtable props)
Return check if coonect with LDAP server. |
boolean |
isEnableNoneImportedLDAPSupport()
Check the server security system uses the LDAP providers or not |
boolean |
isEncryptionInLayer()
Return whether use secure sockets layer in TCP/IP when server communicate with LDAP server |
boolean |
isImportUserUponAuthentication()
return if user authentication. |
boolean |
isLdapEnable()
Return if LDAP enable. |
java.util.Vector |
queryGroups(java.util.Hashtable h)
Get the LDAP groups |
java.util.Vector |
queryUsers(java.util.Hashtable h)
Get the LDAP users |
boolean |
removeRoleMap(java.lang.String roleMapName)
Remove a role map from the server |
void |
saveProperties()
Save all properties of LDAP setting into file. |
void |
setAdminGroup(java.lang.String adminGroup)
Set admin group. |
void |
setDirectoryManagerDN(java.lang.String directoryManagerDN)
Set directory of manage Distinguish Name. |
void |
setEnableLDAPProviders(boolean isEnableLDAPProvers)
Set if the server security system uses the LDAP providers |
void |
setEncryptionInLayer(boolean isEncrytion)
Set whether use secure sockets layer in TCP/IP when server communicate with LDAP server |
void |
setGroupCommonName(java.lang.String groupCommonName)
Set Group Common Name of attribute for LDAP. |
void |
setGroupDistinguishName(java.lang.String distinguishName)
Set group distinguish name of attribute for LDAP. |
void |
setGroupFilter(java.lang.String filter)
Set filter string for LDAP. |
void |
setGroupMemberType(java.lang.String groupMemberType)
Set Group Member Type for LDAP. |
void |
setImportGroupType(java.lang.String type)
Set import LDAP group into server's role or group |
void |
setImportUserUponAuthentication(boolean isImport)
Set Import upon Authentication |
void |
setLADPServerPort(int LDAPPort)
Set LDAP server port. |
void |
setLdapEnable(boolean isEnable)
Set if LDAP enable. |
void |
setLDAPURL(java.lang.String LDAPUrl)
Set LDAP URL. |
void |
setLDAPVersion(java.lang.String LDAPVersion)
Set LDAP Version Number. |
void |
setPassword(java.lang.String password)
Set Password for LDAP. |
void |
setRoot(java.lang.String root)
Set LDAP root. |
void |
setUserAttributeName(java.lang.String userAttributeName)
Set userID name of attribute for LDAP. |
void |
setUserCommonName(java.lang.String userCommonName)
Set user common name of attribute for LDAP. |
void |
setUserDistinguishName(java.lang.String distinguishName)
Set user distinguish name of attribute for LDAP. |
void |
setUserFilter(java.lang.String filter)
Set filter string for LDAP. |
void |
setUserPassword(java.lang.String password)
Set user password name of attribute for LDAP. |
| Method Detail |
|---|
void setLdapEnable(boolean isEnable)
throws java.rmi.RemoteException
isEnable - if LDAP enable .
java.rmi.RemoteException - will be thrown if error occurs.
boolean isLdapEnable()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setImportUserUponAuthentication(boolean isImport)
throws java.rmi.RemoteException
isImport - if import user upon authentication enable.
java.rmi.RemoteException - will be thrown if error occurs.
boolean isImportUserUponAuthentication()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getLDAPVersion()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setLDAPVersion(java.lang.String LDAPVersion)
throws java.rmi.RemoteException
LDAPVersion - it has two available vlues 2 and 3.
java.rmi.RemoteException - will be thrown if error occurs.
void setLDAPURL(java.lang.String LDAPUrl)
throws java.rmi.RemoteException
LDAPUrl - LDAP URL.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getLDAPURL()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setLADPServerPort(int LDAPPort)
throws java.rmi.RemoteException
LDAPPort - LDAP server port.
java.rmi.RemoteException - will be thrown if error occurs.
int getLADPServerPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setRoot(java.lang.String root)
throws java.rmi.RemoteException
root - LDAP root.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getRoot()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setDirectoryManagerDN(java.lang.String directoryManagerDN)
throws java.rmi.RemoteException
directoryManagerDN - directory of manage Distinguish Name.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getDirectoryManagerDN()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setPassword(java.lang.String password)
throws java.rmi.RemoteException
password - Password for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getPassword()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setEncryptionInLayer(boolean isEncrytion)
throws java.rmi.RemoteException
isEncrytion - if will use SSL set true, otherwise set false
java.rmi.RemoteException - will be thrown if error occurs.
boolean isEncryptionInLayer()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setImportGroupType(java.lang.String type)
throws java.rmi.RemoteException
type - role or group
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getImportGroupType()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String[] getUseServerList()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean isConnection()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isConnection(java.util.Hashtable props)
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getRootUsers()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setGroupCommonName(java.lang.String groupCommonName)
throws java.rmi.RemoteException
groupCommonName - Common Name of attribute for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getGroupCommonName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setGroupMemberType(java.lang.String groupMemberType)
throws java.rmi.RemoteException
groupMemberType - Member Type for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getGroupMemberType()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setGroupDistinguishName(java.lang.String distinguishName)
throws java.rmi.RemoteException
distinguishName - group distinguish name of attribute for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getGroupDistinguishName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setGroupFilter(java.lang.String filter)
throws java.rmi.RemoteException
filter - filter string for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getGroupFilter()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setAdminGroup(java.lang.String adminGroup)
throws java.rmi.RemoteException
adminGroup - admin group.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getAdminGroup()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getGroupNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector queryGroups(java.util.Hashtable h)
throws java.rmi.RemoteException
h - the LDAP configration
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getGroupDescriptions(java.lang.String groupName)
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setUserAttributeName(java.lang.String userAttributeName)
throws java.rmi.RemoteException
userAttributeName - userID name of attribute for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getUserAttributeName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setUserCommonName(java.lang.String userCommonName)
throws java.rmi.RemoteException
userCommonName - user common name of attribute for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getUserCommonName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setUserPassword(java.lang.String password)
throws java.rmi.RemoteException
password - user password name of attribute for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getUserPassword()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setUserDistinguishName(java.lang.String distinguishName)
throws java.rmi.RemoteException
distinguishName - user distinguish name of attribute for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getUserDistinguishName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setUserFilter(java.lang.String filter)
throws java.rmi.RemoteException
filter - filter string for LDAP.
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getUserFilter()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getUserNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector queryUsers(java.util.Hashtable h)
throws java.rmi.RemoteException
h - the LDAP configration
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String getUserFullNames(java.lang.String name)
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void getDefauleSettingValue(java.lang.String oldType)
throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Hashtable getProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException
void saveProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String createRoleMap(java.lang.String filter,
java.lang.String roleName)
throws RoleMapExistException,
java.rmi.RemoteException
filter - the role map's LDAP search filter stringroleName - the role map's binding role name
RoleMapExistException - if have this role map
java.rmi.RemoteException - will be thrown if error occurs.
boolean removeRoleMap(java.lang.String roleMapName)
throws NoSuchRoleMapException,
java.rmi.RemoteException
roleMapName - the role map's server
NoSuchRoleMapException - if have not this role map
java.rmi.RemoteException - will be thrown if error occurs.
boolean editRoleMap(java.lang.String roleMapName,
java.lang.String filter,
java.lang.String roleName)
throws NoSuchRoleMapException,
java.rmi.RemoteException
roleMapName - the role map's namefilter - the role map's new filterroleName - the role map's new binding role name
NoSuchRoleMapException - if have not this role map
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getAllRoleMaps()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean isEnableNoneImportedLDAPSupport()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void setEnableLDAPProviders(boolean isEnableLDAPProvers)
throws java.rmi.RemoteException
isEnableLDAPProvers - if the server security system uses the LDAP providers
java.rmi.RemoteException - will be thrown if error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||