Class RemoteAccountResource
- java.lang.Object
-
- org.flowable.ui.common.rest.idm.remote.RemoteAccountResource
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@RestController @RequestMapping({"/app","/"}) public class RemoteAccountResource extends Object implements org.springframework.beans.factory.InitializingBean
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<CurrentUserProvider>currentUserProviders
-
Constructor Summary
Constructors Constructor Description RemoteAccountResource(org.springframework.beans.factory.ObjectProvider<CurrentUserProvider> currentUserProviders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()UserRepresentationgetAccount(org.springframework.security.core.Authentication authentication)GET /rest/account -> get the current user.protected UserRepresentationgetCurrentUserRepresentation(String currentUserId)
-
-
-
Field Detail
-
currentUserProviders
protected final Collection<CurrentUserProvider> currentUserProviders
-
-
Constructor Detail
-
RemoteAccountResource
public RemoteAccountResource(org.springframework.beans.factory.ObjectProvider<CurrentUserProvider> currentUserProviders)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getAccount
@GetMapping(value="/rest/account", produces="application/json") public UserRepresentation getAccount(org.springframework.security.core.Authentication authentication)GET /rest/account -> get the current user.
-
getCurrentUserRepresentation
protected UserRepresentation getCurrentUserRepresentation(String currentUserId)
-
-