Tabnine Logo
Authn.getX509
Code IndexAdd Tabnine 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)

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

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • startActivity (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JLabel (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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