congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GoogleRoleProvider
Code IndexAdd Tabnine to your IDE (free)

How to use
GoogleRoleProvider
in
com.netflix.spinnaker.halyard.config.model.v1.security

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

origin: spinnaker/halyard

 @Override
 protected RoleProvider editRoleProvider(GoogleRoleProvider roleProvider) {
  roleProvider.setCredentialPath(isSet(credentialPath) ? credentialPath : roleProvider.getCredentialPath());
  roleProvider.setAdminUsername(isSet(adminUsername) ? adminUsername : roleProvider.getAdminUsername());
  roleProvider.setDomain(isSet(domain) ? domain : roleProvider.getDomain());
  return roleProvider;
 }
}
origin: com.netflix.spinnaker.halyard/halyard-config

 @Override
 public void validate(ConfigProblemSetBuilder p, GoogleRoleProvider n) {
  if (StringUtils.isEmpty(n.getAdminUsername())) {
   p.addProblem(Problem.Severity.ERROR, "No admin username specified.");
  }

  if (StringUtils.isEmpty(n.getCredentialPath())) {
   p.addProblem(Problem.Severity.ERROR, "No credentials path specified.");
  }

  if (StringUtils.isEmpty(n.getDomain())) {
   p.addProblem(Problem.Severity.ERROR, "No domain specified.");
  }
 }
}
origin: spinnaker/halyard

 @Override
 public void validate(ConfigProblemSetBuilder p, GoogleRoleProvider n) {
  if (StringUtils.isEmpty(n.getAdminUsername())) {
   p.addProblem(Problem.Severity.ERROR, "No admin username specified.");
  }

  if (StringUtils.isEmpty(n.getCredentialPath())) {
   p.addProblem(Problem.Severity.ERROR, "No credentials path specified.");
  }

  if (StringUtils.isEmpty(n.getDomain())) {
   p.addProblem(Problem.Severity.ERROR, "No domain specified.");
  }
 }
}
origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected RoleProvider editRoleProvider(GoogleRoleProvider roleProvider) {
  roleProvider.setCredentialPath(isSet(credentialPath) ? credentialPath : roleProvider.getCredentialPath());
  roleProvider.setAdminUsername(isSet(adminUsername) ? adminUsername : roleProvider.getAdminUsername());
  roleProvider.setDomain(isSet(domain) ? domain : roleProvider.getDomain());
  return roleProvider;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.securityGoogleRoleProvider

Most used methods

  • getAdminUsername
  • getCredentialPath
  • getDomain
  • setAdminUsername
  • setCredentialPath
  • setDomain

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Path (java.nio.file)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • 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