Can we avoid specifying User ID & password for connecting to LiveCycle server through code?

Hi,
I am developing a JAVA program that connects to the LiveCycle ES server to assemble two PDF files. Here is some part of the code I am using. The code works fine.
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
AssemblerServiceClient assemblerClient = new AssemblerServiceClient(myFactory);
If I do not use the credential info (user ID and password) I get some credential exceptions. Is there a way that I can avoid providing the credential information? The reason for this is I do not want to hardcode the user ID and password information as the password can change. Is there any other way to solve this issue?
Regards,
Ragha

You can turn security off from your process.
Go under adminui under Services/Application and Services/Service Management.
Search for your process and under the security tab you can disable the security or use the 'Run As' feature to run under a specific user context.
Jasmin

Similar Messages

  • How can I find my user name password as I only remember the administrator password for the MacBook?

    How can I find my user name password as I only remember my administrator password?I don't want to lose things or content.

    If you have only one account, then your admin password is your user password. If you use another account that is not an admin account, then log into your admin account from which you can change the password on your user account.
    Forgot Your Account Password
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • User and Password for JMS-Adapter

    Hi all,
    when configuring JMS-Adapter e.g. for IBM MQSeries i do not find field where to specify the user and password for the MQ. We configure e.g. a receiver communication channel.
    In 2.0 JMS-Adapter we can put user and password like this
    JMS.QueueConnectionFactoryImpl.user=YTEST
    JMS.QueueConnectionFactoryImpl.password=<!%YTEST%!>
    in the property file. We can also hide the passwort with
    the mechanism of password token.
    How can this be done in JMS 3.0 Adpater? Is it possible?
    Thanks,
    Ly-Na Phu

    Oh, sorry. Now i see the field for user and passwort.
    Thanks,
    Ly-Na Phu

  • How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's Imac?  I have a list of his passwords, but nothing works!

    How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's iMac?  I have a list of his passwords, but nothing works!  I know his email, but that account has been cancelled for security purposes, so we can't just request a new one.  I tried his security questions to no avail.
    Thanks

    Since that password is tied to his Apple ID, you will need to contact Apple; as far as I know, it will be a somewhat lengthy procedure and you will  need to furnish necessary paperwork (including a death certificate as far as I know). Best to either stop at an Apple store or call them to find out exactly what it is you need to do.

  • The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    Thanks a lot for the response. Yes, I am checking my C: drive data thoroughly now, including the hidden folders, to ascertain if something else can be moved, as per your suggestion.

  • Can anyone give me user exit name for create/update purchase order partners

    Hello guys
      Can anyone gives me user exit name for create/update purchase order partners?
      Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N)  by using user exit.

    hi,
    check these exits.
    Transaction Code - ME21N                    Create Purchase Order
    Enhancement/ Business Add-in            Description
    Enhancement
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number

  • HT202023 How can I retreive or re-set password for restricting in-app purchases? I have forgotten it.

    HHow can I retreive or re-set password for restricting in-app purchases? I have forgotten it.

    The quotation below from iOS: Understanding Restrictions (parental controls) - Apple Support has instructions. Click on the "perform a factory restore" words for more details:
    Important: If you lose or forget your Restrictions passcode, you'll need to perform a factory restore to remove it.

  • Where can I find the User Guide ios7 for ipad in german

    Where can I find the User Guide ios7 for ipad in german

    https://itunes.apple.com/de/book/ipad-user-guide-for-ios-7/id709634245

  • TS3899 cannot get mail.....The user or password for AOL is incorrect

    Cannot get mail....The user or password for AOL is incorrect

    Hello MSPETE50,
    Thank you for using Apple Support Communities. 
    I see you are having issues with getting mail from your AOL account. The following article should help you troubleshoot the issue and get it sorted out. 
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Regards,
    Jeff D. 

  • Default User name & Password for NETWEAVER

    Hi Everybody,
                  I am a Basis Admin in my company working with ABAP Stack installed in my Server.
           Now I have installed Java Stack for Netweaver in a Separate System to Understand the Functionality of Netweaver & its Concept.
         Now the Problem is i am not able to Login Netweaver. I dont know the Default User name & Password for Netweaver after installing it.
        Also, what are the Main features of Netweaver Compare to ABAP Environment
      Could somebody help me to Understand Netweaver and its Default User name & Password to login?
    Thanks,
    Siva

    Hi
    The default asmin user for your Java add in would be J2EE_ADMIN and guest user would be J2EE_GUEST.
    The default password would be the password you provided at the time of installation.
    Regarding information on Netweaver Java, follow link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/a3bb3eff62847ae10000000a114084/content.htm
    Regards
    Rahul

  • ERROR: Could not encrypt password for Connection

    Hi
    I am trying to create and run demo application for 'Dveloping RIA using ADF and JDeveloper 11g'.
    When I try to run the application it throws the error- ERROR: Could not encrypt password for Connection 'MyDatabaseConnection'.
    Anyone please guide me how to resolve this issue.
    Thanks

    Can you try delete the Connection and re-create another one to see if it fixes the issue?
    -Arun

  • Weblogic 10.3 deployException: Could not encrypt password for connection

    Well, I guess this is my first time posting in a forum.
    My problem is that, when trying to run my servlet, using a jdbc:odbc connection
    to an Access-database, I get the following error in the server log:
    Running dependency analysis...
    2009-03-27 16:59:40.106: Writing WAR file to C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\TableViewApplication\TableViewApplication-tableviewproj-webapp
    2009-03-27 16:59:40.12: Wrote WAR file to C:\Program Files\JDeveloper\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\TableViewApplication\TableViewApplication-tableviewproj-webapp
    ERROR: Could not encrypt password for Connection TBLViewConnect.
    The connection I'm using works fine when testing it with the JDeveloper's SQL editor.
    It's properties are:
    Connection Name: TBLViewConnect
    Connection Type: JDBC-ODBC Bridge
    as well as username, password and a local datasource
    I'm running JDeveloper 11.1.1 on Vista 32bit
    Besides, it's my first time using a database-connection with a servlet
    thanks for your help

    guess I could have found that earlier ;)
    I just had to uncheck the "save password" option in the connection menu and write it in the getConnection() method instead.

  • User privilege required to connect to OLAP Server

    What are the user priviledge required to connect to OLAP Server? Eg OLAPDBA user connectd perfectly thrugh the Java Program for Sales History. But the Sales History User ( SH ) cannot connect to the Server and generates a RemoteAuthentication Exception. I tried giving those privilege and roles as that of OLAPDBA but no success.
    Can anyone please help me out in this.
    Regards,
    Prachi Nadgouda

    In the OLAP Users Guide 9.2.0.2, it states to connect to the database using the OLAP API, users must have the following access rights to the database:
    CONNECT role
    QUERY REWRITE system privilege
    SELECT privileges on the database objects containing the data to be analyzed

  • HT4097 Can not restore ipad 2. Unable to connect to activation server, server is temporarily unavailable??

    Can not restore ipad 2. Unable to connect to activation server, server is temporarily unavailable??

    Hi Anson/JimHdk,
    I triple checked to makes sure my SSID and passwords are right.
    I found the MAC Address filter is not turned on...
    I don't think there's maximum number of connection for the router (I turned my 2 other devices on Airplane mode when checking) and it still didn't work. 
    I don't know how to durn off DHCP and use static IP address....
    There's no firmware update available for my router as it's 8 years old....
    My brother says I will need to get a new router....   hopefully that will work....
    Thank you both for offering these additional checks!
    Mary

  • ERROR#: 2002 can't connect to MySQL server through socket '/var/mysql/mysql.sock'

    I was following this adobe article (
    http://www.adobe.com/devnet/dreamweaver/articles/php_macintosh.html)
    to set up PHP and MySQL and connect a MySQL database to dreamweaver
    in Mac OS 10.4.8 and I kept getting:
    "Can't connect to MySQL server through socket
    '/var/mysql/mysql.sock' ERROR#: 2002".
    After a lot of searching I came across
    this
    article which said that there was an error in the PHP and MySQL
    connection or something.
    Anyway all I had to do was type (in a TERMINAL window):
    $ sudo mkdir /var/mysql
    $ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    and that fixed the problem, otherwise the adobe article
    worked very well.
    Check out the "this article" link to get the fix straight
    from the horse's mouth.

    I was following this adobe article (
    http://www.adobe.com/devnet/dreamweaver/articles/php_macintosh.html)
    to set up PHP and MySQL and connect a MySQL database to dreamweaver
    in Mac OS 10.4.8 and I kept getting:
    "Can't connect to MySQL server through socket
    '/var/mysql/mysql.sock' ERROR#: 2002".
    After a lot of searching I came across
    this
    article which said that there was an error in the PHP and MySQL
    connection or something.
    Anyway all I had to do was type (in a TERMINAL window):
    $ sudo mkdir /var/mysql
    $ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    and that fixed the problem, otherwise the adobe article
    worked very well.
    Check out the "this article" link to get the fix straight
    from the horse's mouth.

Maybe you are looking for