Package com.logicaldoc.ldap
Class LDAPServer
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.ldap.LDAPServer
- All Implemented Interfaces:
Serializable
public class LDAPServer
extends com.logicaldoc.core.PersistentObject
Represents a remote LDAP authentication server
- Since:
- 8.2.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
decryptPassword
(String password) int
getAnon()
int
List of CNs where groups can be stored.int
int
getRealm()
int
getUrl()
List of CNs where users can be stored.int
void
setAnon
(int anon) void
setDefaultGroups
(String defaultGroups) void
setDefaultGroupsSet
(Set<Long> defaultGroups) void
setEnabled
(int enabled) void
setGroupClass
(String groupClass) void
setGroupExcludes
(String groupExcludes) void
setGroupIdAttr
(String groupIdAttr) void
setGroupIncludes
(String groupIncludes) void
setGroupNodes
(String groupNodes) void
setKeepLocalMemberships
(int keepLocalMemberships) void
setLanguage
(String language) void
setLogonAttr
(String logonAttr) void
setPageSize
(Integer pageSize) void
setPassword
(String password) void
setPasswordDecrypted
(String password) void
setPosition
(int position) void
void
setSyncTtl
(Integer syncTtl) void
setTimeout
(int timeout) void
void
setUserClass
(String userClass) void
setUserExcludes
(String userExcludes) void
setUserIdAttr
(String userIdAttr) void
setUserIncludes
(String userIncludes) void
setUsername
(String username) void
setUserNodes
(String userNodes) void
setUserType
(int userType) void
setValidation
(String validation) toString()
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Constructor Details
-
LDAPServer
public LDAPServer()
-
-
Method Details
-
getEnabled
public int getEnabled() -
setEnabled
public void setEnabled(int enabled) -
getUrl
-
getUsername
-
getPassword
-
getAnon
public int getAnon() -
getLanguage
-
getUserType
public int getUserType() -
getRealm
-
getPageSize
-
getUserIdAttr
-
getUserClass
-
getUserNodes
-
getGroupIdAttr
-
getGroupClass
-
getGroupNodes
-
setUrl
-
setUsername
-
setPassword
-
setAnon
public void setAnon(int anon) -
setLanguage
-
setUserType
public void setUserType(int userType) -
setRealm
-
setPageSize
-
setUserIdAttr
-
setUserClass
-
setUserNodes
-
setGroupIdAttr
-
setGroupClass
-
setGroupNodes
-
getUserIncludes
-
getUserExcludes
-
getGroupIncludes
-
getGroupExcludes
-
setUserIncludes
-
setUserExcludes
-
setGroupIncludes
-
setGroupExcludes
-
getLogonAttr
-
setLogonAttr
-
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
toString
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
getGroupBase
List of CNs where groups can be stored. The group base list, each element separated by a semi-colon(;). Property 'ldap.groupBase'- Returns:
- list of CNs
-
getUserBase
List of CNs where users can be stored. The user base list, each element separated by a semi-colon(;), property 'ldap.userBase'.- Returns:
- list of CNs
-
getPasswordDecrypted
-
setPasswordDecrypted
-
decryptPassword
-
getSyncTtl
-
setSyncTtl
-
getKeepLocalMemberships
public int getKeepLocalMemberships() -
setKeepLocalMemberships
public void setKeepLocalMemberships(int keepLocalMemberships) -
getValidation
-
setValidation
-
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout) -
getDefaultGroupsSet
-
getDefaultGroups
-
setDefaultGroupsSet
-
setDefaultGroups
-