Codota Logo
AliasFilter.fromString
Code IndexAdd Codota to your IDE (free)

How to use
fromString
method
in
org.wildfly.security.keystore.AliasFilter

Best Java code snippets using org.wildfly.security.keystore.AliasFilter.fromString (Showing top 8 results out of 315)

  • Common ways to obtain AliasFilter
private void myMethod () {
AliasFilter a =
  • Codota IconString str;Object anObject;str.equals(anObject)
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

keyStore = FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(finalAlias));
if (xmlLog.isTraceEnabled()) xmlLog.tracef("Filtered aliases %s", aliasesToString(keyStore.aliases()));
if (keyStore.size() < 1) throw xmlLog.keyStoreEntryMissing(location, finalAlias);
origin: wildfly/wildfly-core

@Override
public void start(StartContext startContext) throws StartException {
  try {
    KeyStore keyStore = keyStoreInjector.getValue();
    AliasFilter filter = AliasFilter.fromString(aliasFilter);
    KeyStore unmodifiable = UnmodifiableKeyStore.unmodifiableKeyStore(keyStore);
    KeyStore modifiable = keyStore;
    ROOT_LOGGER.tracef(
        "starting:  aliasFilter = %s  filter = %s  unmodifiable = %s  modifiable = %s",
        aliasFilter, filter, unmodifiable, modifiable);
    filteringKeyStore = FilteringKeyStore.filteringKeyStore(unmodifiable, filter);
    if (modifiableFilteringKeyStore == null) {
      modifiableFilteringKeyStore = FilteringKeyStore.filteringKeyStore(modifiable, filter);
    }
  } catch (Exception e) {
    throw new StartException(e);
  }
}
origin: wildfly/wildfly-core

KeyStore intermediate = aliasFilter != null ? FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(aliasFilter)) :  keyStore;
this.trackingKeyStore = ModifyTrackingKeyStore.modifyTrackingKeyStore(intermediate);
this.unmodifiableKeyStore = UnmodifiableKeyStore.unmodifiableKeyStore(intermediate);
origin: wildfly/wildfly-core

keyStore = FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(aliasFilter));
origin: wildfly/wildfly-core

keyStore = FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(aliasFilter));
origin: org.wildfly.security/wildfly-elytron

keyStore = FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(finalAlias));
if (xmlLog.isTraceEnabled()) xmlLog.tracef("Filtered aliases %s", aliasesToString(keyStore.aliases()));
if (keyStore.size() < 1) throw xmlLog.keyStoreEntryMissing(location, finalAlias);
origin: org.wildfly.security/wildfly-elytron-client

keyStore = FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(finalAlias));
if (xmlLog.isTraceEnabled()) xmlLog.tracef("Filtered aliases %s", aliasesToString(keyStore.aliases()));
if (keyStore.size() < 1) throw xmlLog.keyStoreEntryMissing(location, finalAlias);
origin: org.jboss.eap/wildfly-client-all

keyStore = FilteringKeyStore.filteringKeyStore(keyStore, AliasFilter.fromString(finalAlias));
if (xmlLog.isTraceEnabled()) xmlLog.tracef("Filtered aliases %s", aliasesToString(keyStore.aliases()));
if (keyStore.size() < 1) throw xmlLog.keyStoreEntryMissing(location, finalAlias);
org.wildfly.security.keystoreAliasFilterfromString

Javadoc

Create an AliasFilter based on a filterString in one of the following formats: -
  • alias1,alais2,alias3 - Only the aliases listed are accepted>
  • ALL:-alias1:-alias2:-alias3 - All aliases allowed except those listed.
  • NONE:+alias1:+alias2:+alais3 - Only the aliases listed are accepted
Note: For ambiguous definitions aliases are evaluated against the filter string from right to left with the first match winning, e.g.
  • ALL:-alias1:+alias1 - alias1 is an accepted alias.

Popular methods of AliasFilter

  • <init>
  • add

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • addToBackStack (FragmentTransaction)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Collectors (java.util.stream)
  • JComboBox (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now