congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Authn.setSaml
Code IndexAdd Tabnine to your IDE (free)

How to use
setSaml
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.setSaml (Showing top 2 results out of 315)

origin: spinnaker/halyard

public void setAuthnMethod(String deploymentName, AuthnMethod method) {
 Authn authn = getAuthn(deploymentName);
 switch (method.getMethod()) {
  case OAuth2:
   authn.setOauth2((OAuth2) method);
   break;
  case SAML:
   authn.setSaml((Saml) method);
   break;
  case LDAP:
   authn.setLdap((Ldap) method);
   break;
  case X509:
   authn.setX509((X509) method);
   break;
  case IAP:
   authn.setIap((IAP) method);
   break;
  default:
   throw new RuntimeException("Unknown Authn method " + method.getMethod());
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

public void setAuthnMethod(String deploymentName, AuthnMethod method) {
 Authn authn = getAuthn(deploymentName);
 switch (method.getMethod()) {
  case OAuth2:
   authn.setOauth2((OAuth2) method);
   break;
  case SAML:
   authn.setSaml((Saml) method);
   break;
  case LDAP:
   authn.setLdap((Ldap) method);
   break;
  case X509:
   authn.setX509((X509) method);
   break;
  case IAP:
   authn.setIap((IAP) method);
   break;
  default:
   throw new RuntimeException("Unknown Authn method " + method.getMethod());
 }
}
com.netflix.spinnaker.halyard.config.model.v1.securityAuthnsetSaml

Popular methods of Authn

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

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • 14 Best Plugins for Eclipse
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