Examples of Identity


Examples of br.net.woodstock.rockframework.security.Identity

  public String getSignAlgorithm() {
    return this.getSignType().getAlgorithm();
  }

  public PrivateKey getIssuerPrivateKey() {
    Identity identity = this.getIssuer();
    if (identity != null) {
      return identity.getPrivateKey();
    }
    return null;
  }
View Full Code Here

Examples of cascading.operation.Identity

        Tap in = sourceTap();
        Tap out = new EsTap("cascading-hadoop/alias", "", new Fields("name", "url", "picture"));
        Pipe pipe = new Pipe("copy");

        // rename "id" -> "garbage"
        pipe = new Each(pipe, new Identity(new Fields("garbage", "name", "url", "picture", "ts")));

        Properties props = HdpBootstrap.asProperties(CascadingHadoopSuite.configuration);
        props.setProperty("es.mapping.names", "url:address");
        StatsUtils.proxy(new HadoopFlowConnector(props).connect(in, out, pipe)).complete();
    }
View Full Code Here

Examples of com.alibaba.otter.shared.etl.model.Identity

    /**
     * 返回结果为已处理成功的记录
     */
    public DbLoadContext load(RowBatch rowBatch, WeightController controller) {
        Assert.notNull(rowBatch);
        Identity identity = rowBatch.getIdentity();
        DbLoadContext context = buildContext(identity);

        try {
            List<EventData> datas = rowBatch.getDatas();
            context.setPrepareDatas(datas);
View Full Code Here

Examples of com.betfair.cougar.api.security.Identity

        ctf.setThreadNamePrefix(getTransportName()+"-Publisher-");
        threadPool = new JMXReportingThreadPoolExecutor(threadPoolSize, threadPoolSize, 0, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), ctf);
    }

    public void initialiseExecutionContext() {
        final Identity transportIdentity = new EventTransportIdentityImpl(JmsEventTransportImpl.this, transportIdentifier);

        if (executionContext == null) {
            executionContext = new ExecutionContext() {

                @Override
View Full Code Here

Examples of com.calclab.emite.xep.disco.Identity

import com.calclab.emite.xep.disco.Identity;

public class IdentityTest {
  @Test
  public void shouldParsePacket() {
    final Identity identity = Identity.fromPacket(XMLBuilder.fromXML("<identity category='pubsub' type='pep' name='publish' />"));
    assertNotNull(identity);
    assertEquals("pubsub", identity.category);
    assertEquals("pep", identity.type);
    assertEquals("publish", identity.name);
  }
View Full Code Here

Examples of com.cubusmail.common.model.Identity

   * @throws IOException
   */
  public void setGWTMessage( GWTMessage gwtMsg ) throws MessagingException, IOException {

    UserAccount account = SessionManager.get().getUserAccount();
    Identity identity = account.getIdentityById( gwtMsg.getIdentityId() );

    setFrom( identity.getInternetAddress() );

    if ( !StringUtils.isEmpty( identity.getReplyTo() ) ) {
      setReplyTo( identity.getReplyTo() );
    }

    setTo( gwtMsg.getTo() );
    setCc( gwtMsg.getCc() );
    setBcc( gwtMsg.getBcc() );
View Full Code Here

Examples of com.cubusmail.gwtui.domain.Identity

    this.identityStore.setUserAccount( GWTSessionManager.get().getUserAccount() );
    this.identityStore.load();
    this.priorityStore.load();

    Identity identity = GWTSessionManager.get().getUserAccount().getStandardIdentity();
    this.fromCombo.setValue( identity.getId().toString() );
    setFieldsForIdentity( identity );

    this.priorityCombo.setValue( String.valueOf( GWTMailConstants.PRIORITY_NORMAL ) );
    this.htmlCheck.setChecked( GWTSessionManager.get().getPreferences().isCreateHtmlMsgs() );
    this.acknowledgementCheck.setChecked( false );
View Full Code Here

Examples of com.google.code.lightssh.project.identity.entity.Identity

    }
   
    Persistence<?> p = originalModel;
    if(p==null)
      p = newModel;
    Identity classIdentity = identityManager.getClassIdentity( p );
    if( classIdentity == null ){
      classIdentity = new Identity( p );
      this.identityManager.create(classIdentity);
    }
    access.setClassIdentity(classIdentity);
   
    History history = new History(access,originalModel,newModel);
View Full Code Here

Examples of com.rexsl.page.auth.Identity

    /**
     * As identity.
     * @return The identity
     */
    public Identity asIdentity() {
        return new Identity() {
            @Override
            public URN urn() {
                return RestUser.this.origin.identity();
            }
            @Override
View Full Code Here

Examples of com.sk89q.skmcl.session.Identity

        Persistence.commitAndForget(profile);
        getProfiles().notifyUpdate();

        LoginController loginDialog = new LoginController(owner, this);
        loginDialog.setVisible(true);
        Identity identity = loginDialog.getIdentity();

        if (identity != null) {
            LaunchWorker task = new LaunchWorker(profile, identity);
            ListenableFuture<LaunchedProcess> future = executor.submit(task);
            SwingHelper.addErrorDialogCallback(future, owner);
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.