Examples of login()


Examples of org.ogce.expbuilder.context.ApplicationGlobalContext.login()

    ApplicationGlobalContext context;
    try {
      context = new ApplicationGlobalContext();
      context.getCredentials().setMyproxyUserName("");
      context.getCredentials().setMyproxyPassword("");
      context.login();
     
      xRegistryUrl = context.getXRegistryUrl();
      ExpBldrWorkflow expBldrWorkflow  =  xRegistryUtil.getWorkflowFromRegistry(workflowID, context);
     
      odeWorkflowManager.invokeWorkflow(expBldrWorkflow, context);
View Full Code Here

Examples of org.openoffice.gdocs.util.Wrapper.login()

        setButtonsEnable(false, false, false);
        Util.startNewThread(Configuration.getClassLoader(), new Runnable() {
            public void run() {
                try {
                    final Wrapper wrapper = WrapperFactory.getWrapperForCredentials(system);
                    wrapper.login(loginPanel1.getCreditionals());
                    List<Document> documents = wrapper.getListOfDocs(false);
                    fillListOfDocuments(wrapper,documents);
                    filterText.requestFocusInWindow();
                } catch (Exception e) {
                    ImportDialog.this.setCursor(currentCursor);
View Full Code Here

Examples of org.picketlink.Identity.login()

    if (isProtected(request) && !identity.isLoggedIn()) {
      // Force session creation
      request.getSession();

      if (creds.getCredential() != null) {
        identity.login();
      }

      if (identity.isLoggedIn()) {
        if (this.authenticationScheme.postAuthentication(request, response)) {
          chain.doFilter(servletRequest, servletResponse);
View Full Code Here

Examples of org.picketlink.identity.federation.core.wstrust.auth.AbstractSTSLoginModule.login()

        assertTrue(loginModule.isUseOptionsConfig());
        assertTrue(loginModule.isUsePasswordStacking());
        assertFalse(loginModule.isUseFirstPass());

        loginModule.login();

        assertEquals("user1", loginModule.getSharedUsername());
        assertEquals("pass1", new String(loginModule.getSharedPassword()));
    }
View Full Code Here

Examples of org.picketlink.identity.federation.core.wstrust.auth.STSIssuingLoginModule.login()

        final HashMap<String, Object> sharedState = new HashMap<String, Object>();

        loginModule.initialize(subject, callbackHandler, sharedState, allOptions());

        // Simulate Phase 1
        assertTrue(loginModule.login());

        final Object token = loginModule.getSharedToken();
        assertNotNull(token);
        assertTrue(token instanceof Element);
View Full Code Here

Examples of org.picketlink.identity.federation.core.wstrust.auth.STSValidatingLoginModule.login()

        final Subject subject = new Subject();

        loginModule.initialize(subject, callbackHandler, null, getAllOptions());

        // Simulate Phase 1
        assertTrue(loginModule.login());

        // Simulate Phase 2
        assertTrue(loginModule.commit());

        final Set<SamlCredential> samlCredentials = subject.<SamlCredential> getPublicCredentials(SamlCredential.class);
View Full Code Here

Examples of org.rhq.enterprise.clientapi.RemoteClient.login()

        client.setHost(host);
        client.setPort(port);
        client.setUser(username);
        client.setPass(password);

        Subject subject = remoteClient.login(username, password);

        String versionUpdate = remoteClient.getServerVersionUpdate();
        String version;
        //Conditionally check for and apply update/patch version details
        if ((versionUpdate != null) && (!versionUpdate.trim().isEmpty())) {
View Full Code Here

Examples of org.rosuda.REngine.Rserve.RConnection.login()

    ROutputHandler handler = new ROutputHandler(rServe.getInputStream(),
                                                BEGIN_MAGIC, END_MAGIC);
    handler.start();

    RConnection rconn = new RConnection("127.0.0.1", port);
    rconn.login("beaker", password);
    int pid = rconn.eval("Sys.getpid()").asInteger();
    return new RServer(rconn, handler, errorGobbler, port, password, pid);
  }

  // set the port used for communication with the Core server
View Full Code Here

Examples of org.sd_network.vfs.VfsService.login()

        // get password from console.
        String password = ConsoleUtil.readRequiredData("password");

        try {
            VfsService vfsService = VfsContext.getService();
            session.setSessionID(vfsService.login(loginName, password));
            String sessionID = session.getSessionID();
            VfsFile home = vfsService.getVfsFile(sessionID, "-1", "Home");
            if (home == null)
                throw new IllegalStateException(
                        "User home directory not found.");
View Full Code Here

Examples of org.sonar.api.issue.internal.IssueChangeContext.login()

  public void test_scan_context() throws Exception {
    Date now = new Date();
    IssueChangeContext context = IssueChangeContext.createScan(now);

    assertThat(context.scan()).isTrue();
    assertThat(context.login()).isNull();
    assertThat(context.date()).isEqualTo(now);
  }

  @Test
  public void test_end_user_context() throws Exception {
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.