[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 16:12:47 EDT 2013


Author: tzeller
Date: Tue Oct 29 16:12:47 2013
New Revision: 4905

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4905&view=rev
Log:
On second thought, rather than picking a hopefully unused port to connect to a non-existent LDAP server, use a hopefully unknown host named "unknown" to be more obvious.

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=4905&r1=4904&r2=4905&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 16:12:47 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:3891"))));
+        action.setAuthenticator(new Authenticator(dnResolver, new BindAuthenticationHandler(new DefaultConnectionFactory("ldap://unknown:389"))));
         action.initialize();
 
         doExtract(prc);



More information about the commits mailing list