Examples of createKey()


Examples of com.adito.boot.KeyStoreManager.createKey()

                                "")) + ", o="
                            + Util.escapeForDNString((String) seq.getAttribute(CreateNewCertificateForm.ATTR_COMPANY, "")) + ", l="
                            + Util.escapeForDNString((String) seq.getAttribute(CreateNewCertificateForm.ATTR_CITY, "")) + ", st="
                            + Util.escapeForDNString((String) seq.getAttribute(CreateNewCertificateForm.ATTR_STATE, "")) + ", c="
                            + Util.escapeForDNString((String) seq.getAttribute(CreateNewCertificateForm.ATTR_COUNTRY_CODE, ""));
            mgr.createKey(alias, dname);
            Property.setProperty(new ContextKey("webServer.keyStoreType"), KeyStoreManager.TYPE_JKS.getName(), null);
            Property.setProperty(new ContextKey("webServer.alias"), alias, null);

            CoreEvent coreEvent = new CoreEvent(this, CoreEventConstants.KEYSTORE_CERTIFICATE_CREATED, alias, null).addAttribute(
                CoreAttributeConstants.EVENT_ATTR_CERTIFICATE_ALIAS, alias).addAttribute(CreateNewCertificateForm.ATTR_HOSTNAME,
View Full Code Here

Examples of com.dooapp.gaedo.google.datastore.IdManager.createKey()

        .get(parentField.getType());
    IdManager parentIdManager = parentService.getIdManager();
    Object parentObject = parentField.get(data);
    String parentKind = parentService.getKind();
    if (!parentIdManager.hasKey(parentKind, parentObject)) {
      parentIdManager.createKey(parentKind, parentObject);
    }
    return parentIdManager.getKey(parentKind, parentObject);
  }

  @Override
View Full Code Here

Examples of com.puzzlebazar.shared.model.User.createKey()

    String locale =  availableLocales.getBestLocale(axSchema.get("language")).getLocale();

    User user = getUserByEmailOrCreate(email, locale);
    if (user != null) {
      String sessionId = getSessionId();
      ofy().put(new Session(sessionId, user.createKey()));
    }
  }

  /**
   * Access the user given a user key.
View Full Code Here

Examples of com.puzzlebazar.shared.model.UserImpl.createKey()

        user = ofy().get(emailToUser.getUserKey());
      } catch (NotFoundException e) {
        user = new UserImpl(emailQuery);
        user.setLocale(locale);
        ofy().put(user);
        EmailToUser emailToUser = new EmailToUser(emailQuery, user.createKey());
        ofyTxn.put(emailToUser);
        ofyTxn.getTxn().commit();
      } finally {
        if (ofyTxn.getTxn().isActive()) {
          ofyTxn.getTxn().rollback();
View Full Code Here

Examples of com.sun.star.registry.XRegistryKey.createKey()

        try
        {
          XRegistryKey xNewKey = xKey.createKey( "/" + impl_name + "/UNO/SERVICES" );
            for ( int nPos = 0; nPos < supported_services.length; ++nPos )
            {
                xNewKey.createKey( supported_services[ nPos ] );
            }
          return true;
        }
        catch (com.sun.star.registry.InvalidRegistryException exc)
        {
View Full Code Here

Examples of com.sun.star.registry.XRegistryKey.createKey()

     
      try {
          XRegistryKey newKey = regKey.createKey("/" + JavaLoader.class.getName() + "/UNO/SERVICE");
        
          for (int i=0; i<supportedServices.length; i++)
              newKey.createKey(supportedServices[i]);
         
          result = true;
      }
      catch (Exception ex) {
          if (DEBUG) System.err.println(">>>JavaLoader.writeRegistryServiceInfo " + ex);
View Full Code Here

Examples of com.sun.star.registry.XRegistryKey.createKey()

      boolean result = false;
     
        try {
          XRegistryKey newKey = regKey.createKey("/" + implName + "/UNO/SERVICES");
        
      newKey.createKey(serviceName);
         
          result = true;
        }
        catch (Exception ex) {
            System.err.println(">>>Connection_Impl.writeRegistryServiceInfo " + ex);
View Full Code Here

Examples of com.sun.star.registry.XRegistryKey.createKey()

        try
        {
          XRegistryKey xNewKey = xKey.createKey( "/" + impl_name + "/UNO/SERVICES" );
            for ( int nPos = 0; nPos < supported_services.length; ++nPos )
            {
                xNewKey.createKey( supported_services[ nPos ] );
            }
          return true;
        }
        catch (com.sun.star.registry.InvalidRegistryException exc)
        {
View Full Code Here

Examples of crazypants.enderio.conduit.geom.CollidableCache.createKey()

  private Collection<CollidableComponent> getCollidables(ForgeDirection dir) {
    CollidableCache cc = CollidableCache.instance;
    Class<? extends IConduit> type = getCollidableType();
    if(isConnectedTo(dir) && getConnectionMode(dir) != ConnectionMode.DISABLED) {
      return cc.getCollidables(cc.createKey(type, getBundle().getOffset(getBaseConduitType(), dir), dir, renderStub(dir)), this);
    }
    return null;
  }

}
View Full Code Here

Examples of de.willuhn.jameica.hbci.passports.rdh.keyformat.KeyFormat.createKey()

        Logger.info("asking user which key format to be used");
        KeyFormatDialog d = new KeyFormatDialog(KeyFormatDialog.POSITION_CENTER,ft);
        format = (KeyFormat) d.open();
      }
     
      addKey(format.createKey(f));
      Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Schl�sseldatei erfolgreich erstellt"),StatusBarMessage.TYPE_SUCCESS));
    }
    catch (OperationCanceledException oce)
    {
      Logger.warn("operation cancelled; " + oce.getMessage());
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.