RFC client connect without giving password

Hi,
I wrote a JCo client, get connected to SAP and called an rfc enabled function.
This is all working fine, but I have to give user and password in the JCO.createClient method.
Is there any possibility to avoid giving password and user?
Is it possible to use first something like an R/3 connection (created via SM59) and then call the rfc function?
I tried JCO.createClient with a param_list with parameter "alias_user" or "saplogon_id", but it didn't work.
Do you have any hints to solve this issue?
Thank you in advance!

Hallo Oli,
what I normally do is create a little text file and save it as conn.properties containing the login information. Then I just read the conn.properties for the connection information in my Java program like the IP, username, password, etc.
This way you don't need to change your complete program for just the simple login data. Logging in without the username and password is not possible as far as I know, with the properties file you can have multiple users who can change their login information and run the program.
Hope that helps,
Sameer

Similar Messages

  • My Verizon MI424WR router resets and drops all client connections without my intervention

    I have noticed my devices lose their Verizon MI424WR router and Internet connection (wired and wireless alike) for some time now (months) on a regular basis. Sometimes multiple times a day and at different times of the day. You typically have to be actively using a device to notice these events. I have one client that will display an "Internet Connection Restored" message until I return to view it and I can see that this happens quite frequently overnight when there is minimal Internet usage. During a recent "outage" I quickly ran to the router to find it was in the process of rebooting, however, I did not perform any direct actions (e.g., cycling the power or applying admin config changes) that would have caused it.
    What is/could be the cause of this? Is Verizon support pushing silent router maintenance updates that require resets? Am I exceeding the maximum TCP connections the firmware will allow before faulting to reboot? I require high availability and uninterrupted connections and would prefer to know the routers limitations or when any remote automated maintenance requiring resets will be occurring if that is in fact the cause.

    My router routinely runs for months between resets, which are caused by me needing to move a cable or a similar.  Only once did I notice a reset due to a Verizon update, and that was when the firmware was updated a year or so ago.
    You can check the router's up time on the "system monitoring" web page.  This will let you know when the last reset occurred.
    You should not see resets unless you cause them.  The symptoms you describe are not typical.  You might need a new router.  If you think so, contact Verizon support.
    Good Luck.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Connection without username, password or database name

    I'm trying to find an automated way (for a given dbms) to check whether a server name and port number correctly identifies that the given dbms is running at that location.
    For example, in MySQL, I can do something like:
    DriverManager.getConnection("jdbc:mysql://" + serverName + ":" + port + "/");
    So, I havent specified a username, password or database name. And this works (at least on my installation) by simply checking for an exception.
    My question is: Can I always rely on this for MySQL or does it depend on how the MySQL dbms is configured?
    What about MS SQL Server and Oracle?
    Any help, much appreciated.

    Your question was "Can I always rely on this for MySQ"No it wasn't. My question was:
    "Can I always rely on this for MySQL or does it depend on how the MySQL dbms is configured?"
    Its the bit between the "My question is: " and the question mark. I understand that if you chop the question in half then "no" is a valid answer but then thats not the same question.
    and the answer is[i] No! If your abilitydepends on the MySQL configuration then the answer to
    your question is still No because it means you
    can't always rely on it.
    Wrong again!
    If I was to ask "does it depend on how the MySQL dbms is configured?" then the answer is yes.
    I think "No, yes" is a better answer to the question. Although I think masijade answer is best.
    But anway, thanks for your constructive reply.

  • Without giving any password  it is getting connected in windows

    in windowsfrom command prompt when i try to login to oracle it is asking for username but when i just press the enter key for password ( without giving any password) it is getting connected?
    How do i stop it ?
    Regards
    Sudharshan

    This is addressed in the following note:
    Note: 77665.1 - WIN: OS Authentication - CONNECT AS SYSDBA Without a Password
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=77665.1

  • Connect to remote target without giving SYSDBA password

    Hi, I would want to script RMAN backup running from a Catalog Server using windows scheduled job which will backup target running in remote machine.
    Is there a way I can connect to the target in remote machine without giving the password in the script?
    Catalog server and target server are 11.2.0.3
    -Srini

    Hi, I created the wallet with UserA and now I want to put a scheduled job with a service account UserB but am not able to access the wallet.
    Its Windows 2008 and I have explicitly added the UserB as Full permission for the wallet file. The error message is below
    ORA-12578: TNS:wallet open failed
    Am pretty sure its a permission issue - but not sure how to provide the permission. UserB is in Admin Group, ORA_DBA Group, can log-in a batch job .........
    Any pointer greatly appreciated.
    -Srini

  • I sold a ipad 1.. I did a reset and cleaned out all data.. however, the new owner tells me when he connects to itunes it is asking for my password.  how can i resolve this without giving him my password

    I sold a ipad 1.. I did a reset and cleaned out all data before shipping to him.   however, the new owner tells me when he connects to itunes it is asking for my password.  how can i resolve this without giving him my password?  will a hard reset take care of this?

    Have the purchaser go to Settings/Store, tap your Apple ID and then choose Sign out.
    The purchaser will then need to tap Sign in and enter their own Apple ID for their iTunes account.

  • Restricting SYS connection without password

    Normally, if we want to connect to the SYS user of an oracle database from the server side we can connect it without giving a password and like this:
    cmd> sqlplus /nolog
    SQL> conn / as sysdba;
    This will connect the database as SYS user. Also from the client side or even from the server side connecting to SYS user can be done like :
    cmd> sqlplus /nolog
    SQL> conn sys@db_name as sysdba;
    This connection will prompt password of SYS user.
    Now my requirement is that wherever any one wants to connect to the database as SYSDBA/SYSOPER privileged user s/he must have to input the password that means s/he can't connect to the database using: CONN / AS SYSDBA but can connect using like CONN SYS@DB_NAME AS SYSDBA which will require password to authenticate.
    So is there any way to restrict the SYS user connection from server side using CONN / AS SYSDBA.
    --Bazlur                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    @ emre baransel: Thanks for the solution!. This solution I have used in previous time also. It disables the OS authentication through SQL> conn / as sysdba. Changing to the SQLNET.ora file with SQLNET.AUTHENTICATION_SERVICES=(NONE) disable the OS authentication.
    But the situation is that the SYSADMIN who will have the root user password can easily the SQLNET.ora file and can change this file causing again the OS authentication enabled.
    If we are the owner of both the products and system ourselves and we are running the system ourselves then we might make faith with our employees who are SYSADMIN and DBA.
    But we are the vendor and we are implementing our solution to the customer side where the owner of the platform is customer but as a vendor we have to restrict access to database from the customer. That means, customer will have access to platform as a system admin but we have to protect accessing to our database which is installed there.
    @ asifkabirdba: Thanks for the reference but I need the above solution.
    @ damorgan: Database: Oracle 11g Enterprise Edition Release 1 Linux x86 64 bit
    OS: Redhat Enterprise Linux AS 5
    --Bazlur                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to access unread mails of all users in Exchange server without having Passwords and without giving mailbox access to other user.

    Hi all,
       I am using Exchange server 2013, my task is to create
    Service , that
    need's to  monitor continuously for new mails of all Mailboxes in
    my server. if any user got new mail i need to get that Mail Subject, Mail Body, Sender Email Address [From emailId] .  
    Limitation
    : I don't have Passwords of mailboxes , so i gave all mailbox access permission  to one user , then i completed this   service using below code.
     But now, Client
    not willing to give Mailbox Permissions to one user because of security problems.
    How can i do this without passwords and without giving permissions to other user ?
    i don't want all mailbox access , i just need only
    access Mail Subject , Body and Sender mail address .
    How can i achieve
    this ?
    Process i follow
    => I created new user in server , and then i gave full permissions of all Mailboxes to newly created user[ex: james] in database level.
         i use below command for giving permissions in database level.
    Get-MailboxDatabase -Identity <Database Name> | Add-ADPermission -User <User> -AccessRights GenericAll
     => using below code i am searching unread mails of all user Mailboxes and then getting Subject, body and Sender Email            address . here i am have list of users,
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
    service.Credentials = new WebCredentials("[email protected]", "password");
    service.AutodiscoverUrl("[email protected]");  foreach (Object obj in usersList) // here i have Mailbox users list in usersList
                 { var userMailbox = new Mailbox(obj.user);
    var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);
    SearchFilter.IsEqualTo filter1 = new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false);
    var itemView = new ItemView(50);
    var userItems = service.FindItems(folderId, filter1, itemView);
    foreach (var item in userItems)
    item.Load();
    var senderEmail = ((EmailMessage)item).From;
    var subject = item.Subject;
    var body = item.Body;

    You would need to check that possibilities via WebServices but suggest you to post this in Development forum to get help from programmers....
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=exchangesvrdevelopment
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Problem connecting wirelessly from iMac to NETGEAR router, get invalid password message with WPA and WPA-2 encryption in place but if I remove them, so no security, can connect without a problem. Help!!

    Problem connecting wirelessly from iMac to NETGEAR router, get invalid password message with WPA and WPA-2 encryption in place but if I remove them, so no security, can connect without a problem. Help!!

    Thank you for your suggestion but I have already had a couple of phone sessions with NETGEAR support and they don't see any problems with the router settings etc. They referred me to Apple support, who helped me discover that it is possible to communicate with the router but only if I turn off the encryption/security software, which I don't want to do. The frustrating thing is that I can connect wirelessly from a laptop running Windows 7 and two Anroid smart phones, with WPA-2 in place, without a problem. Do you have any other ideas?

  • I've got a new Apple ID but can not change anything on my phone, my old Apple ID is connected to icloud but is not letting me delete it without a password! But I do not know this password what can I do?

    I've got a new Apple ID but can not change anything on my phone, my old Apple ID is connected to icloud but is not letting me delete it without a password! But I do not know this password what can I do?

    If the old ID is an earlier version of your new ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your new iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  You can now use your new password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
    Note: this will not work if your new ID is an entirely new ID that was never previously associated with the old email address.

  • Connect to multiple local instances without enterig passwords

    Oracle 10R2 on Linux Gentoo
    I have several local instances which I want to connect in shell script without setting password explicitly. But when I use @connect_string it seems to me that os authentication is ignoring by oracle. Look at this:
    oracle@omega1 ~ $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 16:38:40 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    oracle@omega1 ~ $ env | grep ORACLE_SID
    ORACLE_SID=orcl
    oracle@omega1 ~ $ sqlplus /@orcl as SYSDBA
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 16:39:05 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    oracle@omega1 ~ $ groups
    oinstall dba

    I wouldn't like to enter sys password interactively because i use sqlplus from shell script which is ran under cron (unix scheduler).
    remote_login_passwordfile is already set to exclusive:
    oracle@omega1 ~ $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 17:04:33 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show parameter remote_login_passwordfile
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    I've also recreated password file with no result:
    oracle@omega1 ~/oracle/product/10.2.0/db/dbs $ orapwd file=/home/oracle/oracle/product/10.2.0/db/dbs/orapworcl entries=20 force=y password=*********
    oracle@omega1 ~/oracle/product/10.2.0/db/dbs $ sqlplus /@orcl as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 17:13:23 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges

  • Connect as sysdba between Linux and Windows without using password

    hello
    Hello
    I need to connect as sysdba between Linux and Windows without using password for the sys user
    Sqlplus /@string_connection
    Plz help me

    Duplicate post:
    Connect as sysdba between Windows and Linux
    Actually you have been given the answer in your above thread. You need to read the Oracle documentation. Search password file at tahiti.oracle.com
    regards

  • Listner giving error_hands of client connection

    Hi,
    I checked my lister and found below error.
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    My version is 10.2 and have only one instance.
    What is the soluctions to fix this problem?
    Thanks,

    Hi,
    Usually you get this error on windows.
    You have to increase the value of process.
    Regards
    MMU

  • HELP- MY PC WILL NOT CONNECT WITHOUT PASSWORD

    I JUST INSTALLED THE ROUTER WITH ENCRYPTION.  MY OTHER COMPUTERS WITH WIRELESSS CARDS WILL NOT ACCESS WIRELESS NETWORK WITHOUT A PASSWORD-- I THOUGHT I ENTERED IT, BUT IT KEEPS TELLING ME WRONG PASSWORD--PLEASE HELP

    Just change the key in the router again.

  • RFC Client Interface upgrade from 4.6c to ECC 6.0

    We're currently using BODI v.6.1, and have an existing Client Interface using SAP 4.6c.
    They now updgraded their system to ECC 6.0, and we're now having problem in connecting to that R/3 system, wherein the password logon being locked everytime we connect on it.
    We have checked the release notes for BODI 6.1 and have SAP R/3 Enterprise (4.7) as it limitation.
    I have also browsed that that for BODI 11.7, it could support SAP ECC 6.0 via ABAP, BAPI and IDOC
    noting: Please note that this support is available on Data Integrator 11.7 only and not Rapid Marts. Check your Rapid Marts documentation to get the latest support information for that product.
    Is there anyway we could connect the systems (BODI 6.1 to SAP ECC 6.0) in Client Interfaces?
    Or this is really a versioning limitation?
    Thanks in advance for your help.

    Hi wdhaen,
    Thanks for the reply.
    Currently, we're trying to test this using our other BODI environment with v.11.7 running on it. We still can't connect in SAP R/3 when creating the datastore but I found this thread and successfully connected the datastore by changing the password to all CAPS.
    (http://www.forumtopics.com/busobj/viewtopic.php?t=120167).
    However, in the configuring the RFC client in the admin console, we still have an error:
    Connect error...BODI-300116: Error connecting to CRM_CHAR_TEST1. Error: Connect to SAP gateway failed Connect_PM TPNAME=CRM_CHAR_TEST1, GWHOST=193.236.26.4, GWSERV=SAPGW00 LOCATION CPIC (TCP/IP) on local host ERROR internal error (this retcode should be handled by caller of NI-layer) TIME Wed May 13 17:15:28 2009 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -8 MODULE nixx.c LINE 511 COUNTER 6 . For detailed error information, please see the log. RFC Client will try connecting to CRM_CHAR_TEST1 in the background. To stop trying to connect from the background, perform 'Shutdown'.
    Any suggestion on this? Thanks!

Maybe you are looking for

  • Absence Quota creation during Time evaluation - Orgnaisational Assg change

    Hello Experts, I have one emplyee for whom the Transfer action has been run - his personal subarea has been changed from 1633 to 1654 obviously the ps grouping for time quota type changed form 35 to 40. so function QUOTA is creating different quota f

  • Where can I purchase a Windows 7 Pro or Windows 8 Pro recovery discs?

    Guys, I have a Thinkpad T500 which I installed an Oracle Linux OS. Now I want to restore my gear to a Windows 7 or Windows 8 pro. My question is where can I buy from Lenovo the said recovery discs? P.S. I lost my recovery discs and I need one to reco

  • Sending info. from SAP R/3 HR  to SAP CRM

    Hi everyone , I`m trying to send information from my R / 3 system  to CRM`s bp using <i>PFAL</i> transaction . But when I entered the information requiered for this  I got the error "No data found for search conditions" I`m pretty sure I should get i

  • Y510, Windows 7 first impressions

    Well I got bored and curious so I put Windows 7 build 7000 on my trusty 510 and figured I would share the results with everyone. I searched and I found someone posting Win7 on an S10 but nothing on Y510 or similar.    So far here is what I have found

  • Could we be looking at 80+ mb speeds next year?

    Apologies if this has already been posted. Just read something that caught my eye: http://www.thinkbroadband.com/news/4663-bt-announce-higher-profits-on-bumper-quarter-for-broadband.h... Specifically: "The company also mention that they "expect to r