Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
grouper/test-compose/idp/shibboleth-idp/conf/ldap.properties
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58 lines (49 sloc)
3.17 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LDAP authentication configuration, see authn/ldap-authn-config.xml | |
## Authenticator strategy, either anonSearchAuthenticator, bindSearchAuthenticator, directAuthenticator, adAuthenticator | |
#idp.authn.LDAP.authenticator = anonSearchAuthenticator | |
## Connection properties ## | |
idp.authn.LDAP.ldapURL = ldap://data:389 | |
idp.authn.LDAP.useStartTLS = false | |
idp.authn.LDAP.useSSL = false | |
#idp.authn.LDAP.connectTimeout = 3000 | |
## SSL configuration, either jvmTrust, certificateTrust, or keyStoreTrust | |
#idp.authn.LDAP.sslConfig = certificateTrust | |
## If using certificateTrust above, set to the trusted certificate's path | |
idp.authn.LDAP.trustCertificates = %{idp.home}/credentials/ldap-server.crt | |
## If using keyStoreTrust above, set to the truststore path | |
idp.authn.LDAP.trustStore = %{idp.home}/credentials/ldap-server.truststore | |
## Return attributes during authentication | |
## NOTE: this is not used during attribute resolution; configure that directly in the | |
## attribute-resolver.xml configuration via a DataConnector's <dc:ReturnAttributes> element | |
idp.authn.LDAP.returnAttributes = cn,businessCategory,mail | |
## DN resolution properties ## | |
# Search DN resolution, used by anonSearchAuthenticator, bindSearchAuthenticator | |
# for AD: CN=Users,DC=example,DC=org | |
idp.authn.LDAP.baseDN = ou=people,dc=internet2,dc=edu | |
#idp.authn.LDAP.subtreeSearch = false | |
idp.authn.LDAP.userFilter = (uid={user}) | |
# bind search configuration | |
# for AD: idp.authn.LDAP.bindDN=adminuser@domain.com | |
idp.authn.LDAP.bindDN = cn=admin,dc=internet2,dc=edu | |
idp.authn.LDAP.bindDNCredential = password | |
# Format DN resolution, used by directAuthenticator, adAuthenticator | |
# for AD use idp.authn.LDAP.dnFormat=%s@domain.com | |
idp.authn.LDAP.dnFormat = uid=%s,ou=people,dc=internet2,dc=edu | |
# LDAP attribute configuration, see attribute-resolver.xml | |
idp.attribute.resolver.LDAP.ldapURL = %{idp.authn.LDAP.ldapURL} | |
idp.attribute.resolver.LDAP.baseDN = %{idp.authn.LDAP.baseDN} | |
idp.attribute.resolver.LDAP.bindDN = %{idp.authn.LDAP.bindDN} | |
idp.attribute.resolver.LDAP.bindDNCredential = %{idp.authn.LDAP.bindDNCredential} | |
idp.attribute.resolver.LDAP.useStartTLS = %{idp.authn.LDAP.useStartTLS:true} | |
idp.attribute.resolver.LDAP.trustCertificates = %{idp.authn.LDAP.trustCertificates} | |
idp.attribute.resolver.LDAP.searchFilter = (uid=$requestContext.principalName) | |
# LDAP pool configuration, used for both authn and DN resolution | |
#idp.pool.LDAP.minSize = 3 | |
#idp.pool.LDAP.maxSize = 10 | |
#idp.pool.LDAP.validateOnCheckout = false | |
#idp.pool.LDAP.validatePeriodically = true | |
#idp.pool.LDAP.validatePeriod = 300 | |
#idp.pool.LDAP.prunePeriod = 300 | |
#idp.pool.LDAP.idleTime = 600 | |
#idp.pool.LDAP.blockWaitTime = 3000 | |
#idp.pool.LDAP.failFastInitialize = false |