Class CreateConnector

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven<ConnectorConnection>, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
CreateDelegated

public class CreateConnector extends CreateDirectory implements com.opensymphony.xwork2.ModelDriven<ConnectorConnection>
See Also:
  • Field Details

    • referral

      protected boolean referral
    • pagedResults

      protected boolean pagedResults
    • userEncryptionMethod

      protected String userEncryptionMethod
    • filterExpiredUsers

      protected boolean filterExpiredUsers
    • localUserStatusEnabled

      protected boolean localUserStatusEnabled
    • localGroups

      protected boolean localGroups
    • useNestedGroups

      protected boolean useNestedGroups
    • primaryGroupSupport

      protected boolean primaryGroupSupport
    • useUserMembershipAttribute

      protected boolean useUserMembershipAttribute
    • useUserMembershipAttributeForGroupMembership

      protected boolean useUserMembershipAttributeForGroupMembership
    • ldapPoolType

      protected LdapPoolType ldapPoolType
    • maxTotal

      protected int maxTotal
    • maxTotalPerKey

      protected int maxTotalPerKey
    • maxIdlePerKey

      protected int maxIdlePerKey
    • minIdlePerKey

      protected int minIdlePerKey
    • blockWhenExhausted

      protected boolean blockWhenExhausted
    • maxWait

      protected long maxWait
    • testOnCreate

      protected boolean testOnCreate
    • testOnBorrow

      protected boolean testOnBorrow
    • testOnReturn

      protected boolean testOnReturn
    • testWhileIdle

      protected boolean testWhileIdle
    • evictionRunIntervalSeconds

      protected long evictionRunIntervalSeconds
    • minEvictableTimeSeconds

      protected long minEvictableTimeSeconds
  • Constructor Details

    • CreateConnector

      public CreateConnector()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class CreateDirectory
    • update

      public String update()
    • buildDirectoryConfiguration

      public DirectoryImpl buildDirectoryConfiguration()
    • doValidation

      protected void doValidation(Directory directory)
    • getConnectors

      public Map getConnectors()
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getBaseDN

      public String getBaseDN()
    • setBaseDN

      public void setBaseDN(String baseDN)
    • getLdapPassword

      public String getLdapPassword()
    • setLdapPassword

      public void setLdapPassword(String ldapPassword)
    • getSecureModes

      public LdapSecureMode[] getSecureModes()
    • getSecureMode

      public String getSecureMode()
    • setSecureMode

      public void setSecureMode(String secureMode)
    • getUserDN

      public String getUserDN()
    • setUserDN

      public void setUserDN(String userDN)
    • getConnector

      public String getConnector()
    • setConnector

      public void setConnector(String connector)
    • getGroupDescriptionAttr

      public String getGroupDescriptionAttr()
    • setGroupDescriptionAttr

      public void setGroupDescriptionAttr(String groupDescriptionAttr)
    • getGroupMemberAttr

      public String getGroupMemberAttr()
    • setGroupMemberAttr

      public void setGroupMemberAttr(String groupMemberAttr)
    • getGroupNameAttr

      public String getGroupNameAttr()
    • setGroupNameAttr

      public void setGroupNameAttr(String groupNameAttr)
    • getGroupObjectClass

      public String getGroupObjectClass()
    • setGroupObjectClass

      public void setGroupObjectClass(String groupObjectClass)
    • getUserObjectClass

      public String getUserObjectClass()
    • setUserObjectClass

      public void setUserObjectClass(String userObjectClass)
    • getUserGroupMemberAttr

      public String getUserGroupMemberAttr()
    • setUserGroupMemberAttr

      public void setUserGroupMemberAttr(String userGroupMemberAttr)
    • getUserFirstnameAttr

      public String getUserFirstnameAttr()
    • setUserFirstnameAttr

      public void setUserFirstnameAttr(String userFirstnameAttr)
    • getUserLastnameAttr

      public String getUserLastnameAttr()
    • setUserLastnameAttr

      public void setUserLastnameAttr(String userLastnameAttr)
    • getUserMailAttr

      public String getUserMailAttr()
    • setUserMailAttr

      public void setUserMailAttr(String userMailAttr)
    • getUserNameAttr

      public String getUserNameAttr()
    • setUserNameAttr

      public void setUserNameAttr(String userNameAttr)
    • getUserNameRdnAttr

      public String getUserNameRdnAttr()
    • setUserNameRdnAttr

      public void setUserNameRdnAttr(String userNameRdnAttr)
    • getGroupDNaddition

      public String getGroupDNaddition()
    • setGroupDNaddition

      public void setGroupDNaddition(String groupDNaddition)
    • getUserDNaddition

      public String getUserDNaddition()
    • setUserDNaddition

      public void setUserDNaddition(String userDNaddition)
    • getUserPasswordAttr

      public String getUserPasswordAttr()
    • setUserPasswordAttr

      public void setUserPasswordAttr(String userPasswordAttr)
    • isReferral

      public boolean isReferral()
    • setReferral

      public void setReferral(boolean referral)
    • getGroupObjectFilter

      public String getGroupObjectFilter()
    • setGroupObjectFilter

      public void setGroupObjectFilter(String groupObjectFilter)
    • getUserObjectFilter

      public String getUserObjectFilter()
    • setUserObjectFilter

      public void setUserObjectFilter(String userObjectFilter)
    • getUserExternalIdAttr

      public String getUserExternalIdAttr()
    • setUserExternalIdAttr

      public void setUserExternalIdAttr(String userExternalIdAttr)
    • isPagedResults

      public boolean isPagedResults()
      Gets if paged results are going to used when pulling data from the LDAP server.
      Returns:
      true if and only if directory option to support paged results is enabled, otherwise false.
    • setPagedResults

      public void setPagedResults(boolean pagedResults)
      Sets if paged results are going to be used when pulling data from the LDAP server.
      Parameters:
      pagedResults - true if and only if the entity is active, otherwise false.
    • getUserEncryptionMethod

      public String getUserEncryptionMethod()
    • setUserEncryptionMethod

      public void setUserEncryptionMethod(String userEncryptionMethod)
    • getPasswordEncoderFactory

      public PasswordEncoderFactory getPasswordEncoderFactory()
    • setPasswordEncoderFactory

      public void setPasswordEncoderFactory(PasswordEncoderFactory passwordEncoderFactory)
    • getUserDisplayNameAttr

      public String getUserDisplayNameAttr()
    • setUserDisplayNameAttr

      public void setUserDisplayNameAttr(String userDisplayNameAttr)
    • getUserEncryptionMethods

      public List<PairType> getUserEncryptionMethods()
    • getPagedResultsSize

      public int getPagedResultsSize()
      Gets the paging size to use when iterating LDAP results returned from a directory query.
      Returns:
      The paging size to use.
    • setPagedResultsSize

      public void setPagedResultsSize(int pagedResultsSize)
      Sets the paging size to use when iterating LDAP results returned from a directory query.
      Parameters:
      pagedResultsSize - The paging size to use.
    • isFilterExpiredUsers

      public boolean isFilterExpiredUsers()
    • setFilterExpiredUsers

      public void setFilterExpiredUsers(boolean filterExpiredUsers)
    • isLocalUserStatusEnabled

      public boolean isLocalUserStatusEnabled()
    • setLocalUserStatusEnabled

      public void setLocalUserStatusEnabled(boolean localUserStatusEnabled)
    • isLocalGroupsEnabled

      public boolean isLocalGroupsEnabled()
    • setLocalGroupsEnabled

      public void setLocalGroupsEnabled(boolean localGroups)
    • isPrimaryGroupSupport

      public boolean isPrimaryGroupSupport()
    • setPrimaryGroupSupport

      public void setPrimaryGroupSupport(boolean primaryGroupSupport)
    • isUseNestedGroups

      public boolean isUseNestedGroups()
    • setUseNestedGroups

      public void setUseNestedGroups(boolean useNestedGroups)
    • isUseUserMembershipAttribute

      public boolean isUseUserMembershipAttribute()
    • setUseUserMembershipAttribute

      public void setUseUserMembershipAttribute(boolean useUserMembershipAttribute)
    • isUseUserMembershipAttributeForGroupMembership

      public boolean isUseUserMembershipAttributeForGroupMembership()
    • setUseUserMembershipAttributeForGroupMembership

      public void setUseUserMembershipAttributeForGroupMembership(boolean useUserMembershipAttributeForGroupMembership)
    • isUseRelaxedDNStandardisation

      public boolean isUseRelaxedDNStandardisation()
    • setUseRelaxedDNStandardisation

      public void setUseRelaxedDNStandardisation(boolean useRelaxedDNStandardisation)
    • setLdapPropertiesHelper

      public void setLdapPropertiesHelper(LDAPPropertiesHelper ldapPropertiesHelper)
    • setConnectorValidator

      public void setConnectorValidator(ConnectorValidator connectorValidator)
    • setDirectoryInstanceLoader

      public void setDirectoryInstanceLoader(DirectoryInstanceLoader directoryInstanceLoader)
    • setSpringLdapPoolConfigService

      public void setSpringLdapPoolConfigService(SpringLdapPoolConfigService springLdapPoolConfigService)
    • getDirectoryInstanceLoader

      protected DirectoryInstanceLoader getDirectoryInstanceLoader()
    • isCacheEnabled

      public boolean isCacheEnabled()
    • setCacheEnabled

      public void setCacheEnabled(boolean cacheEnabled)
    • getId

      public Long getId()
    • getImplementationClass

      public String getImplementationClass()
    • populateDirectoryAttributesForConnectionTest

      public void populateDirectoryAttributesForConnectionTest(Map<String,String> attributes)
    • getModel

      public ConnectorConnection getModel()
      Specified by:
      getModel in interface com.opensymphony.xwork2.ModelDriven<ConnectorConnection>
    • getLdapPoolType

      public String getLdapPoolType()
    • setLdapPoolType

      public void setLdapPoolType(String ldapPoolType)
    • getMaxTotal

      public int getMaxTotal()
    • setMaxTotal

      public void setMaxTotal(int maxTotal)
    • getMaxTotalPerKey

      public int getMaxTotalPerKey()
    • setMaxTotalPerKey

      public void setMaxTotalPerKey(int maxTotalPerKey)
    • getMaxIdlePerKey

      public int getMaxIdlePerKey()
    • setMaxIdlePerKey

      public void setMaxIdlePerKey(int maxIdlePerKey)
    • getMinIdlePerKey

      public int getMinIdlePerKey()
    • setMinIdlePerKey

      public void setMinIdlePerKey(int minIdlePerKey)
    • isBlockWhenExhausted

      public boolean isBlockWhenExhausted()
    • setBlockWhenExhausted

      public void setBlockWhenExhausted(boolean blockWhenExhausted)
    • getMaxWait

      public long getMaxWait()
    • setMaxWait

      public void setMaxWait(int maxWait)
    • isTestOnCreate

      public boolean isTestOnCreate()
    • setTestOnCreate

      public void setTestOnCreate(boolean testOnCreate)
    • isTestOnBorrow

      public boolean isTestOnBorrow()
    • setTestOnBorrow

      public void setTestOnBorrow(boolean testOnBorrow)
    • isTestOnReturn

      public boolean isTestOnReturn()
    • setTestOnReturn

      public void setTestOnReturn(boolean testOnReturn)
    • isTestWhileIdle

      public boolean isTestWhileIdle()
    • setTestWhileIdle

      public void setTestWhileIdle(boolean testWhileIdle)
    • getEvictionRunIntervalSeconds

      public long getEvictionRunIntervalSeconds()
    • setEvictionRunIntervalSeconds

      public void setEvictionRunIntervalSeconds(long evictionRunIntervalSeconds)
    • getMinEvictableTimeSeconds

      public long getMinEvictableTimeSeconds()
    • setMinEvictableTimeSeconds

      public void setMinEvictableTimeSeconds(long minEvictableTimeSeconds)
    • getPoolTypeOptions

      public List<Map<String,Object>> getPoolTypeOptions()
    • setHelpPathResolver

      public void setHelpPathResolver(CrowdHelpPathResolver crowdHelpPathResolver)
    • setDirectoryValidationHelper

      public void setDirectoryValidationHelper(DirectoryValidationHelper directoryValidationHelper)