token enricher should use new access token api

This commit is contained in:
Sebastian Sdorra
2017-01-17 15:33:19 +01:00
parent 2388cfd35d
commit 70d5942250
10 changed files with 68 additions and 70 deletions

View File

@@ -81,6 +81,7 @@ public final class JwtAccessToken implements AccessToken {
}
@Override
@SuppressWarnings("unchecked")
public Optional<Object> getCustom(String key) {
return Optional.ofNullable(claims.get(key));
}