Class EmailVerificationController
- 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.emailVerification.EmailVerificationController
-
- 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 EmailVerificationController extends BaseController
-
-
Field Summary
Fields Modifier and Type Field Description static StringMESSAGE_KEY-
Fields inherited from class jetbrains.buildServer.controllers.BaseController
myServer
-
-
Constructor Summary
Constructors Constructor Description EmailVerificationController(UserEmailVerifier emailVerifier, ServerSettings serverSettings, WebControllerManager webControllerManager, UserModelEx userModel, SecurityContextEx securityContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.servlet.ModelAndViewdoHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Performs actual request processingstatic StringgetVerificationEmailSentMessage(SUser user, boolean isInitiatedByAdmin)voidprocessAdminUserProfilePageExtension(SUser loggedInUser, ProfileForm profileForm)Add/remove extension toProfileFormthat is shown to admin onAdminEditUserControllerpage.voidprocessUserProfilePageExtension(ProfileForm profileForm)Add/remove extension toProfileFormthat is shown to user onProfileControllerpage.-
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
-
MESSAGE_KEY
public static final String MESSAGE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EmailVerificationController
public EmailVerificationController(UserEmailVerifier emailVerifier, ServerSettings serverSettings, WebControllerManager webControllerManager, UserModelEx userModel, SecurityContextEx securityContext)
-
-
Method Detail
-
processUserProfilePageExtension
public void processUserProfilePageExtension(ProfileForm profileForm)
Add/remove extension toProfileFormthat is shown to user onProfileControllerpage.
-
processAdminUserProfilePageExtension
public void processAdminUserProfilePageExtension(SUser loggedInUser, ProfileForm profileForm)
Add/remove extension toProfileFormthat is shown to admin onAdminEditUserControllerpage.
-
doHandle
@Nullable protected org.springframework.web.servlet.ModelAndView doHandle(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response) throws ExceptionDescription copied from class:BaseControllerPerforms actual request processing- Specified by:
doHandlein classBaseController- Parameters:
request- HTTP requestresponse- HTTP response- Returns:
- model and view components
- Throws:
Exception- exception
-
-