congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
VaultReader$NoSuchItemException
Code IndexAdd Tabnine to your IDE (free)

How to use
VaultReader$NoSuchItemException
in
org.jboss.as.controller

Best Java code snippets using org.jboss.as.controller.VaultReader$NoSuchItemException (Showing top 4 results out of 315)

origin: wildfly/wildfly-core

  @Override
  public String retrieveFromVault(String encrypted) {
    if (isVaultFormat(encrypted)) {

      String vault = fqn;
      if (vault != null) {
        String[] split = encrypted.split("::");
        if (split[1].equals(vault)) {
          Object value = options.get(split[2]);
          if (value == null) {
            value = split[3];
          }
          return value.toString();
        }
      }

      throw new NoSuchItemException();
    }
    return encrypted;
  }
}
origin: wildfly/wildfly-core

throw new NoSuchItemException();
origin: org.wildfly.core/wildfly-server

throw new NoSuchItemException();
origin: org.wildfly.core/wildfly-core-model-test-framework

  @Override
  public String retrieveFromVault(String encrypted) {
    if (isVaultFormat(encrypted)) {

      String vault = fqn;
      if (vault != null) {
        String[] split = encrypted.split("::");
        if (split[1].equals(vault)) {
          Object value = options.get(split[2]);
          if (value == null) {
            value = split[3];
          }
          return value.toString();
        }
      }

      throw new NoSuchItemException();
    }
    return encrypted;
  }
}
org.jboss.as.controllerVaultReader$NoSuchItemException

Javadoc

Exception thrown when properly formatted "vaulted data" is used to retrieve data from the vault but no matching data can be found.

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Path (java.nio.file)
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now