private Cache < String , Map < String , List < Object > > > getRegisteredServiceCacheInstance ( final RegisteredService registeredService , final CachingPrincipalAttributesRepository repository ) { val key = buildRegisteredServiceCacheKey ( registeredService ) ; if ( registeredServicesCache . containsKey ( key ) ) { return registeredServicesCache . get ( key ) ; } val cache = initializeCache ( repository ) ; registeredServicesCache . put ( key , cache ) ; return cache ; }
Gets registered service cache instance .