@Controller @RequestMapping(value="/security/info") @ExposesResourceFor(value=SecurityInfoResource.class) public class SecurityController extends java.lang.Object
/security/info that provides information such as whether security
is enabled and if so what is the username of the currently logged in user etc.| Constructor and Description |
|---|
SecurityController() |
| Modifier and Type | Method and Description |
|---|---|
SecurityInfoResource |
getSecurityInfo()
Return security information.
|
@ResponseBody @RequestMapping(method=GET) @ResponseStatus(value=OK) public SecurityInfoResource getSecurityInfo()