diff --git a/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIDResponseProcessingFilter.java b/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIDResponseProcessingFilter.java index ee4073f20f..eb26f1e7d7 100644 --- a/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIDResponseProcessingFilter.java +++ b/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIDResponseProcessingFilter.java @@ -30,7 +30,7 @@ import javax.servlet.http.HttpServletRequest; * Process the response from the OpenID server to the returnTo URL. * * @author Robin Bramley, Opsera Ltd - * @version $Id:$ + * @version $Id$ */ public class OpenIDResponseProcessingFilter extends AbstractProcessingFilter { //~ Instance fields ================================================================================================ @@ -81,4 +81,8 @@ public class OpenIDResponseProcessingFilter extends AbstractProcessingFilter { public void setConsumer(OpenIDConsumer consumer) { this.consumer = consumer; } + + public int getOrder() { + throw new UnsupportedOperationException(); + } } diff --git a/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIdAuthenticationProcessingFilter.java b/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIdAuthenticationProcessingFilter.java index 31cc1c80b2..8c238b7744 100644 --- a/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIdAuthenticationProcessingFilter.java +++ b/sandbox/openid/src/main/java/org/springframework/security/ui/openid/OpenIdAuthenticationProcessingFilter.java @@ -183,4 +183,8 @@ public class OpenIdAuthenticationProcessingFilter extends AbstractProcessingFilt sendRedirect(request, response, failureUrl); } + + public int getOrder() { + throw new UnsupportedOperationException(); + } } diff --git a/sandbox/other/pom.xml b/sandbox/other/pom.xml index fd1ae6866c..a51318c8c1 100644 --- a/sandbox/other/pom.xml +++ b/sandbox/other/pom.xml @@ -22,6 +22,12 @@ spring-mock true + + org.springframework.ldap + spring-ldap + 1.2.1 + true + org.springframework spring-dao @@ -39,7 +45,7 @@ ehcache 1.1 true - + ldapsdk ldapsdk diff --git a/sandbox/other/src/main/java/org/springframework/security/providers/ldap/authenticator/OracleIDBindAuthenticator.java b/sandbox/other/src/main/java/org/springframework/security/providers/ldap/authenticator/OracleIDBindAuthenticator.java index 7993ab6321..ddb2331713 100644 --- a/sandbox/other/src/main/java/org/springframework/security/providers/ldap/authenticator/OracleIDBindAuthenticator.java +++ b/sandbox/other/src/main/java/org/springframework/security/providers/ldap/authenticator/OracleIDBindAuthenticator.java @@ -1,14 +1,15 @@ package org.springframework.security.providers.ldap.authenticator; -import org.springframework.security.ldap.InitialDirContextFactory; -import org.springframework.security.ldap.ppolicy.PasswordExpiredException; +import org.springframework.security.ldap.SpringSecurityContextSource; import org.springframework.security.ldap.ppolicy.AccountLockedException; +import org.springframework.security.ldap.ppolicy.PasswordExpiredException; import org.springframework.security.ldap.ppolicy.PasswordPolicyException; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import java.util.regex.Pattern; import java.util.regex.Matcher; +import java.util.regex.Pattern; /** @@ -24,8 +25,8 @@ public class OracleIDBindAuthenticator extends BindAuthenticator { //~ Constructors =================================================================================================== - protected OracleIDBindAuthenticator(InitialDirContextFactory initialDirContextFactory) { - super(initialDirContextFactory); + protected OracleIDBindAuthenticator(SpringSecurityContextSource contextSource) { + super(contextSource); } /**