Package org.platformlayer.auth.crypto

Examples of org.platformlayer.auth.crypto.SecretProvider


      db.updateItem(itemId, data, item.state);

      // Note: we can't change tags here (that needs a separate call to updateTags)

      SecretProvider secretProvider = SecretProvider.forKey(itemSecret);

      boolean fetchTags = true;
      return fetchItem(db, modelClass.getServiceType(), modelClass.getItemType(), project, itemId, itemClass,
          secretProvider, fetchTags);
    } catch (SQLException e) {
View Full Code Here


      public T call() throws Exception {
        PlatformLayerKey itemKey = item.getKey();

        T existing;

        SecretProvider secretProvider = SecretProvider.from(auth);

        if (uniqueTagKey != null) {
          boolean fetchTags = true;
          Tag uniqueTag = null;
          for (Tag tag : item.getTags()) {
View Full Code Here

  }

  @Override
  public JobData deleteItem(final ProjectAuthorization auth, final PlatformLayerKey targetItemKey)
      throws OpsException {
    SecretProvider secretProvider = SecretProvider.from(auth);

    boolean fetchTags = true;
    ItemBase targetItem;
    try {
      targetItem = repository.getManagedItem(targetItemKey, fetchTags, secretProvider);
View Full Code Here

TOP

Related Classes of org.platformlayer.auth.crypto.SecretProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.