mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
use default type of user manager for default authentication
This commit is contained in:
@@ -67,7 +67,7 @@ import sonia.scm.user.xml.XmlUserDAO;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class XmlAuthenticationHandlerTest extends AbstractTestBase
|
||||
public class DefaultAuthenticationHandlerTest extends AbstractTestBase
|
||||
{
|
||||
|
||||
/**
|
||||
@@ -148,7 +148,7 @@ public class XmlAuthenticationHandlerTest extends AbstractTestBase
|
||||
|
||||
userManager.init(contextProvider);
|
||||
userManager.create(slarti);
|
||||
handler = new XmlAuthenticationHandler(userManager, enc);
|
||||
handler = new DefaultAuthenticationHandler(userManager, enc);
|
||||
handler.init(contextProvider);
|
||||
request = MockUtil.getHttpServletRequest();
|
||||
reponse = MockUtil.getHttpServletResponse();
|
||||
@@ -169,7 +169,7 @@ public class XmlAuthenticationHandlerTest extends AbstractTestBase
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
private XmlAuthenticationHandler handler;
|
||||
private DefaultAuthenticationHandler handler;
|
||||
|
||||
/** Field description */
|
||||
private HttpServletResponse reponse;
|
||||
Reference in New Issue
Block a user