@Controller @RequestMapping(value="/permission") @PreAuthorize(value="hasRole(\'ROLE_USER\')") public class PermissionRegistrationEndpoint extends Object
Constructor and Description |
---|
PermissionRegistrationEndpoint() |
Modifier and Type | Method and Description |
---|---|
String |
getPermissionTicket(String jsonString,
org.springframework.ui.Model m,
org.springframework.security.core.Authentication auth) |
public static final String URL
public PermissionRegistrationEndpoint()
@RequestMapping(method=POST, consumes="application/json", produces="application/json") public String getPermissionTicket(@RequestBody String jsonString, org.springframework.ui.Model m, org.springframework.security.core.Authentication auth)
Copyright © 2018. All rights reserved.