public class CreateConnector extends CreateDirectory implements com.opensymphony.xwork2.ModelDriven<ConnectorConnection>
Modifier and Type | Field and Description |
---|---|
protected boolean |
filterExpiredUsers |
protected boolean |
localGroups |
protected boolean |
localUserStatusEnabled |
protected boolean |
pagedResults |
protected boolean |
primaryGroupSupport |
protected boolean |
referral |
protected boolean |
useNestedGroups |
protected String |
userEncryptionMethod |
protected boolean |
useUserMembershipAttribute |
protected boolean |
useUserMembershipAttributeForGroupMembership |
active, availableDirectoryTypes, description, directoryType, ID, name, permissions, tabID
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
CreateConnector() |
getDescription, getDirectoryType, getDirectoryTypeAction, getDirectoryTypeOption, getID, getName, getTabID, isActive, isPermissionGroupAdd, isPermissionGroupAttributeModify, isPermissionGroupModify, isPermissionGroupRemove, isPermissionPrincipalAdd, isPermissionPrincipalAttributeModify, isPermissionPrincipalModify, isPermissionPrincipalRemove, select, setActive, setDescription, setDirectoryType, setID, setName, setPermissionGroupAdd, setPermissionGroupAttributeModify, setPermissionGroupModify, setPermissionGroupRemove, setPermissionPrincipalAdd, setPermissionPrincipalAttributeModify, setPermissionPrincipalModify, setPermissionPrincipalRemove, setTabID
addActionError, addActionMessage, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
protected boolean referral
protected boolean pagedResults
protected String userEncryptionMethod
protected boolean filterExpiredUsers
protected boolean localUserStatusEnabled
protected boolean localGroups
protected boolean useNestedGroups
protected boolean primaryGroupSupport
protected boolean useUserMembershipAttribute
protected boolean useUserMembershipAttributeForGroupMembership
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class CreateDirectory
public String update()
public DirectoryImpl buildDirectoryConfiguration()
protected void doValidation()
protected void validateGroupConfiguration()
protected void validateConnection()
protected void validateDetails()
public Map getConnectors()
public String getURL()
public void setURL(String URL)
public String getBaseDN()
public void setBaseDN(String baseDN)
public String getLdapPassword()
public void setLdapPassword(String ldapPassword)
public boolean isSecure()
public void setSecure(boolean secure)
public String getUserDN()
public void setUserDN(String userDN)
public String getConnector()
public void setConnector(String connector)
public String getGroupDescriptionAttr()
public void setGroupDescriptionAttr(String groupDescriptionAttr)
public String getGroupMemberAttr()
public void setGroupMemberAttr(String groupMemberAttr)
public String getGroupNameAttr()
public void setGroupNameAttr(String groupNameAttr)
public String getGroupObjectClass()
public void setGroupObjectClass(String groupObjectClass)
public String getUserObjectClass()
public void setUserObjectClass(String userObjectClass)
public String getUserGroupMemberAttr()
public void setUserGroupMemberAttr(String userGroupMemberAttr)
public String getUserFirstnameAttr()
public void setUserFirstnameAttr(String userFirstnameAttr)
public String getUserLastnameAttr()
public void setUserLastnameAttr(String userLastnameAttr)
public String getUserMailAttr()
public void setUserMailAttr(String userMailAttr)
public String getUserNameAttr()
public void setUserNameAttr(String userNameAttr)
public String getUserNameRdnAttr()
public void setUserNameRdnAttr(String userNameRdnAttr)
public String getGroupDNaddition()
public void setGroupDNaddition(String groupDNaddition)
public String getUserDNaddition()
public void setUserDNaddition(String userDNaddition)
public String getUserPasswordAttr()
public void setUserPasswordAttr(String userPasswordAttr)
public boolean isReferral()
public void setReferral(boolean referral)
public String getGroupObjectFilter()
public void setGroupObjectFilter(String groupObjectFilter)
public String getUserObjectFilter()
public void setUserObjectFilter(String userObjectFilter)
public String getUserExternalIdAttr()
public void setUserExternalIdAttr(String userExternalIdAttr)
public boolean isPagedResults()
true
if and only if directory option to support paged results is enabled, otherwise false
.public void setPagedResults(boolean pagedResults)
pagedResults
- true
if and only if the entity is active, otherwise false
.public String getUserEncryptionMethod()
public void setUserEncryptionMethod(String userEncryptionMethod)
public PasswordEncoderFactory getPasswordEncoderFactory()
public void setPasswordEncoderFactory(PasswordEncoderFactory passwordEncoderFactory)
public String getUserDisplayNameAttr()
public void setUserDisplayNameAttr(String userDisplayNameAttr)
public int getPagedResultsSize()
public void setPagedResultsSize(int pagedResultsSize)
pagedResultsSize
- The paging size to use.public boolean isFilterExpiredUsers()
public void setFilterExpiredUsers(boolean filterExpiredUsers)
public boolean isLocalUserStatusEnabled()
public void setLocalUserStatusEnabled(boolean localUserStatusEnabled)
public boolean isLocalGroupsEnabled()
public void setLocalGroupsEnabled(boolean localGroups)
public boolean isPrimaryGroupSupport()
public void setPrimaryGroupSupport(boolean primaryGroupSupport)
public boolean isUseNestedGroups()
public void setUseNestedGroups(boolean useNestedGroups)
public boolean isUseUserMembershipAttribute()
public void setUseUserMembershipAttribute(boolean useUserMembershipAttribute)
public boolean isUseUserMembershipAttributeForGroupMembership()
public void setUseUserMembershipAttributeForGroupMembership(boolean useUserMembershipAttributeForGroupMembership)
public boolean isUseRelaxedDNStandardisation()
public void setUseRelaxedDNStandardisation(boolean useRelaxedDNStandardisation)
public void setLdapPropertiesHelper(LDAPPropertiesHelper ldapPropertiesHelper)
public void setConnectorValidator(ConnectorValidator connectorValidator)
public void setDirectoryInstanceLoader(DirectoryInstanceLoader directoryInstanceLoader)
protected DirectoryInstanceLoader getDirectoryInstanceLoader()
public boolean isCacheEnabled()
public void setCacheEnabled(boolean cacheEnabled)
public Long getId()
public String getImplementationClass()
public void populateDirectoryAttributesForConnectionTest(Map<String,String> attributes)
public ConnectorConnection getModel()
getModel
in interface com.opensymphony.xwork2.ModelDriven<ConnectorConnection>
Copyright © 2018 Atlassian. All rights reserved.