mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-24 16:29:09 +01:00
fix UserManager
This commit is contained in:
@@ -36,7 +36,6 @@ package sonia.scm.web.plugin;
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import sonia.scm.repository.RepositoryHandler;
|
||||
import sonia.scm.user.UserHandler;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
@@ -65,7 +64,6 @@ public class SCMPlugin
|
||||
public SCMPlugin()
|
||||
{
|
||||
repositoryHandlers = new HashSet<Class<? extends RepositoryHandler>>();
|
||||
userHandlers = new HashSet<Class<? extends UserHandler>>();
|
||||
}
|
||||
|
||||
//~--- get methods ----------------------------------------------------------
|
||||
@@ -92,17 +90,6 @@ public class SCMPlugin
|
||||
return securityConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public Set<Class<? extends UserHandler>> getUserHandlers()
|
||||
{
|
||||
return userHandlers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
@@ -139,17 +126,6 @@ public class SCMPlugin
|
||||
this.securityConfig = securityConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param userHandlers
|
||||
*/
|
||||
public void setUserHandlers(Set<Class<? extends UserHandler>> userHandlers)
|
||||
{
|
||||
this.userHandlers = userHandlers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
@@ -172,11 +148,6 @@ public class SCMPlugin
|
||||
@XmlElement(name = "security")
|
||||
private SecurityConfig securityConfig;
|
||||
|
||||
/** Field description */
|
||||
@XmlElementWrapper(name = "user-handlers")
|
||||
@XmlElement(name = "user-handler")
|
||||
private Set<Class<? extends UserHandler>> userHandlers;
|
||||
|
||||
/** Field description */
|
||||
@XmlElement(name = "web-plugin")
|
||||
private Class<? extends ScmWebPlugin> webPlugin;
|
||||
|
||||
Reference in New Issue
Block a user