Class AdminEditUserController
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- jetbrains.buildServer.controllers.BaseController
-
- jetbrains.buildServer.controllers.BaseFormXmlController
-
- jetbrains.buildServer.controllers.profile.AbstractUpdateUserController<AdminEditUserForm>
-
- jetbrains.buildServer.controllers.admin.users.AdminEditUserController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.web.context.ServletContextAware,org.springframework.web.servlet.mvc.Controller
public class AdminEditUserController extends AbstractUpdateUserController<AdminEditUserForm>
- Author:
- Pavel.Sher Date: 14.04.2006
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jetbrains.buildServer.controllers.profile.AbstractUpdateUserController
AbstractUpdateUserController.BaseGeneralSettingsUpdateAction<T extends ProfileForm>, AbstractUpdateUserController.UserUpdateAction<T extends ProfileForm>
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTH_SETTINGS_ANCHORstatic StringCONNECT_EXTERNAL_ACCOUNT_MESSAGE_KEYstatic StringUSER_ACCOUNT_REMOVED_KEYstatic StringUSER_CHANGED_MESSAGES_KEYstatic StringUSER_SESSIONS_TERMINATED-
Fields inherited from class jetbrains.buildServer.controllers.profile.AbstractUpdateUserController
DUPLICATE_ACCOUNT_ERR, GENERAL_SETTINGS_TAB, mySessionModel, myUserModel, USER_NOT_FOUND_ERR, USER_ROLES_TAB
-
Fields inherited from class jetbrains.buildServer.controllers.BaseController
myServer
-
-
Constructor Summary
Constructors Constructor Description AdminEditUserController(WebControllerManager webControllerManager, BuildServerImpl server, PluginProperties pluginRegistry, UserAuthSettingsPluginsRegistry userAuthSettingsPluginsRegistry, VcsManager vcsManager, RolesManager rolesManager, ProjectManager projectManager, AuthorizationInterceptor authInterceptor, SecurityContextEx securityContext, RolesActionHelper userRolesHelper, NotificationRulesManager rulesManager, UserGroupManager groupManager, NotificatorRegistry notificatorRegistry, ServerSettings serverSettings, EmailVerificationController emailVerificationController, PagePlaces pagePlaces, SessionModel sessionModel, LoginConfigurationEx loginConfigurationEx, ProfileController profileController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.servlet.ModelAndViewdoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Implement this method to process GET requests.protected AdminEditUserFormgetForm(javax.servlet.http.HttpServletRequest request)protected SUsergetUserForUpdate(javax.servlet.http.HttpServletRequest request, AdminEditUserForm form)-
Methods inherited from class jetbrains.buildServer.controllers.profile.AbstractUpdateUserController
doPost, getCurrentTab, getUserModel, registerUserUpdateAction
-
Methods inherited from class jetbrains.buildServer.controllers.BaseFormXmlController
addMessage, bindFromRequest, doHandle, forgetFormBean, forgetFormBean, getOrCreateFormBean, getOrCreateFormBean, isInitPageRequest, selfRedirectOnInit, writeErrors, writeRedirect
-
Methods inherited from class jetbrains.buildServer.controllers.BaseController
getOrCreateMessages, handleRequest, handleRequestInternal, isGet, isPost, redirectTo, setExceptionResolvers, simpleView
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
-
-
-
Field Detail
-
USER_ACCOUNT_REMOVED_KEY
public static final String USER_ACCOUNT_REMOVED_KEY
- See Also:
- Constant Field Values
-
USER_CHANGED_MESSAGES_KEY
public static final String USER_CHANGED_MESSAGES_KEY
- See Also:
- Constant Field Values
-
USER_SESSIONS_TERMINATED
public static final String USER_SESSIONS_TERMINATED
- See Also:
- Constant Field Values
-
AUTH_SETTINGS_ANCHOR
public static final String AUTH_SETTINGS_ANCHOR
- See Also:
- Constant Field Values
-
CONNECT_EXTERNAL_ACCOUNT_MESSAGE_KEY
public static final String CONNECT_EXTERNAL_ACCOUNT_MESSAGE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdminEditUserController
public AdminEditUserController(WebControllerManager webControllerManager, BuildServerImpl server, PluginProperties pluginRegistry, @NotNull UserAuthSettingsPluginsRegistry userAuthSettingsPluginsRegistry, VcsManager vcsManager, RolesManager rolesManager, ProjectManager projectManager, AuthorizationInterceptor authInterceptor, SecurityContextEx securityContext, RolesActionHelper userRolesHelper, NotificationRulesManager rulesManager, UserGroupManager groupManager, NotificatorRegistry notificatorRegistry, ServerSettings serverSettings, EmailVerificationController emailVerificationController, @NotNull PagePlaces pagePlaces, @NotNull SessionModel sessionModel, @NotNull LoginConfigurationEx loginConfigurationEx, @NotNull ProfileController profileController)
-
-
Method Detail
-
getForm
@Nullable protected AdminEditUserForm getForm(javax.servlet.http.HttpServletRequest request)
- Specified by:
getFormin classAbstractUpdateUserController<AdminEditUserForm>
-
getUserForUpdate
@Nullable protected SUser getUserForUpdate(javax.servlet.http.HttpServletRequest request, AdminEditUserForm form)
- Specified by:
getUserForUpdatein classAbstractUpdateUserController<AdminEditUserForm>
-
doGet
protected org.springframework.web.servlet.ModelAndView doGet(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)Description copied from class:BaseFormXmlControllerImplement this method to process GET requests. Usually on GET request a form bean is created and a page is shown.- Specified by:
doGetin classBaseFormXmlController- Parameters:
request- HTTP requestresponse- HTTP response- Returns:
- model and view components
-
-