mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
15219: ETHREEOH-2328: Alfresco authentication component could use wrong ACEGI AuthenticationManager if not at the start of the authentication chain - Moved authentication manager so that it is local to the alfrescoNtlm authentication subsystem git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -139,10 +139,6 @@ public abstract class AbstractServerConfigurationBean extends ServerConfiguratio
|
||||
|
||||
protected static final int MaxSessionTimeout = 60 * 60; // 1 hour
|
||||
|
||||
// Authentication manager
|
||||
|
||||
private AuthenticationManager m_authenticationManager;
|
||||
|
||||
// Disk interface to use for shared filesystems
|
||||
|
||||
private ExtendedDiskInterface m_repoDiskInterface;
|
||||
@@ -205,16 +201,6 @@ public abstract class AbstractServerConfigurationBean extends ServerConfiguratio
|
||||
super( srvName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the authentication manager
|
||||
*
|
||||
* @param authenticationManager AuthenticationManager
|
||||
*/
|
||||
public void setAuthenticationManager(AuthenticationManager authenticationManager)
|
||||
{
|
||||
m_authenticationManager = authenticationManager;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the authentication service
|
||||
*
|
||||
@@ -391,11 +377,7 @@ public abstract class AbstractServerConfigurationBean extends ServerConfiguratio
|
||||
{
|
||||
// Check that all required properties have been set
|
||||
|
||||
if (m_authenticationManager == null)
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Property 'authenticationManager' not set");
|
||||
}
|
||||
else if (m_authenticationComponent == null)
|
||||
if (m_authenticationComponent == null)
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Property 'authenticationComponent' not set");
|
||||
}
|
||||
|
Reference in New Issue
Block a user