disable token API (for now)

pull/477/head
Justin Richer 2013-07-29 11:23:07 -04:00
parent 906db0ac86
commit d4b544d519
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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