SEC-562: Experimental repackaging of ntlm package to make sure intellij move retains svn history.

This commit is contained in:
Luke Taylor 2007-09-21 11:41:36 +00:00
parent 9d01ace915
commit 2c276a0f55
9 changed files with 11 additions and 28 deletions

View File

@ -27,7 +27,7 @@
</bean>
<!-- the third item in the chain: ntlmFilter -->
<bean id="ntlmFilter" class="org.acegisecurity.ui.ntlm.NtlmProcessingFilter">
<bean id="ntlmFilter" class="org.springframework.security.ui.ntlm.NtlmProcessingFilter">
<property name="defaultDomain" value="YOURDOMAIN"/>
<!-- It is better to use a WINS server if available over a specific domain controller
<property name="domainController" value="FOO"/> -->
@ -83,7 +83,7 @@
<bean id="roleVoter" class="org.acegisecurity.vote.RoleVoter"/>
<bean id="ntlmEntryPoint" class="org.acegisecurity.ui.ntlm.NtlmProcessingFilterEntryPoint">
<bean id="ntlmEntryPoint" class="org.springframework.security.ui.ntlm.NtlmProcessingFilterEntryPoint">
<property name="authenticationFailureUrl" value="/login_error.jsp"/>
</bean>

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
package org.springframework.security.ui.ntlm;
import java.io.IOException;

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
package org.springframework.security.ui.ntlm;
import org.acegisecurity.AuthenticationException;

View File

@ -13,9 +13,7 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
import org.acegisecurity.AuthenticationException;
package org.springframework.security.ui.ntlm;
/**
* Signals the beginning of an NTLM handshaking process.

View File

@ -13,19 +13,14 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
package org.springframework.security.ui.ntlm;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.Properties;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
@ -42,7 +37,6 @@ import jcifs.smb.SmbException;
import jcifs.smb.SmbSession;
import jcifs.util.Base64;
import org.acegisecurity.AcegiMessageSource;
import org.acegisecurity.Authentication;
import org.acegisecurity.AuthenticationCredentialsNotFoundException;
import org.acegisecurity.AuthenticationException;
@ -50,17 +44,13 @@ import org.acegisecurity.AuthenticationManager;
import org.acegisecurity.BadCredentialsException;
import org.acegisecurity.InsufficientAuthenticationException;
import org.acegisecurity.context.SecurityContextHolder;
import org.acegisecurity.event.authentication.InteractiveAuthenticationSuccessEvent;
import org.acegisecurity.providers.UsernamePasswordAuthenticationToken;
import org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken;
import org.acegisecurity.ui.AbstractProcessingFilter;
import org.acegisecurity.ui.WebAuthenticationDetails;
import org.acegisecurity.ui.savedrequest.SavedRequest;
import org.acegisecurity.ui.webapp.AuthenticationProcessingFilter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.support.MessageSourceAccessor;
import org.springframework.util.Assert;
/**

View File

@ -13,11 +13,9 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
package org.springframework.security.ui.ntlm;
import org.acegisecurity.AuthenticationCredentialsNotFoundException;
import org.acegisecurity.AuthenticationException;
import org.acegisecurity.InsufficientAuthenticationException;
import org.acegisecurity.ui.AuthenticationEntryPoint;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@ -32,8 +30,6 @@ import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jcifs.Config;
/**
* Used by <code>ExceptionTranslationFilter</code> to assist with the NTLM
* negotiation. Also handles redirecting the user to the authentication

View File

@ -13,10 +13,9 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
package org.springframework.security.ui.ntlm;
import org.acegisecurity.Authentication;
import org.acegisecurity.AuthenticationException;
import org.acegisecurity.context.SecurityContextHolder;
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.acegisecurity.ui.ntlm;
package org.springframework.security.ui.ntlm;
import jcifs.smb.NtlmPasswordAuthentication;

View File

@ -1,7 +1,7 @@
/**
*
*/
package org.acegisecurity.ui.ntlm.ldap.authenticator;
package org.springframework.security.ui.ntlm.ldap.authenticator;
import java.util.Iterator;
@ -10,7 +10,7 @@ import org.acegisecurity.Authentication;
import org.acegisecurity.ldap.InitialDirContextFactory;
import org.acegisecurity.ldap.SpringSecurityLdapTemplate;
import org.acegisecurity.providers.ldap.authenticator.BindAuthenticator;
import org.acegisecurity.ui.ntlm.NtlmUsernamePasswordAuthenticationToken;
import org.springframework.security.ui.ntlm.NtlmUsernamePasswordAuthenticationToken;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.ldap.core.DirContextOperations;