private void updateCache(SSOToken token,String dn,Map stringAttributes,Map byteAttributes) throws IdRepoException, SSOException {
  String key=dn.toLowerCase();
  IdCacheBlock cb=(IdCacheBlock)idRepoCache.get(key);
  if (cb != null && !cb.hasExpiredAndUpdated() && cb.isExists()) {
    AMIdentity tokenId=IdUtils.getIdentity(token);
    String pDN=tokenId.getUniversalId();
    cb.replaceAttributes(pDN,stringAttributes,byteAttributes);
  }
}

private void updateCache ( SSOToken token , String dn , Map stringAttributes , Map byteAttributes ) throws IdRepoException , SSOException { String key = dn . toLowerCase ( ) ; IdCacheBlock cb = ( IdCacheBlock ) idRepoCache . get ( key ) ; if ( cb != null && ! cb . hasExpiredAndUpdated ( ) && cb . isExists ( ) ) { AMIdentity tokenId = IdUtils . getIdentity ( token ) ; String pDN = tokenId . getUniversalId ( ) ; cb . replaceAttributes ( pDN , stringAttributes , byteAttributes ) ; } }
method that updates the cache entries locally . this method does a write through cache
