@RestController
@RequestMapping(value={"/app","/"})
public class RemoteAccountResource
extends Object
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected Collection<CurrentUserProvider> |
currentUserProviders |
| Constructor and Description |
|---|
RemoteAccountResource(org.springframework.beans.factory.ObjectProvider<CurrentUserProvider> currentUserProviders) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
UserRepresentation |
getAccount(org.springframework.security.core.Authentication authentication)
GET /rest/account -> get the current user.
|
protected UserRepresentation |
getCurrentUserRepresentation(String currentUserId) |
protected final Collection<CurrentUserProvider> currentUserProviders
public RemoteAccountResource(org.springframework.beans.factory.ObjectProvider<CurrentUserProvider> currentUserProviders)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean@GetMapping(value="/rest/account",
produces="application/json")
public UserRepresentation getAccount(org.springframework.security.core.Authentication authentication)
protected UserRepresentation getCurrentUserRepresentation(String currentUserId)
Copyright © 2022 Flowable. All rights reserved.