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