Codota Logo
Authn.getX509
Code IndexAdd Codota to your IDE (free)

How to use
getX509
method
in
com.netflix.spinnaker.halyard.config.model.v1.security.Authn

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.security.Authn.getX509 (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

 public X509Config(Security security) {
  if (!security.getAuthn().getX509().isEnabled()) {
   return;
  }

  X509 x509 = security.getAuthn().getX509();

  this.enabled = x509.isEnabled();
  if (StringUtils.isNotEmpty(x509.getRoleOid())) {
   this.roleOid = x509.getRoleOid();
  }
  if (StringUtils.isNotEmpty(x509.getNodeName())) {
   this.subjectPrincipalRegex = x509.getSubjectPrincipalRegex();
  }
 }
}
origin: spinnaker/halyard

 public X509Config(Security security) {
  if (!security.getAuthn().getX509().isEnabled()) {
   return;
  }

  X509 x509 = security.getAuthn().getX509();

  this.enabled = x509.isEnabled();
  if (StringUtils.isNotEmpty(x509.getRoleOid())) {
   this.roleOid = x509.getRoleOid();
  }
  if (StringUtils.isNotEmpty(x509.getNodeName())) {
   this.subjectPrincipalRegex = x509.getSubjectPrincipalRegex();
  }
 }
}
origin: spinnaker/halyard

public boolean isEnabled() {
 return getOauth2().isEnabled() || getSaml().isEnabled() || getLdap().isEnabled()
   || getX509().isEnabled() || getIap().isEnabled();
}
origin: com.netflix.spinnaker.halyard/halyard-config

public boolean isEnabled() {
 return getOauth2().isEnabled() || getSaml().isEnabled() || getLdap().isEnabled()
   || getX509().isEnabled() || getIap().isEnabled();
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

 @Override
 protected GateConfig getGateConfig(ServiceSettings gate, Security security) {
  GateConfig config = new GateConfig(gate, security);

  if (security.getAuthn().getOauth2().isEnabled()) {
   config.spring = new SpringConfig(security);
  } else if (security.getAuthn().getSaml().isEnabled()) {
   config.saml = new SamlConfig(security);
  } else if (security.getAuthn().getLdap().isEnabled()) {
   config.ldap = new LdapConfig(security);
  } else if (security.getAuthn().getIap().isEnabled()) {
   config.google.iap = new IAPConfig(security);
  }

  if (security.getAuthn().getX509().isEnabled()) {
   config.x509 = new X509Config(security);
  }

  return config;
 }
}
origin: spinnaker/halyard

 @Override
 protected GateConfig getGateConfig(ServiceSettings gate, Security security) {
  GateConfig config = new GateConfig(gate, security);

  if (security.getAuthn().getOauth2().isEnabled()) {
   config.spring = new SpringConfig(security);
  } else if (security.getAuthn().getSaml().isEnabled()) {
   config.saml = new SamlConfig(security);
  } else if (security.getAuthn().getLdap().isEnabled()) {
   config.ldap = new LdapConfig(security);
  } else if (security.getAuthn().getIap().isEnabled()) {
   config.google.iap = new IAPConfig(security);
  }

  if (security.getAuthn().getX509().isEnabled()) {
   config.x509 = new X509Config(security);
  }

  return config;
 }
}
origin: spinnaker/halyard

 @Override
 protected GateConfig getGateConfig(ServiceSettings gate, Security security) {
  GateConfig config = new GateConfig(gate, security);

  if (security.getAuthn().getOauth2().isEnabled()) {
   config.security.oauth2 = security.getAuthn().getOauth2();
  } else if (security.getAuthn().getSaml().isEnabled()) {
   config.saml = new SamlConfig(security);
  } else if (security.getAuthn().getLdap().isEnabled()) {
   config.ldap = new LdapConfig(security);
  } else if (security.getAuthn().getIap().isEnabled()) {
   config.google.iap = new IAPConfig(security);
  }

  if (security.getAuthn().getX509().isEnabled()) {
   config.x509 = new X509Config(security);
  }

  return config;
 }
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

 @Override
 protected GateConfig getGateConfig(ServiceSettings gate, Security security) {
  GateConfig config = new GateConfig(gate, security);

  if (security.getAuthn().getOauth2().isEnabled()) {
   config.security.oauth2 = security.getAuthn().getOauth2();
  } else if (security.getAuthn().getSaml().isEnabled()) {
   config.saml = new SamlConfig(security);
  } else if (security.getAuthn().getLdap().isEnabled()) {
   config.ldap = new LdapConfig(security);
  } else if (security.getAuthn().getIap().isEnabled()) {
   config.google.iap = new IAPConfig(security);
  }

  if (security.getAuthn().getX509().isEnabled()) {
   config.x509 = new X509Config(security);
  }

  return config;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.securityAuthngetX509

Popular methods of Authn

  • getIap
  • getLdap
  • getOauth2
  • getSaml
  • isEnabled
  • <init>
  • setIap
  • setLdap
  • setOauth2
  • setSaml
  • setX509
  • setX509

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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