@Service(value="dmtSecurityService") public class SecurityService extends Object implements ISecurityService, IApplicationLifecycle, IRequestLifecycle
| Constructor and Description |
|---|
SecurityService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterResponse() |
void |
authenticate(String username,
String password) |
void |
authenticate(UserVO userVO) |
UserVO |
authenticateByUrlParams(Map<String,List<String>> params) |
void |
beforeRequest() |
UserVO |
getCurrentUser() |
UserVO |
getGuestUser() |
ApplicationLifecyclePriority |
getLifecyclePriority() |
UserVO |
getSystemUser() |
void |
init() |
void |
shutdown() |
void |
signOut() |
public void init()
init in interface IApplicationLifecyclepublic void shutdown()
shutdown in interface IApplicationLifecyclepublic ApplicationLifecyclePriority getLifecyclePriority()
getLifecyclePriority in interface IApplicationLifecyclepublic void beforeRequest()
beforeRequest in interface IRequestLifecyclepublic void afterResponse()
afterResponse in interface IRequestLifecyclepublic UserVO getCurrentUser()
getCurrentUser in interface ISecurityServicepublic void authenticate(UserVO userVO)
authenticate in interface ISecurityServicepublic void authenticate(String username, String password)
authenticate in interface ISecurityServicepublic UserVO authenticateByUrlParams(Map<String,List<String>> params)
authenticateByUrlParams in interface ISecurityServicepublic void signOut()
signOut in interface ISecurityServicepublic UserVO getSystemUser()
getSystemUser in interface ISecurityServicepublic UserVO getGuestUser()
getGuestUser in interface ISecurityServiceCopyright © 2019. All rights reserved.