[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUsernamePas...

noreply at shibboleth.net noreply at shibboleth.net
Tue Oct 29 15:25:40 EDT 2013


Author: tzeller
Date: Tue Oct 29 15:25:39 2013
New Revision: 4904

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4904&view=rev
Log:
Pick a less commonly used port to connect to a non-existent LDAP server so tests pass on a host on which an LDAP server is running on port 389.

Modified:
    trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUsernamePasswordAgainstLDAPTest.java

Modified: trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUsernamePasswordAgainstLDAPTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUsernamePasswordAgainstLDAPTest.java?rev=4904&r1=4903&r2=4904&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUsernamePasswordAgainstLDAPTest.java (original)
+++ trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateUsernamePasswordAgainstLDAPTest.java Tue Oct 29 15:25:39 2013
@@ -164,7 +164,7 @@
 
         AuthenticationContext ac = prc.getSubcontext(AuthenticationContext.class, false);
         ac.setAttemptedFlow(authenticationFlows.get(0));
-        action.setAuthenticator(new Authenticator(dnResolver, new BindAuthenticationHandler(new DefaultConnectionFactory("ldap://localhost:389"))));
+        action.setAuthenticator(new Authenticator(dnResolver, new BindAuthenticationHandler(new DefaultConnectionFactory("ldap://localhost:3891"))));
         action.initialize();
 
         doExtract(prc);



More information about the commits mailing list