note well

pull/306/merge
Justin Richer 2013-01-31 12:48:04 -05:00
parent ab35186696
commit 1c14ce4c1a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class IntrospectingTokenService implements ResourceServerTokenServices {
// create a default authentication object with authority ROLE_API
private Authentication createAuthentication(JsonObject token){
// TODO: user_id is going to go away. Will have to fix.
// TODO: make role/authority configurable somehow
return new PreAuthenticatedAuthenticationToken(token.get("subject").getAsString(), null, AuthorityUtils.createAuthorityList("ROLE_API"));
}