@ JsonIgnore public PrincipalAttributesRepositoryCache getCacheInstanceFromApplicationContext ( ) { val ctx = ApplicationContextProvider . getApplicationContext ( ) ; return ctx . getBean ( "principalAttributesRepositoryCache" , PrincipalAttributesRepositoryCache . class ) ; }
Gets cache instance from application context .