Package com.aducid.web.controller
Class UserControllerBase
java.lang.Object
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.web.context.ServletContextAware
public class UserControllerBase extends WebPlatformControllerRootDefault
User controller base.
Created 3. 6. 2016 9:54:12
- Author:
- Radek Jira
-
Constructor Summary
Constructors Constructor Description UserControllerBase()
-
Method Summary
Modifier and Type Method Description java.lang.String
listMyLinkedAims(javax.servlet.http.HttpServletRequest httpRequest)
Lists my linked AIMs.java.lang.String
readEvents(java.lang.String searchFilter, javax.servlet.http.HttpServletRequest httpRequest)
Reads events.java.lang.String
readTrustedAimSpids(javax.servlet.http.HttpServletRequest httpRequest)
Reads list of trusted AIM SPIDs.Methods inherited from class com.aducid.web.controller.WebPlatformController
authenticatePage, errorPage, getGuiJsonAsMap, guiJson, logoutPage
Methods inherited from class com.aducid.web.controller.AuthenticationController
authenticate, authenticateCheck, binderLogout, buildPrincipal, checkAccess, checkPersonalFactor, checkProofing, checkResult, fixateSession, getAuthId, getAuthKey, getLoggedInPage, getLogoutPage, getPrincipal, getVerifiedLF, invalidate, isSessionValid, logout, processResponse, proxy, setErrorPage, setLoggedInPage, setLogoutPage, setRedirectUrl
Methods inherited from class com.aducid.web.controller.ControllerBase
afterCheck, afterError, appendId, beforeErrorRedirect, beforeLoggedInRedirect, beforeLogoutRedirect, checkAnnotationConsistency, forwardToAducidResourcesPage, generateId, getAducidBinder, getAducidResources, getAdvancedClient, getAimUrl, getClientArguments, getClientArguments, getClientArguments, getErrorPage, getJsonClient, getLocalizedError, getLocalizedLocalizable, getLocalizedStatusable, getPushClientArguments, getRealAuthId, getRealErrorPage, getRealPeigTypePicture, getRealStatus, getResult, getResultNoLFCheck, getRootRedirect, getServletContext, getSimpleClient, getUrl, getUrl, getUrl, getVerificationResult, getVerifyMessageResult, getWebResult, isJson, processWebError, removeErrorFromSession, setErrorToRequest, setServletContext
-
Constructor Details
-
UserControllerBase
public UserControllerBase()
-
-
Method Details
-
readEvents
@RequestMapping("readEvents") @ResponseBody public java.lang.String readEvents(@RequestBody java.lang.String searchFilter, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebExceptionReads events.
- Parameters:
searchFilter
- search filter as JSONhttpRequest
- HTTP request- Returns:
- search result with events as JSON
- Throws:
AducidWebException
- when error occurs during web controller call
-
readTrustedAimSpids
@RequestMapping("readTrustedAimSpids") @ResponseBody public java.lang.String readTrustedAimSpids(javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebExceptionReads list of trusted AIM SPIDs.
- Parameters:
httpRequest
- HTTP request- Returns:
- list of trusted AIM SPIDs as JSON
- Throws:
AducidWebException
- when error occurs during web controller call
-
listMyLinkedAims
@RequestMapping("listMyLinkedAims") @ResponseBody public java.lang.String listMyLinkedAims(javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebExceptionLists my linked AIMs.
- Parameters:
httpRequest
- HTTP request- Returns:
- list of my linked AIMs
- Throws:
AducidWebException
- when error occurs during web controller call
-