Examples of UserInfo


Examples of com.google.api.services.oauth2.model.Userinfo

                            "IO Error when obtaining userInfo: " + cause.getMessage(), cause);
                }
            }

        };
        Userinfo uinfo = googleRequest.executeRequest(accessTokenContext, this);

        if (log.isTraceEnabled()) {
            log.trace("Successfully obtained userInfo from google: " + uinfo);
        }
View Full Code Here

Examples of com.google.feedserver.config.UserInfo

    oauthParams.put(UserInfoProperties.OWNER_ID,
        urlDecode(message.getParameter("opensocial_owner_id")));
    oauthParams.put(UserInfoProperties.APPLICATION_ID, message.getParameter("opensocial_app_id"));
    oauthParams.put(UserInfoProperties.APPLICATION_URL, message.getParameter("opensocial_app_url"));

    UserInfo userInfo = new HashMapBasedUserInfo(oauthParams);
    request.setAttribute(AbstractManagedCollectionAdapter.USER_INFO, userInfo);

    return message.getParameter("opensocial_viewer_id");
  }
View Full Code Here

Examples of com.google.testing.testify.risk.frontend.model.UserInfo

  @Override
  public boolean isWhitelisted() {
    if (isInternalUser()) {
      return true;
    }
    UserInfo user = getCurrentUserInfo(pmf.getPersistenceManager(), false);
    if (user == null) {
      return false;
    }
    return user.getIsWhitelisted();
  }
View Full Code Here

Examples of com.heroku.api.request.user.UserInfo

    /**
     * Information for the current user.
     * @return
     */
    public User getUserInfo() {
        return connection.execute(new UserInfo(), apiKey);
    }
View Full Code Here

Examples of com.jcraft.jsch.UserInfo

           
            /*
             * we need this user interaction interface to support
             * the interactive-keyboard mode
             */            
            final UserInfo ui=new SchUserInfo(password);
            session.setUserInfo(ui);       
           
            // trying to connect ...
            session.connect();       
           
View Full Code Here

Examples of com.jcraft.jsch.UserInfo

            s.setConfig("StrictHostKeyChecking""ask");

            // TODO: by the current jsch (0.1.50) setting "HashKnownHosts" to "no" is a workaround
            // to make the tests run green, see also http://sourceforge.net/p/jsch/bugs/63/
            s.setConfig("HashKnownHosts""no");
            s.setUserInfo(new UserInfo() {
                @Override
                public String getPassphrase() {
                    return null;
                }
                @Override
View Full Code Here

Examples of com.jcraft.jsch.UserInfo

        Properties props = new Properties();
        props.setProperty("StrictHostKeyChecking", "false");
        JSch jsch = new JSch();
        Session session = jsch.getSession(user, host, 22);
        session.setUserInfo(new UserInfo()
        {
            public String getPassphrase()
            {
                return null;
            }
View Full Code Here

Examples of com.jcraft.jsch.UserInfo

            public void log(int i, String s) {
                System.out.println("Log(jsch," + i + "): " + s);
            }
        });
        session = sch.getSession("sshd", "localhost", port);
        session.setUserInfo(new UserInfo() {
            public String getPassphrase() {
                return null;
            }

            public String getPassword() {
View Full Code Here

Examples of com.jcraft.jsch.UserInfo

            public void log(int i, String s) {
                System.out.println("Log(jsch," + i + "): " + s);
            }
        });
        session = sch.getSession("sshd", "localhost", port);
        session.setUserInfo(new UserInfo() {
            public String getPassphrase() {
                return null;
            }
            public String getPassword() {
                return "sshd";
View Full Code Here

Examples of com.jcraft.jsch.UserInfo

    protected ChannelSftp createChannelSftp() throws JSchException {
        final JSch jsch = new JSch();
        final Session session = jsch.getSession(getConfiguration().getUsername(), getConfiguration().getHost());
        // TODO there's got to be a better way to deal with accepting new hosts...
        session.setUserInfo(new UserInfo() {
            public String getPassphrase() {
                return null;
            }

            public String getPassword() {
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.