Class SecurityController
java.lang.Object
com.wavemaker.runtime.security.controller.SecurityController
Created by nileshk on 5/11/14.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.wavemaker.commons.wrapper.StringWrappercom.wavemaker.commons.wrapper.StringWrappercom.wavemaker.commons.wrapper.StringWrappercom.wavemaker.commons.wrapper.BooleanWrappercom.wavemaker.commons.wrapper.StringWrappervoidssoLogin()
-
Constructor Details
-
SecurityController
public SecurityController()
-
-
Method Details
-
isSecurityEnabled
@GetMapping("/enabled") public com.wavemaker.commons.wrapper.StringWrapper isSecurityEnabled() -
getLoggedInUser
-
isAuthenticated
@GetMapping("/user/authenticated") public com.wavemaker.commons.wrapper.BooleanWrapper isAuthenticated() -
getUsername
@GetMapping("/user/username") public com.wavemaker.commons.wrapper.StringWrapper getUsername() -
getUserId
@GetMapping("/user/userid") public com.wavemaker.commons.wrapper.StringWrapper getUserId() -
getUserRoles
-
getLoginTime
@GetMapping("/user/login_time") public com.wavemaker.commons.wrapper.StringWrapper getLoginTime() -
getSecurityInfo
-
getAccessToken
-
ssoLogin
@GetMapping("/ssologin") public void ssoLogin()
-