@RestController @RequestMapping(value="/api/auth") public class AuthController extends AbstractOhfController
Modifier and Type | Field and Description |
---|---|
static String |
REST_URI |
BASE_PATH
Constructor and Description |
---|
AuthController() |
Modifier and Type | Method and Description |
---|---|
AuthInfoRpc |
getInfo(Principal principal)
Serves information about authenticated user.
|
getMessage, getMessageEN, getMessageSource, pageContentList
public static final String REST_URI
@RequestMapping(method=GET, produces={"application/xml","application/json"}) @ResponseStatus(value=OK) @ResponseBody public AuthInfoRpc getInfo(Principal principal)
principal
- objectAuthInfoRpc
responseCopyright © 2018 Pivotal Software, Inc.. All rights reserved.