shadowed null id token from serializer

pull/263/head
Justin Richer 2012-12-10 11:30:16 -05:00
parent cab0839430
commit 4bd289c18c
1 changed files with 3 additions and 1 deletions

View File

@ -116,7 +116,9 @@ public class OAuth2AccessTokenEntity implements OAuth2AccessToken {
@Transient @Transient
public Map<String, Object> getAdditionalInformation() { public Map<String, Object> getAdditionalInformation() {
Map<String, Object> map = new HashMap<String, Object>(); //super.getAdditionalInformation(); Map<String, Object> map = new HashMap<String, Object>(); //super.getAdditionalInformation();
map.put(ID_TOKEN, getIdTokenString()); if (getIdToken() != null) {
map.put(ID_TOKEN, getIdTokenString());
}
return map; return map;
} }