Class DefaultTokenIntrospectionUserInfoCache

  • All Implemented Interfaces:
    TokenIntrospectionCache, UserInfoCache

    public class DefaultTokenIntrospectionUserInfoCache
    extends Object
    implements TokenIntrospectionCache, UserInfoCache
    Default TokenIntrospection and UserInfo Cache implementation. A single cache entry can keep TokenIntrospection and/or UserInfo.

    In most cases it is the opaque bearer access tokens which are introspected but the code flow access tokens can also be introspected if they have the roles claims.

    In either case, if a remote request to fetch UserInfo is required then it will be the same access token which has been introspected which will be used to request UserInfo.