Package org.jenkinsci.test.acceptance.po
Class LdapSecurityRealm<T extends LdapGroupMembershipStrategy>
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageAreaImpl
-
- org.jenkinsci.test.acceptance.po.SecurityRealm
-
- org.jenkinsci.test.acceptance.po.LdapSecurityRealm<T>
-
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
- Direct Known Subclasses:
LdapSecurityRealm_Pre1_10
public class LdapSecurityRealm<T extends LdapGroupMembershipStrategy> extends SecurityRealm
SecurityRealm for ldap plugin.- Author:
- Michael Prankl
- See Also:
if you want to test versions of the plugin older than 1.10
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
Fields Modifier and Type Field Description protected Control
addEnvVariableButton
protected Control
advanced
protected Control
advancedServer
protected Control
disableLdapEmailResolver
protected Control
enableCache
protected Control
groupMembershipFilter
only available prior ldap plugin version 1.10protected Control
groupSearchBase
protected Control
groupSearchFilter
protected Control
ldapServer
protected Control
managerDn
protected Control
managerPassword
protected Control
rootDn
protected Control
userSearchBase
protected Control
userSearchFilter
-
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
-
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
-
Constructor Summary
Constructors Constructor Description LdapSecurityRealm(GlobalSecurityConfig context, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(LdapDetails<T> ldapDetails)
Fills the input fields for ldap access control.protected void
configureGroupMembership(LdapDetails<T> ldapDetails)
Subclasses can override this to handle group membership differently.-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPage, getPath, getPath, getPath, path, self
-
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, executeScript, fillIn, find, findIfNotVisible, getElement, getPageSource, last, lastIfNotVisible, runThenConfirmAlert, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
-
-
-
Field Detail
-
ldapServer
protected final Control ldapServer
-
advancedServer
protected final Control advancedServer
-
rootDn
protected final Control rootDn
-
managerDn
protected final Control managerDn
-
managerPassword
protected final Control managerPassword
-
userSearchBase
protected final Control userSearchBase
-
userSearchFilter
protected final Control userSearchFilter
-
groupSearchBase
protected final Control groupSearchBase
-
groupSearchFilter
protected final Control groupSearchFilter
-
groupMembershipFilter
protected final Control groupMembershipFilter
only available prior ldap plugin version 1.10
-
disableLdapEmailResolver
protected final Control disableLdapEmailResolver
-
enableCache
protected final Control enableCache
-
addEnvVariableButton
protected final Control addEnvVariableButton
-
advanced
protected final Control advanced
-
-
Constructor Detail
-
LdapSecurityRealm
public LdapSecurityRealm(GlobalSecurityConfig context, String path)
-
-
Method Detail
-
configure
public void configure(LdapDetails<T> ldapDetails)
Fills the input fields for ldap access control.
-
configureGroupMembership
protected void configureGroupMembership(LdapDetails<T> ldapDetails)
Subclasses can override this to handle group membership differently.
-
-