use default type of user manager for default authentication

This commit is contained in:
Sebastian Sdorra
2012-03-18 17:17:39 +01:00
parent 6b93714ab9
commit b979c2d438
3 changed files with 13 additions and 15 deletions

View File

@@ -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;