|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationLDAPServer
This interface defines methods to manage LDAP server configuration remotely.
| Method Summary | |
|---|---|
java.lang.String |
createRoleMap(java.lang.String filter,
java.lang.String roleName)
Adds a new role map to the server. |
boolean |
editRoleMap(java.lang.String roleMapName,
java.lang.String filter,
java.lang.String roleName)
Edits an existing role map by its name. |
java.lang.String |
getAdminGroup()
Returns the admin group. |
java.util.Vector |
getAllRoleMaps()
Gets all role maps. |
void |
getDefauleSettingValue(java.lang.String oldType)
Gets the default LDAP configuration. |
java.lang.String |
getDirectoryManagerDN()
Returns the directory of manager distinguished name. |
java.lang.String |
getGroupCommonName()
Returns the Group Common Name for LDAP. |
java.lang.String |
getGroupDescriptions(java.lang.String groupName)
Checks groups and returns the Group Descriptions. |
java.lang.String |
getGroupDistinguishName()
Returns the group distinguished name for LDAP. |
java.lang.String |
getGroupFilter()
Returns the filter string for LDAP. |
java.lang.String |
getGroupMemberType()
Returns the Group Member Type for LDAP. |
java.util.Vector |
getGroupNames()
Checks groups and returns the group names. |
java.lang.String |
getGroupSAN()
|
java.lang.String |
getImportGroupType()
Gets the LDAP Group importing principal type. |
int |
getLADPServerPort()
Returns the LDAP server port. |
java.lang.String |
getLDAPURL()
Returns the LDAP URL. |
java.lang.String |
getLDAPVersion()
Returns LDAP Version Number. |
java.lang.String |
getPassword()
Returns the Password for LDAP. |
java.util.Hashtable |
getProperties()
Gets all properties of LDAP setting. |
java.lang.String |
getRoot()
Returns the LDAP root. |
java.util.Vector |
getRootUsers()
Returns the root users. |
java.lang.String |
getUserAttributeName()
Returns userID name for LDAP. |
java.lang.String |
getUserCommonName()
Returns user common name for LDAP. |
java.lang.String |
getUserDistinguishName()
Returns user distinguished name for LDAP. |
java.lang.String |
getUserFilter()
Returns the filter string for LDAP. |
java.lang.String |
getUserFullNames(java.lang.String name)
Returns the user full name. |
java.util.Vector |
getUserNames()
Returns the user information. |
java.lang.String |
getUserPassword()
Returns user password name for LDAP. |
java.lang.String |
getUserSAN()
|
java.lang.String[] |
getUseServerList()
Returns the server method names. |
boolean |
isConnection()
Returns whether to connect with the LDAP server. |
boolean |
isConnection(java.util.Hashtable props)
Returns whether to connect with the LDAP server. |
boolean |
isEnableNoneImportedLDAPSupport()
Checks whether the server security system uses the LDAP providers or not. |
boolean |
isEncryptionInLayer()
Returns whether to use secure sockets layer in TCP/IP when the server communicates with the LDAP server |
boolean |
isGroupEnableSAN()
|
boolean |
isImportUserUponAuthentication()
Returns if user authentication is enabled. |
boolean |
isLdapEnable()
Returns whether LDAP is enabled. |
boolean |
isUserEnableSAN()
|
java.util.Vector |
queryGroups(java.util.Hashtable h)
Gets the LDAP groups |
java.util.Vector |
queryUsers(java.util.Hashtable h)
Gets the LDAP users. |
boolean |
removeRoleMap(java.lang.String roleMapName)
Removes a role map from the server. |
void |
saveProperties()
Saves all properties of LDAP setting into a file. |
void |
setAdminGroup(java.lang.String adminGroup)
Sets the admin group. |
void |
setDirectoryManagerDN(java.lang.String directoryManagerDN)
Sets the directory of manage Distinguish Name. |
void |
setEnableLDAPProviders(boolean isEnableLDAPProvers)
Sets if the server security system uses the LDAP providers. |
void |
setEncryptionInLayer(boolean isEncrytion)
Sets whether to use secure sockets layer in TCP/IP when the server communicates with the LDAP server. |
void |
setGroupCommonName(java.lang.String groupCommonName)
Sets the Group Common Name for LDAP. |
void |
setGroupDistinguishName(java.lang.String distinguishName)
Sets the group distinguished name for LDAP. |
void |
setGroupEnableSAN(boolean groupEnableSAN)
|
void |
setGroupFilter(java.lang.String filter)
Sets the filter string for LDAP. |
void |
setGroupMemberType(java.lang.String groupMemberType)
Sets the Group Member Type for LDAP. |
void |
setGroupSAN(java.lang.String groupSAN)
|
void |
setImportGroupType(java.lang.String type)
Sets to import LDAP group into the server's role or group |
void |
setImportUserUponAuthentication(boolean isImport)
Sets to Import upon Authentication. |
void |
setLADPServerPort(int LDAPPort)
Sets the LDAP server port. |
void |
setLdapEnable(boolean isEnable)
Sets whether LDAP is enabled. |
void |
setLDAPURL(java.lang.String LDAPUrl)
Sets the LDAP URL. |
void |
setLDAPVersion(java.lang.String LDAPVersion)
Sets LDAP Version Number. |
void |
setPassword(java.lang.String password)
Sets the Password for LDAP. |
void |
setRoot(java.lang.String root)
Sets the LDAP root. |
void |
setUserAttributeName(java.lang.String userAttributeName)
Sets userID name for LDAP. |
void |
setUserCommonName(java.lang.String userCommonName)
Sets user common name for LDAP. |
void |
setUserDistinguishName(java.lang.String distinguishName)
Sets user distinguished name for LDAP. |
void |
setUserEnableSAN(boolean userEnableSAN)
|
void |
setUserFilter(java.lang.String filter)
Sets the filter string for LDAP. |
void |
setUserPassword(java.lang.String password)
Sets user password name for LDAP. |
void |
setUserSAN(java.lang.String userSAN)
|
| Method Detail |
|---|
void setLdapEnable(boolean isEnable)
throws java.rmi.RemoteException
isEnable - whether LDAP is enabled.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isLdapEnable()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setImportUserUponAuthentication(boolean isImport)
throws java.rmi.RemoteException
isImport - if importing user upon authentication is enabled.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isImportUserUponAuthentication()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getLDAPVersion()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setLDAPVersion(java.lang.String LDAPVersion)
throws java.rmi.RemoteException
LDAPVersion - it has two available values 2 and 3.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setLDAPURL(java.lang.String LDAPUrl)
throws java.rmi.RemoteException
LDAPUrl - the LDAP URL.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getLDAPURL()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setLADPServerPort(int LDAPPort)
throws java.rmi.RemoteException
LDAPPort - the LDAP server port.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
int getLADPServerPort()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setRoot(java.lang.String root)
throws java.rmi.RemoteException
root - the LDAP root.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getRoot()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setDirectoryManagerDN(java.lang.String directoryManagerDN)
throws java.rmi.RemoteException
directoryManagerDN - the directory of manage Distinguish Name.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getDirectoryManagerDN()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setPassword(java.lang.String password)
throws java.rmi.RemoteException
password - the Password for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getPassword()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setEncryptionInLayer(boolean isEncrytion)
throws java.rmi.RemoteException
isEncrytion - true if SSL is used, otherwise false
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isEncryptionInLayer()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setImportGroupType(java.lang.String type)
throws java.rmi.RemoteException
type - the role or group
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getImportGroupType()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String[] getUseServerList()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isConnection()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isConnection(java.util.Hashtable props)
throws java.rmi.RemoteException
props - the properties of the LDAP setting.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector getRootUsers()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setGroupCommonName(java.lang.String groupCommonName)
throws java.rmi.RemoteException
groupCommonName - the Group Common Name for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getGroupCommonName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setGroupMemberType(java.lang.String groupMemberType)
throws java.rmi.RemoteException
groupMemberType - the Member Type for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getGroupMemberType()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setGroupDistinguishName(java.lang.String distinguishName)
throws java.rmi.RemoteException
distinguishName - the group distinguished name for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getGroupDistinguishName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setGroupFilter(java.lang.String filter)
throws java.rmi.RemoteException
filter - the filter string for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getGroupFilter()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setAdminGroup(java.lang.String adminGroup)
throws java.rmi.RemoteException
adminGroup - the admin group.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getAdminGroup()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector getGroupNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector queryGroups(java.util.Hashtable h)
throws java.rmi.RemoteException
h - the LDAP configuration
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getGroupDescriptions(java.lang.String groupName)
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setUserAttributeName(java.lang.String userAttributeName)
throws java.rmi.RemoteException
userAttributeName - userID name for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getUserAttributeName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setUserCommonName(java.lang.String userCommonName)
throws java.rmi.RemoteException
userCommonName - user common name for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getUserCommonName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setUserPassword(java.lang.String password)
throws java.rmi.RemoteException
password - user password name for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getUserPassword()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setUserDistinguishName(java.lang.String distinguishName)
throws java.rmi.RemoteException
distinguishName - user distinguished name for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getUserDistinguishName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setUserFilter(java.lang.String filter)
throws java.rmi.RemoteException
filter - the filter string for LDAP.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getUserFilter()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector getUserNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector queryUsers(java.util.Hashtable h)
throws java.rmi.RemoteException
h - the LDAP configuration
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String getUserFullNames(java.lang.String name)
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void getDefauleSettingValue(java.lang.String oldType)
throws java.rmi.RemoteException
oldType - the LDAP Server type.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Hashtable getProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void saveProperties()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.lang.String createRoleMap(java.lang.String filter,
java.lang.String roleName)
throws jet.server.jrc.security.ldap.RoleMapExistException,
java.rmi.RemoteException
filter - the role map's LDAP search filter stringroleName - the role map's bound role name
jet.server.jrc.security.ldap.RoleMapExistException - if there is this role map
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean removeRoleMap(java.lang.String roleMapName)
throws jet.server.jrc.security.ldap.NoSuchRoleMapException,
java.rmi.RemoteException
roleMapName - the role map's server
jet.server.jrc.security.ldap.NoSuchRoleMapException - if there is not this role map
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean editRoleMap(java.lang.String roleMapName,
java.lang.String filter,
java.lang.String roleName)
throws jet.server.jrc.security.ldap.NoSuchRoleMapException,
java.rmi.RemoteException
roleMapName - the role map's namefilter - the role map's new filterroleName - the role map's new bound role name
jet.server.jrc.security.ldap.NoSuchRoleMapException - if there is 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 - if communication-related error occurs during RMI call execution.
void setEnableLDAPProviders(boolean isEnableLDAPProvers)
throws java.rmi.RemoteException
isEnableLDAPProvers - if the server security system uses the LDAP providers
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
void setUserEnableSAN(boolean userEnableSAN)
throws java.rmi.RemoteException
java.rmi.RemoteException
void setUserSAN(java.lang.String userSAN)
throws java.rmi.RemoteException
java.rmi.RemoteException
void setGroupEnableSAN(boolean groupEnableSAN)
throws java.rmi.RemoteException
java.rmi.RemoteException
void setGroupSAN(java.lang.String groupSAN)
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isUserEnableSAN()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getUserSAN()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isGroupEnableSAN()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getGroupSAN()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||