Updates to sandbox to allow it to compile against latest core changes.

This commit is contained in:
Luke Taylor 2007-12-12 16:15:04 +00:00
parent 1cae1719bc
commit 6f7590eb05
4 changed files with 22 additions and 7 deletions

View File

@ -30,7 +30,7 @@ import javax.servlet.http.HttpServletRequest;
* Process the response from the OpenID server to the returnTo URL. * Process the response from the OpenID server to the returnTo URL.
* *
* @author Robin Bramley, Opsera Ltd * @author Robin Bramley, Opsera Ltd
* @version $Id:$ * @version $Id$
*/ */
public class OpenIDResponseProcessingFilter extends AbstractProcessingFilter { public class OpenIDResponseProcessingFilter extends AbstractProcessingFilter {
//~ Instance fields ================================================================================================ //~ Instance fields ================================================================================================
@ -81,4 +81,8 @@ public class OpenIDResponseProcessingFilter extends AbstractProcessingFilter {
public void setConsumer(OpenIDConsumer consumer) { public void setConsumer(OpenIDConsumer consumer) {
this.consumer = consumer; this.consumer = consumer;
} }
public int getOrder() {
throw new UnsupportedOperationException();
}
} }

View File

@ -183,4 +183,8 @@ public class OpenIdAuthenticationProcessingFilter extends AbstractProcessingFilt
sendRedirect(request, response, failureUrl); sendRedirect(request, response, failureUrl);
} }
public int getOrder() {
throw new UnsupportedOperationException();
}
} }

View File

@ -22,6 +22,12 @@
<artifactId>spring-mock</artifactId> <artifactId>spring-mock</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap</artifactId>
<version>1.2.1</version>
<optional>true</optional>
</dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-dao</artifactId> <artifactId>spring-dao</artifactId>
@ -39,7 +45,7 @@
<artifactId>ehcache</artifactId> <artifactId>ehcache</artifactId>
<version>1.1</version> <version>1.1</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>ldapsdk</groupId> <groupId>ldapsdk</groupId>
<artifactId>ldapsdk</artifactId> <artifactId>ldapsdk</artifactId>

View File

@ -1,14 +1,15 @@
package org.springframework.security.providers.ldap.authenticator; package org.springframework.security.providers.ldap.authenticator;
import org.springframework.security.ldap.InitialDirContextFactory; import org.springframework.security.ldap.SpringSecurityContextSource;
import org.springframework.security.ldap.ppolicy.PasswordExpiredException;
import org.springframework.security.ldap.ppolicy.AccountLockedException; import org.springframework.security.ldap.ppolicy.AccountLockedException;
import org.springframework.security.ldap.ppolicy.PasswordExpiredException;
import org.springframework.security.ldap.ppolicy.PasswordPolicyException; import org.springframework.security.ldap.ppolicy.PasswordPolicyException;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import java.util.regex.Pattern;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern;
/** /**
@ -24,8 +25,8 @@ public class OracleIDBindAuthenticator extends BindAuthenticator {
//~ Constructors =================================================================================================== //~ Constructors ===================================================================================================
protected OracleIDBindAuthenticator(InitialDirContextFactory initialDirContextFactory) { protected OracleIDBindAuthenticator(SpringSecurityContextSource contextSource) {
super(initialDirContextFactory); super(contextSource);
} }
/** /**