disable token API (for now)
parent
906db0ac86
commit
d4b544d519
|
@ -21,9 +21,9 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||
* @author Amanda Anganes
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/api/tokens/at")
|
||||
@PreAuthorize("hasRole('ROLE_USER')")
|
||||
//@Controller
|
||||
//@RequestMapping("/api/tokens/at")
|
||||
//@PreAuthorize("hasRole('ROLE_USER')")
|
||||
public class AccessTokenAPI {
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -22,9 +22,9 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||
* @author Amanda Anganes
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/api/tokens/rt")
|
||||
@PreAuthorize("hasRole('ROLE_USER')")
|
||||
//@Controller
|
||||
//@RequestMapping("/api/tokens/rt")
|
||||
//@PreAuthorize("hasRole('ROLE_USER')")
|
||||
public class RefreshTokenAPI {
|
||||
|
||||
@Autowired
|
||||
|
|
Loading…
Reference in New Issue