Examples of Credentials


Examples of com.expositds.ars.model.Credentials

  @SuppressWarnings({ "unchecked", "rawtypes" })
  @RequestMapping(value = "/sign-in", method = RequestMethod.GET)
  public String signIn(Map model) {
    log.info("Mapping /auth/sign-in succeeds.");

    Credentials credentials = new Credentials();
    model.put("credentials", credentials);
    return "sign-in";
  }
View Full Code Here

Examples of com.google.gsa.Credentials

            if (userSession != null) {

                logger.debug("userSession is not empty: " +
                             userSession.getUserName());

                Credentials credentials = userSession.getUserCredentials();

                if (credentials != null) {

                    logger.debug("Setting credentials for authorization");
View Full Code Here

Examples of com.google.refine.oauth.Credentials

            throws ServletException, IOException {
       
        try {
            Provider provider = OAuthUtilities.getProvider(request);
           
            Credentials access_credentials = Credentials.getCredentials(request, provider, Credentials.Type.ACCESS);
           
            response.setCharacterEncoding("UTF-8");
            response.setHeader("Content-Type", "application/json");
           
            if (access_credentials != null) {
View Full Code Here

Examples of com.googlecode.gmail4j.auth.Credentials

        proxyCredentials.validate();
        this.proxyCredentials = proxyCredentials;
    }

    public void setProxyCredentials(final String username, final char[] password) {
        setProxyCredentials(new Credentials(username, password));
    }
View Full Code Here

Examples of com.griddynamics.genesis.tools.credentials.Credentials

      Assert.assertTrue(pathToCredential!=null, "Credentials path property was not set");
     
      int projectId = getProjectIdByProjectName(projectName);
    Assert.assertTrue(projectId != -1, "Project " + projectName + " was not found");

    newCredentials = new Credentials(pairName, cloudProvider, identity, getKeyFromFile(pathToCredential, credential));
   
      request.setUrl(String.format(ADD_CREDENTIALS_URL, projectId));
      request.post(newCredentials);

      newCredentials.setProjectId(projectId);
View Full Code Here

Examples of com.hazelcast.security.Credentials

    public JoinRequest createJoinRequest() {
        return createJoinRequest(false);
    }

    public JoinRequest createJoinRequest(boolean withCredentials) {
        final Credentials credentials = (withCredentials && securityContext != null)
                ? securityContext.getCredentialsFactory().newCredentials() : null;

        return new JoinRequest(Packet.VERSION, buildInfo.getBuildNumber(), address,
                localMember.getUuid(), createConfigCheck(), credentials, clusterService.getSize(), 0,
                config.getMemberAttributeConfig().getAttributes());
View Full Code Here

Examples of com.jetbrains.heroku.herokuapi.Credentials

            herokuApplicationService.update(getToken());
        }
    }

    public void reset() {
        final Credentials credentials = herokuApplicationService.getCredentials();
        this.tokenField.setText(credentials != null ? credentials.getToken() : null);
    }
View Full Code Here

Examples of com.microsoft.tfs.core.httpclient.Credentials

    @Override
    public ConnectionStatus configure(String url, String username, String password) {

        try {
            Credentials credentials = new UsernamePasswordCredentials(username, password);

            URI uri = null;
            try {
                uri = new URI(url);
            } catch (URISyntaxException e) {
View Full Code Here

Examples of com.mucommander.commons.file.Credentials

        // Insert the domain (if any) before the username, separated by a semicolon
        String userInfo = lastUsername;
        if(!lastDomain.equals(""))
            userInfo = lastDomain+";"+userInfo;

        url.setCredentials(new Credentials(userInfo, lastPassword));

        return url;
    }
View Full Code Here

Examples of com.redhat.ceylon.common.config.Credentials

            case name:
                value = rep.getName(); break;
            case url:
                value = rep.getUrl(); break;
            default:
                Credentials cred = rep.getCredentials();
                if (cred != null) {
                    switch (key) {
                    case user:
                        value = cred.getUser(); break;
                    case password:
                        value = cred.getPassword(); break;
                    case keystore:
                        value = cred.getKeystore(); break;
                    case alias:
                        value = cred.getAlias(); break;
                    default:
                        // Won't happen
                    }
                } else {
                    log("No credentials found for repository " + repdesc, Project.MSG_WARN);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.