Browse Source

only our entity version may be stored in our storage layer. removed TODO.

pull/419/merge
William Kim 12 years ago
parent
commit
e9c246808f
  1. 1
      openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java

1
openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java

@ -217,7 +217,6 @@ public class OAuth2AccessTokenEntity implements OAuth2AccessToken {
public void setRefreshToken(OAuth2RefreshToken refreshToken) {
if (!(refreshToken instanceof OAuth2RefreshTokenEntity)) {
// TODO: make a copy constructor instead....
throw new IllegalArgumentException("Not a storable refresh token entity!");
}
// force a pass through to the entity version

Loading…
Cancel
Save