mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
11355: NTLMLogoDetails and Type2NTLMMessage are now Serializable, as they may be stored in an HTTP session. JLAN-43. 11386: Refactor of repository tier NTLM authentication filters. 11387: Integration of NTLMv2 message support for NTLM authentication filters 11400: Fixed NTLMv2 detection for Firefox, it does not send the 128Bit flag. 11401: Second round of NTLM authentication filter refactoring for repo tier. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -29,29 +29,28 @@ import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import javax.servlet.Filter;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
public class AbstractAuthenticationFilter
|
||||
{
|
||||
|
||||
/**
|
||||
* Base class for all externally based authentication mechanism filters
|
||||
*/
|
||||
public abstract class AbstractAuthenticationFilter implements Filter
|
||||
{
|
||||
private static Log logger = LogFactory.getLog(AbstractAuthenticationFilter.class);
|
||||
|
||||
public AbstractAuthenticationFilter()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Parse the Accept-Lanaguage HTTP header value
|
||||
*
|
||||
* @param req HttpServletRequest
|
||||
* @return Locale
|
||||
*/
|
||||
protected static final Locale parseAcceptLanguageHeader(HttpServletRequest req, List<String> m_languages)
|
||||
public static final Locale parseAcceptLanguageHeader(HttpServletRequest req, List<String> m_languages)
|
||||
{
|
||||
// Default the locale
|
||||
|
||||
@@ -176,5 +175,4 @@ public class AbstractAuthenticationFilter
|
||||
|
||||
return locale;
|
||||
}
|
||||
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -35,6 +35,7 @@ import javax.transaction.UserTransaction;
|
||||
import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.alfresco.model.ApplicationModel;
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.repo.SessionUser;
|
||||
import org.alfresco.repo.configuration.ConfigurableService;
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||
@@ -52,7 +53,7 @@ import org.springframework.web.jsf.FacesContextUtils;
|
||||
*
|
||||
* @author gavinc
|
||||
*/
|
||||
public final class User implements Serializable
|
||||
public final class User implements SessionUser
|
||||
{
|
||||
private static final long serialVersionUID = -90577901805847829L;
|
||||
|
||||
|
Reference in New Issue
Block a user