Creating connection keys programmatically

Hi,
Is there anyway I can create the connection keys
programmatically, using an API or something ?
Thanks in advance

It is in XML, and encrypted. The code looks like this:
<?xml version="1.0" encoding="utf-8"?>
<site>
<version creator="Contribute" major="3" minor="0"/>
<localinfo sitename="Your Site" httpaddress="
http://www.yoursite.com/"
curserver="webserver"/>
<encryption>7800970D74BEA01E5DF571A782AE7F...etc.</encryption>
</site>

Similar Messages

  • When creating a connection key in cs5, does each user need a separate connection key?

    I am setting up multiple users to access a site in contribute (cs5).   Does each user need their own connection key or can 1 key be sent to multiple users?

    Hi,
         If all the users belong to the same role (like all users are Publishers or Writers), then, you can send a single connection key for all the users. But, if users belong to different roles, then, you will have to create connection keys for each role and then send it to the users.
    Hope this helps.

  • How to create a connection key for an intranet

    I'm trying to create a connection key for a client of ours to
    update a page on their intranet. The intranet is only available
    internally. How do I go about doing this?

    Hi
    Please create the account keys or transaction keys in
    SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
    Thanks & Regards
    Kishore

  • Creating keystore file programmatically

    Hi,
    Wondering if you will be able to help me. I would like to find out how you can create a keystore file programmatically without using the keytool command.
    What I'm trying to do is generate KeyPairs for the SSL connections. After the keys are signed, I would like to insert the keys into a new keystore file. Is that possible and if it is do you perhaps know how?
    Thanks
    Julia

    Hi Julia,
    keytool does not allow you to import private keys into a keystore but, I bypassed this problem this way:
    after creating your key pair convert them into the pkcs12 format
    openssl pkcs12 -inkey privatekey.key -in certificate.crt -export -out somename.p12
    fortunately using the following code that was already posted in the forum, you will be able to create a new keystore with your private key :)
    import java.security.*;
    import java.io.*;
    // assumes you are using a 3rd party keystore library
    // for pkcs12 key stores. For some reason, JDK 1.4 won't
    // read pkcs12 files exported from MIE / Netscape
    class Convert {
    static public void main(String[] args) throws Exception {
    try {
    //pkcs12 keystore
    KeyStore ks = KeyStore.getInstance("pkcs12");
    //jks keystore
    KeyStore ks2 = KeyStore.getInstance("jks");
    // load the pkcs12 file
    ks.load(new FileInputStream("C:\\insurance.p12"),"insurance123".toCharArray());
    // load the jks file (have to have an existing one)
    ks2.load(new FileInputStream("C:\\.temp"),"temp123".toCharArray());
    //read the p12 certificate
    java.security.cert.Certificate [] cc = ks.getCertificateChain("1");
    //gets the private key having as alias "1" and as password "insurance123"
    Key k = ks.getKey("1", "insurance123".toCharArray());
    // add to keystore and save
    ks2.setKeyEntry("insurance", k, "insurance123".toCharArray(),cc);
    FileOutputStream out = new FileOutputStream("C:\\newstore.keystore");
    ks2.store(out, "insurance123".toCharArray());
    out.close();
    } catch (Throwable e) { e.printStackTrace(); } }
    } //end of the class
    the following call:
    ks2.load(new FileInputStream("C:\\.temp"),"temp123".toCharArray());
    assumes that you already created a keystore (.temp) having for password : temp123
    Hope this help :)
    KAnis

  • Connection key in cs5, working for some users but not others.

    I've created a publisher connection key and have sent to 3 people to use.  I can open and connect the other 2 people can't.
    Any ideas why not?
    Thanks.....mommadell

    Please let me know
    1) Contribute version used by other two users.
    2) OS platform.
    3) What is the error message thrown while connecting. If the error thrown is about the version used, please refer to http://blogs.adobe.com/contribute/2009/09/compatibilty_transition_mode.html.

  • How dynamically create connection pool and Datasource

    Hi
    How I can dynamically create a connection pool and Data source in Oracle 10g Application server. In our J2EE application the user will be login with db user name, password and database name. I want to create connection pool and data source on the fly while login the user with database name. I our application we have access approximate 80 Databases. so my approach is given bellow
    1) Planning to create 80 connection pools and 80 Data sources so when user logs in while selecting the db name i will call the appropriate data source and create the DB connection. Is there any limitation to create number of data sources in oracle app server?
    2) Create DB connection with out using connection pool and data source. But i am not prefer this approach coz we need to handle some transaction in our application.
    Kindly throw some light on managing connection pool programmatically or in application run time.
    I would really appreciate if any one can provide any links or any inormation on this issue.
    Thanks in advance.

    Kindly let me know is there any drawbacks to create 80 Data Sources to connect 80 database in Oracle 10G App server and each data sources should have one connection pool. so i need to create 80 connection pool. Please let me know is this right approach or any work around to create Data source on fly for each request for corresponding database.

  • Not able to create connection or reset the password in Discoverer Plus

    I keep encountering errors when
    I try to create a connection or change my password. Below are the error I get.
    During Change of Password:
    "An invalid connection key was specified. Please correct the connection
    key and try again."
    During Creating Connection :
    " A connection error has occurred.
    - The application encountered an invalid state."
    I am currently using Discoverer 10g Plus.

    Hi All,
    I got the Solution.Its is to do with the 'Default_role' setup in 'DBA_ROLE_PRIV' table.the user should be setup up as 'DEFAULT_ROLE' = 'YES' in the mentioned table.
    Thanks,
    HP

  • What is the best practice for creating primary key on fact table?

    what is the best practice for primary key on fact table?
    1. Using composite key
    2. Create a surrogate key
    3. No primary key
    In document, i can only find "From a modeling standpoint, the primary key of the fact table is usually a composite key that is made up of all of its foreign keys."
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16579/logical.htm#i1006423
    I also found a relevant thread states that primary key on fact table is necessary.
    Primary Key on Fact Table.
    But, if no business requires the uniqueness of the records and there is no materilized view, do we still need primary key? is there any other bad affect if there is no primary key on fact table? and any benifits from not creating primary key?

    Well, natural combination of dimensions connected to the fact would be a natural primary key and it would be composite.
    Having an artificial PK might simplify things a bit.
    Having no PK leads to a major mess. Fact should represent a business transaction, or some general event. If you're loading data you want to be able to identify the records that are processed. Also without PK if you forget to make an unique key the access to this fact table will be slow. Plus, having no PK will mean that if you want to used different tools, like Data Modeller in Jbuilder or OWB insert / update functionality it won't function, since there's no PK. Defining a PK for every table is a good practice. Not defining PK is asking for a load of problems, from performance to functionality and data quality.
    Edited by: Cortanamo on 16.12.2010 07:12

  • Sending a connection key from a Mac to a PC

    It is very easy to send a connection key, but when I send one to PC from a MAC, I get this error "This connection key is only compatible with the Macintosh version of Contribute.".
    Does anyone have suggestions on why this happening?

    The network path is the location of the website in your organization’s local network. The network path includes the name of the server on which the website is stored and the directory path of the website’s files on that server.
    For example, your network path might be \\mycomputer\wwwroot\ (Windows) or afp://server:volume: (Mac OS).
    Note: If you are a Mac user, to create a LAN connection, make sure to mount the network volume of the server you are creating a connection to on your computer desktop before you create your connection. In the Finder, select Go > Connect to Server to mount the network to which you want to connect.
    Hope this answers.

  • What is the best way to test connection keys?

    I've created multiple connection key for various rolse on a
    new site. When I select the key it asks if I want to replace the
    existing connection, which I really don't want to do.
    What is the best way to handle this so the administrative
    connection is not affected?

    Also create a connection key for you administrator role, so
    you can swiftly switch back.

  • Connection key compatibility problem between Mac and Windows

    I'm wondering if anyone has had this problem and came up with a work-around?
    We are rolling out Contribute CS5 to some employees.
    The designers (I'm one of them) are all on Macs. Everyone else is on Windows XP.
    We are connecting to our sites via local/network. IT didn't want to set up FTP (I won't go into why right now).
    So, here is where the problem is... We set up the site and do the first connection on our Macs. Then when we send out a site key, to a Windows user, the key is no good. This is because Macs handle paths to network shares differently than Windows does.
    I thought the solution would be to customize the key with the Windows share path before sending it to the Windows users. However, Contribute wants to verify the path before letting me continute to make a customized key. And that is where I'm stuck. Is there a solution to this - besides switching to FTP?
    Thanks,
    Ward

    For windows users can you create a connection key in Windows machine and send the same.

  • Connection key doesn't work

    Hi, I have Contribute CS3/Dreamweaver CS3. When I create a
    connection key, then send it to a user (or try to use it myself) I
    get the message "Your FTP username or password is incorrect." In
    testing: I create a key in DW/CS3, place it on my Mac deskcop, then
    open Contribute CS3, double-click the key, I get the message. If I
    create a new connection in Contribute CS3 as admin, I can get in to
    edit site. I create a connection key, place it on my Mac desktop,
    remove the connection in Contribute CS3, then double-click the new
    key, I get the same message. Same problem for clients. All sites,
    all clients. I can walk a client through manually adding the
    connection and it works just fine. Anyone with any ideas why the
    keys don't work???

    Thanks for sharing.
    John
    "Art Shotwell" <[email protected]>
    wrote in message
    news:C28C938F.14B2D%[email protected]..
    > It took several days of back-and-forth with Adobe
    support, but I finally
    > got
    > an answer and so I thought I'd post it here for
    everyone. Contribute 4.11
    > has a problem storing FTP passwords that include special
    characters such
    > as
    > & or *, which I always use in my FTP passwords.
    Changing passwords fixes
    > Adobe's problem. Support told me this was a known
    problem and their
    > engineers are working on it.
    >
    >
    > On 5/31/07 10:33 PM, in article
    f3ob3i$gv7$[email protected], "Art
    > Shotwell" <[email protected]> wrote:
    >
    >> Hi, I have Contribute CS3/Dreamweaver CS3. When I
    create a connection
    >> key,
    >> then
    >> send it to a user (or try to use it myself) I get
    the message "Your FTP
    >> username or password is incorrect." In testing: I
    create a key in DW/CS3,
    >> place
    >> it on my Mac deskcop, then open Contribute CS3,
    double-click the key, I
    >> get
    >> the
    >> message. If I create a new connection in Contribute
    CS3 as admin, I can
    >> get in
    >> to edit site. I create a connection key, place it on
    my Mac desktop,
    >> remove
    >> the
    >> connection in Contribute CS3, then double-click the
    new key, I get the
    >> same
    >> message. Same problem for clients. All sites, all
    clients. I can walk a
    >> client
    >> through manually adding the connection and it works
    just fine. Anyone
    >> with any
    >> ideas why the keys don't work???
    >>
    >
    >

  • Creating a DSN Programmatically

    I want to create a DSN programmatically through my java program. Normally what we do is we create a DSN manually and then access that DSN through our java program but in my case i dont want that DSN to be created manually i want it to happen programmatically. how do i go for it. The database i would be using can be oracle, SQL server 2000, MYSQL, DB2. Please help me in this regard. Thankyou in advance

    Here is my code to connect to SQL Server without a
    DSN but it gives asn Error that No suitable Driver
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").ne
    wInstance();
    con=DriverManager.getConnection("Driver={SQL
    Server};Server=local;"+
                   "Uid=sa;Pwd=admin;");
    That error means that the URL isn't right.
    "Server=local"? Could that be "localhost"?
    Google for DSN less connection SQL Server:
    http://forums.hostmysite.com/post-6380.html
    %

  • Sending Publisher Connection Key gives Admin Rights in Contribute CS4

    I manage numerous remote sites around the country remotely using Contribute CS4. Each site uses a common template with different header images and left navigation.
    All of these sites function beautifully except one. On this particular site, sending a publisher connection key allows the user to connect to and edit pages on the site. However, the connection shows my (admin) email address, gives the user admin rights, and then puts a lock (.lck) file on almost all of the files, including the .CSS file. It also gives odd messages about workflow errors.
    From my end on the Contribute Administer Websites panel, the user shows up as publisher, but on their end, they have admin rights and my email address displays on their connection
    I tried deleting all of the files in the _mm and _notes folders and starting over, but this did not fix the problems.
    Any help on this would be greatly appreciated.

    Hi,
         Did you try re-creating Publisher keys for them, and sending it to your client? Also, with the existing key which your client has, what is the Role information for that connection key? This can be checked in the My Connections dialog.
    Where is your e-mail address being shown? If it is in the My Connections dialog along with the connection name, then that is because the administrator's e-mail address is shown there.
    Hope this helps.

  • Connection key

    I'm a longtime Dreamweaver user and just installed Contribute
    CS4.
    As a website designer / developer some of my clients want to
    do minor edits to the websites I build them. I'm running a test to
    see what they must do, so I setup a beta site on my server.
    I created a "connection key" and sent it to a test client.
    She got it, but when she double-clicks it, Vista says "what program
    opens this file?"
    I have Contribute on my machine. Does the client need it
    too?? Sounds like a dumb question, but I don't see anything in
    documention that covers this.
    Thanks,
    John

    Contribute is a client side program. It needs to be installed
    on your computer and your clients computer. Communication with the
    webserver is done with FTP. When your client installs Contribute,
    the program will run when she double clicks the key.

Maybe you are looking for