Code for filling username and password prompted by other application

Hallo friends...
I am bit new to java..
I need to start few softwares like CAD applications thru java. Few applications prompt user name & password. Is it possible to get the prompt window and automaticall fillin the username, password and then activate the OK button. Appreciate any hints / sample codes...
Thanks and Regards
Arun

that would depend on the application.
Screen scraping APIs may exist that can help you with this, but that's an ugly and errorprone way to do things.
Better contact the company that created the application and see what kind of APIs they have to control the thing remotely.
I know that's possible with Autocad (though I don't know if it's possible directly from Java), I'd be surprised if their major competitors don't offer similar capabilities.

Similar Messages

  • I changed the code for saving usernames and passwords, it didn't work, so I restored a backup of the code I had made, now usernames and passwords don't work at all. Help?

    I found a method online to force firefox to save usernames and passwords which the site itself requested not to be saved. I made a backup of the file on my hard drive, moved it to the desktop, changed the code and tried it. It didn't work as expected so, I deleted that file, returned the original file to it's appropriate place and restarted firefox. Now it won't save ANY passwords or user names, even on sites it previously did so. I've tried reinstalling over the existing copy, and would REALLY prefer not to uninstall/reinstall since I have a ton of bookmarks, addons etc, which I don't want to have to restore. Has anyone encountered this issue? or have a suggestion on how to fix it?

    Do you still see names and passwords in the Password Manager?
    Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    You can still reinstall Firefox. Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected.
    See also http://kb.mozillazine.org/Password_Manager (Troubleshooting)

  • KB2986204 - After installing users being prompted for a username and password

    After client machine have installed this update they are now being prompted for a Username and password when launching outlook. Setting up a fresh copy of outlook also prompts.
    Is anyone else having this same issue?

    For anyone still watching this issue, we're now up to 5 updates that cause this behaviour, we're having to block these on WSUS to prevent our customers being prompted for passwords on domain joined machines using NTLM.
    KB2986204
    KB2899504
    KB2956087
    KB2956170
    KB2965270
    Further progress since my last post in February. We upgraded to CU7 and now CU8 and the problem remains, but we think we have tracked the issue and have a case open with MS. If anyone else is able to test and confirm our findings it would be helpful to know,
    below are the key aspects to look for:
    - Outlook 2013 has one of the above updates installed.
    - The UserPrincipalName ([email protected]) is different to the PrimarySMTPAddress ([email protected]) of the mailbox.
    - The computer is domain joined.
    - Mapi/HTTP is configured in the Exchange 2013 organisation.
    - NTLM/Negotiate is used as the authentication mechanism.
    If all of the above aspects are true for your configuration and you are able to re-produce the password prompting try altering the Mailbox PrimarySMTPAddress so that it's the same as the UserPrincipalName.
    In our testing the issue went away when the UserPrincipalName and PrimarySMTPAddress matched, not that it gives us a solution as our customers are quite attached to their vanity email addresses, but it does highlight a specific type of behaviour under specific
    circumstances.

  • Reporting Services username and password prompting

    We have several branch office locations and one reporting services server. All of the branch office locations can access the reporting services server, but we have one location for the passed week, each time they make a connection to this server, it prompts
    them for a username and password and will not allow them to connect even if the correct username and password is correct.
    I have tried adding the server to the IE intranet/trusted site list. Set IE security on all zones to automatically logon with current username and password.
    What is strange is that this is the only branch office site that is having this issue. It is almost like kerberos is broken for this site location only.
    DOes anyone has any suggestions what could be causing this problem for all computers in this one location. Nothing has changed on their local servers nor have we pushed any updates to the machines.

    Hi bubba1984,
    As per my understanding, I think this issue is caused by Kerberos authentication. Kerberos is an authentication protocol that allows clients that create authentication tokens to associate a specific destination to that token. In the failure case, there is
    a mismatch between the destination specified in the token and the report server process configuration. Due to this mismatch, the underlying Kerberos authentication scheme supported by Windows prevents report server from authenticating the user.
    To fix this issue, please try to remove RSWindowsNegotiate and ensure RSWindowsNTLM is specified in the rsreportserver.config file. For more details, please take the following article as reference:
    http://blogs.msdn.com/b/lukaszp/archive/2008/03/26/solving-the-reporting-services-login-issue-in-the-february-ctp-of-sql-server-2008.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Username and Password Prompt

    We just purchased Crystal Reports 2008 after using version 8.0. I've been creating reports form our ERP software's VFP datbase files using 8.0. With the 2008 version of Crystal I'm prompted for a username and password when trying to access the database when first trying to set up a new report. Specifically, I try to start a new report, choose ODBC, visual foxpro database, then get prompted for the username and password. I'm doing this on my station just to test out the report and have tried my username and password with no success. Any suggestions?

    What I thought was solved has instead evolved. While the access to the localized testing version of my database still doesn't require a log in, attempting to access the production database from my station does stop me at the log in prompt.
    There is no username and password set up for the connection on my older install of Crystal. And I'm being prompted for the same thing when I tried opening it using OLE DB as suggested by Sastry above.
    Any ideas oh great and powerful collective Oz? Toto? Anybody?
    Edited by: Michael Cool on Oct 23, 2008 10:50 AM

  • I am trying to deauthorized audible account but it is asking for a username and password but when i enter in itunes info it is nt working?? How do i find out what the username is then??

    All i want to do is access my itunes on my laptop  i was told i had to deauthorize the audible account and it is asking for a username and password, i tryed using my itunes login info but it didn't work, where can i find this info to get this gone.
    Or is there another way to sync my itunes account with my laptop????
    Please please help me!!!! I need my music

    I'm confused. Who told you that you need to deauthorize an Audible account to be able to play your music? Did you ever set up an account with Audible.com? What is happening when you try to play your music?  And what exactly do you mean by "sync your iTunes account with your laptop"?
    Please provide more details as to your situation and what it is you're trying to accomplish. I'm sure once we understand what it going on, someone can provide suggestions.
    Regards.

  • I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid

    I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid of this.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • After my daughter's Macbook Pro was fixed it asks for a username and password. She doesn't have one! Help!

    The hard drive crashed on her Macbook Pro (bought it in 2011) so she brought it to the Apple Store to get fixed. Now when she turns it on there's a blue screen with the Apple Mac OS X sign-in box in the middle asking for her username and password. She has no idea what they are and there's no way to get around it. I'm asking here so she can hopefully avoid bringing it back to the Apple Store. Help!

    Look at the manual for the router.  The password is on the router.  Then change the password in the router to something other than the default one and use that password when the iPod asks for it (it will only ask once, once it has the password/router combo in its memory, it will remember it)

  • The iTunes Store is constantly asking me for my username and password.

    The iTunes Store is constantly asking me for my username and password.
    About the only thing I can do is log into the account, but it's constantly asking me for my user/password.
    I've read a number of discussions on the matter -
    I am running Lion 10.7.4 on iTunes 10.6.3
    I check the keychain access
    Reset passwords
    etc.
    Nothing seems to be working.
    Any other ideas?

    I have the exact same problem, it suddenly just started asking for the iCloud or iTunes password, practically every 5 seconds, no exaggeration. Even more frustrating than that, it rejects the password I enter, even though I'm positive that it's correct!  I can barely go from screen to screen without this infernal box popping up, and forget texting or using an app.
    After resetting the password & turning the phone off & on a few times, I just finished restoring it and the bloody pop-up was the first thing that came onto the screen when it restarted haha. I hope someone can help

  • How do I stop Firefox from automatically filling in the spaces for my username and password on one of my password protected websites?

    Firefox is automatically entering my username and password on my Sacramento State University secure password site. I am trying to get that function stopped. I do not want my username and password automatically entered in the spaces provided for log in. I want to manually enter that information myself each time I log in to that particular secure password protected site.
    So far...I can not find a way to do that. All I find is a way to change my password. I do not wish to change my password. I just do not want it automatically entered for me.

    Thanks guys...I did as you suggested and it worked! Thanks!
    However...just want you all to know...a computer illiterate like myself had trouble finding which function on the menu bar to click on to find the options and security settings to "unclick." Eventually...I found the correct window.
    Thanks again...your advice worked!

  • Prompt for user name and password when opening an application like Internet Explorer

    Hi
    I often use Internet Explorer using "Run as different user".  This is achieved by holding 'Shift' and right clicking the IE icon.  This is the main reason why I use IE as my default browser is Chrome.  Signing in as a different user
    is helpful when troubleshooting/customising certain applications such as Dynamics CRM.
    Is there away to force IE to always ask for credentials when I open it?  
    Marc Collins www.QGate.co.uk

    Hi GTS-NJ
    This was my first thought.  The problem I found is it requires a particular user.  I need to be flexible with the users I sign in with.
    I may have the answer though.  I have changed the security settings for trusted sites to always prompt for username and password.  I have added my sites to trusted sites.  Now when I browse to the site, it prompts me to sign in.
    Marc Collins www.QGate.co.uk

  • Annoyed by OTN username and password prompting

    Sorry it's really starting to annoy me that I always have to enter my OTN username and password between every browser session. Why can it not use a cockie or whatever to keep me logged in at least for the day. Or better, let me save the password in my keychain so that I only have to press the "Sign In" button when the login appears.
    Firefox has a built in "save password" option, which will supply username and password when accessing a particular web page. It works with sites like ebay and many other common sites, but for some reason it does not work with OTN. When accessing OTN it never prompts me if I want Firefox to remember the password. I'm not using private browsing and have no site in the save password exception list.
    I found an add-on named "Saved Password Editor". It allows to manually add username and password entries associated with a web site. But since almost any software calls home today I rather not use any 3rd party tool to deal with security sensitive information. I checked the tool and it did not call home, but who knows what happens later.
    Any other ideas?
    FWIW: firefox - How does browser know when to prompt user to save password? - Stack Overflow
    Maybe the problem is simply because the login uses "ossusername" instead of "username" in the login form.

    So what is the message? I have no particular objection to any solution that fixes the issue, beside installing 3rd party browser extensions.
    How about the following? Checking https://login.oracle.com/mysso/signon.jsp on http://web-sniffer.net  shows:
    Set-Cookie:    ORA_UCM_VER=; domain=.oracle.com; expires=Thu, 01-Jan-1970 01:00:00 GMT; path=/
    Unfortunately I cannot set my system date prior to 1970 to see what happens, but would the cookie allow me to login without the need to specify my username and password again until the cookie expires? Would that be a feasible option instead of enabling form autocomplete?
    Speaking of which, the OTN forum defines "Cache-Control: private, no-cache, no-store, must-revalidate". This setting disables browser caching. I found the browser's back button very useful in the past to be able to get back the content of the forum editor, for instance, when some error occurred submitting the response or when I accidentally opened another web page. This used to work in the previous forum.
    The editor's new recovery function so far has been rather confusing or completely useless for me. It does not help after being logged out without notice. It actually just happened and I received an "unexpected error" while posting this response, loosing all text. (Un)fortunately I'm used to either copy and paste the content before submitting or use my own text editor. But cutting and pasting has become a different story now after the forum upgrade with the buggy editor.
    Meanwhile I understand that OTN cannot fix the problems with the forum software, but perhaps the login could be improved.

  • Cannot see AAA banner, username and password prompts on IOS switch

    Hi,
    I have configured RADIUS authentication for VTY access to a Catalyst 2960S running 15.0(2)SE2.
    The RADIUS server is a Microsoft server running the Network Policy and Access Service role (Microsoft's own RADIUS server).
    Everything is ok apart from the login prompts. I want to customise these with a banner, username prompt and password prompt. I have added the lines below to my config:
    aaa authentication banner ^Chello^C
    aaa authentication password-prompt "Enter your password:"
    aaa authentication username-prompt "Enter your username:"
    However when I ssh to the switch I just see the output below:
    login as: james.hawkins
    Using keyboard-interactive authentication.
    Password:
    ASWTRE-BF01#
    My config is shown below:
    aaa authentication banner ^Chello^C
    aaa authentication password-prompt "Enter your password:"
    aaa authentication username-prompt "Enter your username:"
    aaa authentication login default local-case
    aaa authentication login SSH group radius local-case
    aaa authentication enable default enable
    aaa authorization exec default local
    aaa authorization exec SSH group radius local
    radius server TREREC-01
    address ipv4 10.3.32.51 auth-port 1812 acct-port 1813
    key 7 08171E61K281D08461C
    line con 0
    logging synchronous
    line vty 0 4
    exec-timeout 360 0
    authorization exec SSH
    logging synchronous
    login authentication SSH
    transport input ssh
    line vty 5 15
    exec-timeout 360 0
    authorization exec SSH
    logging synchronous
    login authentication SSH
    transport input ssh
    Is there anything that I am missing?

    James:
    you use the line:
    aaa authentication login SSH group radius local-case
    are you sure that the RADIUS is reachable? if the radius is not reachable it will check the local DB for the username. I am not pretty sure if local DB auth displays the banner.
    Rating useful replies is more useful than saying "Thank you"

  • When using a URL it always asks for a username and password

    I’ve just started using the Windows version of OracleXE.exe with Apex3.1 and I would like to create a menu web-page holding a list of URL’s that can be configured by inserting records into a simple table. I am having problems with multiple authentication user-name and password. I can read the table and create a URL within a web-page swapping the text “#SESSION#” with the &Session.
    But each time I open a new application within the same schema I get the login page (when that user has already connected with their password).
    Test data:
    create table x_url_table(url varchar2(256),display_text varchar2(32));
    insert into x_url_table values ('http://127.0.0.1:8080/apex/f?p=106:1:#SESSION#:::','query country details');
    insert into x_url_table values ('http://127.0.0.1:8080/apex/f?p=108:2:#SESSION#:::','simple select as a test ');
    From the Application Builder page I choose:
    "Create" -> "Create Application" -> “add Page" [I entered the table name x_url_table[and implementation set to classic]] -> “Next” [no tabs] -> “Next” [no for shared components] -> “Next” [Application Express for Authentication] -> “Next” -> “Create”
    When I press the run-page-icon it displays the URL like below(if I click-it it does not open webpage):
    http://127.0.0.1:8080/apex/f?p=106:1:#SESSION#:::     query country details
    http://127.0.0.1:8080/apex/f?p=108:2:#SESSION#:::     simple
    I then tried “edit-page”-> “edit-region” -> “region source” I swapped the SQL for this:
    SELECT
    replace(a.url ,'#SESSION#','&SESSION.') as url
    , a.display_text
    FROM x_url_table a
    Plus I then added a link “edit-page”-> “edit-region”-> clicked the tab “Report Attributes”->clicked the “add column link”
    Scroll down to “column link”
    “Link Text” I set to #DISPLAY_TEXT#
    “Target” choose the L.O.V option “URL”
    “URL” I set to #URL#
    Push apply button
    Press the run-page icon it displays everything correctly (see below) but when I click-the-URL it asks me again for the login screen with a user/password request.
    Can this be bypassed?
    As, I am already connected to the schema using the same username and password!
    How do I allow my current session to automatically log me in to a different page?
    link      Url Display Text
    query country details http://127.0.0.1:8080/apex/f?p=106:1:1331572188999480:::     query country details
    simple select as a test http://127.0.0.1:8080/apex/f?p=108:2:1331572188999480:::     simple select as a test
    so what do I need to do login just once!

    Steve,
    See this thread:
    Application Link
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • I have a 3gs. everytime i try to connect to a wifi network it asks for a username and password . earlier it used to ask just the password. please help!

    wifi connection asking for username and password!!! tried everything ... earlier it used to ask just the password.. please help!!

    are you connecting to the same SSID or wireless access point ? Has any security settings been changed on the access point ?

Maybe you are looking for