@ JsonIgnore protected Map < String , List < Object > > getCachedPrincipalAttributes ( final Principal principal , final RegisteredService registeredService ) { try { val cache = getCacheInstanceFromApplicationContext ( ) ; return cache . getCachedAttributesFor ( registeredService , this , principal ) ; } catch ( final Exception e ) { LOGGER . error ( e . getMessage ( ) , e ) ; } return new HashMap <> ( 0 ) ; }
Gets cached principal attributes .