@Override protected void removeStoredMasterKey(DelegationKey key) { if (LOG.isDebugEnabled()) { LOG.debug("Removing master key " + key.getKeyId()); } try { if (stateStore != null) { stateStore.removeTokenMasterKey(key); } } catch (IOException e) { LOG.error("Unable to remove master key " + key.getKeyId(), e); } }
@Override protected void removeStoredMasterKey(DelegationKey key) { if (LOG.isDebugEnabled()) { LOG.debug("Removing master key " + key.getKeyId()); } try { if (stateStore != null) { stateStore.removeTokenMasterKey(key); } } catch (IOException e) { LOG.error("Unable to remove master key " + key.getKeyId(), e); } }
@Override protected void removeStoredMasterKey(DelegationKey key) { if (LOG.isDebugEnabled()) { LOG.debug("Removing master key " + key.getKeyId()); } try { if (stateStore != null) { stateStore.removeTokenMasterKey(key); } } catch (IOException e) { LOG.error("Unable to remove master key " + key.getKeyId(), e); } }
final Long newTokenDate2 = 975318642L; store.updateToken(token2, newTokenDate2); store.removeTokenMasterKey(key1); store.storeTokenMasterKey(key3); store.storeToken(token3, tokenDate3);