Examples of username()


Examples of com.saasovation.identityaccess.domain.model.identity.User.username()

        ApplicationServiceRegistry
            .identityApplicationService()
            .addUserToGroup(new AddUserToGroupCommand(
                childGroup.tenantId().id(),
                childGroup.name(),
                user.username()));

        assertEquals(1, parentGroup.groupMembers().size());
        assertEquals(1, childGroup.groupMembers().size());
        assertTrue(parentGroup.isMember(user, DomainRegistry.groupMemberService()));
        assertTrue(childGroup.isMember(user, DomainRegistry.groupMemberService()));
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.User.username()

        UserDescriptor userDescriptor =
                ApplicationServiceRegistry
                    .identityApplicationService()
                    .authenticateUser(new AuthenticateUserCommand(
                            user.tenantId().id(),
                            user.username(),
                            FIXTURE_PASSWORD));

        assertNotNull(userDescriptor);
        assertEquals(user.username(), userDescriptor.username());
    }
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.User.username()

                            user.tenantId().id(),
                            user.username(),
                            FIXTURE_PASSWORD));

        assertNotNull(userDescriptor);
        assertEquals(user.username(), userDescriptor.username());
    }

    public void testDeactivateTenant() throws Exception {
        Tenant tenant = this.tenantAggregate();
        assertTrue(tenant.isActive());
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.User.username()

        ApplicationServiceRegistry
            .identityApplicationService()
            .changeUserContactInformation(
                    new ChangeContactInfoCommand(
                            user.tenantId().id(),
                            user.username(),
                            "mynewemailaddress@saasovation.com",
                            "777-555-1211",
                            "777-555-1212",
                            "123 Pine Street",
                            "Loveland",
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.User.username()

        ApplicationServiceRegistry
            .identityApplicationService()
            .changeUserEmailAddress(
                    new ChangeEmailAddressCommand(
                            user.tenantId().id(),
                            user.username(),
                            "mynewemailaddress@saasovation.com"));

        User changedUser =
                DomainRegistry
                    .userRepository()
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.UserDescriptor.username()

        this.setEmailAddress(desc.emailAddress());
        this.setFirstName(aUser.person().name().firstName());
        this.setLastName(aUser.person().name().lastName());
        this.setRole(aRole);
        this.setTenantId(desc.tenantId().id());
        this.setUsername(desc.username());
    }

    private void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }
View Full Code Here

Examples of er.example.erxpartials.model.Partial_AuthenticatedPerson.username()

    NSArray<Person> allPersons = Person.fetchAllPersons(ec);
    for ( Person aPerson : allPersons) {
      Partial_AuthenticatedPerson auth = aPerson.partialForClass(Partial_AuthenticatedPerson.class);
      auth.setLastLoginDate(new NSTimestamp());
      auth.setUsername( aPerson.firstName().toLowerCase() + "." + aPerson.lastName().toLowerCase() );
      auth.setPassword( ERXCrypto.base64HashedString(auth.username()) );
    }
  }
}
View Full Code Here

Examples of er.websocketexample.Session.username()

   * a copy of the session locally. That would be a bad idea.
   */
  @Override
  public void init(WOSession session) {
    Session s = (Session) session;
    username = s.username();
  }

  public String username() {
    return username;
  }
View Full Code Here

Examples of io.mola.galimatias.URL.username()

            return input;
        }
        URL output = input;
        if (output.isHierarchical()) {
            output = output
                    .withUsername(decodeUnreserved(output.username()))
                    .withPassword(decodeUnreserved(output.password()))
                    .withPath(decodeUnreserved(output.path()));
        }
        return output
                .withQuery(decodeUnreserved(output.query()))
View Full Code Here

Examples of io.netty.handler.codec.socksx.v5.Socks5AuthRequest.username()

            ctx.write(new Socks5InitResponse(Socks5AuthScheme.AUTH_PASSWORD));
            return false;
        }

        Socks5AuthRequest req = (Socks5AuthRequest) msg;
        if (req.username().equals(username) && req.password().equals(password)) {
            ctx.pipeline().addBefore("encoder", "decoder", new Socks5CmdRequestDecoder());
            ctx.write(new Socks5AuthResponse(Socks5AuthStatus.SUCCESS));
            return true;
        }
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.