User Name- and Password-Based Mutual Authentication

Hi,
The J2EE 1.4 Tutorial Update 1 shows an example of Client-Certificate Authentication over HTTP/SSL with JAX-RPC, but no User Name- and Password-Based Mutual Authentication example.
Does this work the same? Does the client need a certificate for User Name- and Password-Based Mutual Authentication?
I created my own self-signed certificate and imported it using the keytool. When I use my client to connect to my JAX-RPC web service, I get the following error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found.
It seems that no trusted certificate is found... on the client side?! How do I specify the client certificate at the client side? I created a client certificate and added it to the keystore in the application server...
If somebody should have an example of User Name- and Password-Based Mutual Authentication, I'd really apreciate it.
Thanks, d3m0.

Hi,
I've almost the same problem.In an application based on Java Web Start, i try to attack a web service through HTTPS. Before the call of the web services, the client have discussed with the server through HTTPS, so the user have already accept the certificate (i use self-signed certificate too), i get the same exception.
At the begining i've used classes from axis. I've found that axis doesn't want to support non trusted certificate. Some workaround were that the client access the private key of the server ... not really secure. So i've tried to use the JAX-RPC classes, always the exception.
For the moment , we don't want to use trusted certificate and don't want to install on each user workstation the server certificate. I continue to investigate, if someone have some solution ? What i don't understand is why i've this exception altough i'm in a secure environment (JWS + user accepts the untrusted certificate).
Sorry, i've never work on User Name- and Password-Based Mutual Authentication, but i think your exception come because of self-signed certificate.
Regard,
Pierre.

Similar Messages

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • I just switched to Charter. When going to Mozilla Firefox a box appears saying, Authentication Required and asks for a User name and Password. What do I do?

    I switched from CenturyTel to Charter. I can't use Firefox because a box appears asking me for Authentication Required, User Name and Password. When I hit cancel, this message appears:
    HTTP 401 - Unauthorized
    Authorization is required to access the configuration server.
    You must enter the correct username and/or password.
    When I called Charter, they told me they recommended using Internet Explorer. I told them I didn't want IE, I preferred Firefox. They recommended I go to your support page, so here I am. :o)

    Have you reset the password recently for the email account?
    A real simple fix usually is to delete the mail account (settings < mail contacts calendars, tap the affected account and choose delete at the bottom) Then re add the account.

  • How to pass user name and password in openConnection method ?

    Hi, Exports,
              I am trying to post data from applet to another application which is
              protected by network password.
              How to pass user name and password when I use openConnection method? In java
              doc, this method looks like do not accept these two parameters.
              Thanks
              ----- my code in applet ---------
              URL url = new URL("http://127.0.0.1/xml/index.cfm");
              URLConnection connection = url.openConnection();
              connection.setDoInput(true);
              connection.setDoOutput(true);
              connection.setUseCaches(false);
              connection.setAllowUserInteraction(false);
              DataOutputStream dos = new DataOutputStream(connection.getOutputStream());
              dos.writeBytes("POST " + path + " HTTP/1.0\r\n");
              dos.writeBytes("Referer: http://127.0.0.1/XML/index.cfm\r\n");
              dos.writeBytes("Content-Type:
              multipart/form-data;boundary=---------------------------7d0b414b04\r\n");
              dos.writeBytes("Host: "+host+":"+port+"\r\n");
              dos.writeBytes("Content-Length:" + buff.length()+"\r\n");
              dos.writeBytes("Connection: Keep-Alive\r\n\n");
              dos.writeBytes("-----------------------------7d0b414b04\r\nContent-Dispositi
              on: form-data;name=\"xmlDoc\"\r\n\r\n");
              dos.writeBytes(buff.toString());
              dos.writeBytes("\r\n-----------------------------7d0b414b04--\r\n");
              dos.close();
              

    you need to negotiate Authentication in ur applet code...
              For example:
              If u r using Form based auth u need to send Post a request with j_user_name &
              j_password to the action j_security_check. and when server returns back the
              cookie
              u need to hold it and pass that cookie to the each and every request made to the
              protected application.
              Basically u need to imitate the browser.
              regards
              aseem
              David wrote:
              > Hi, Exports,
              >
              > I am trying to post data from applet to another application which is
              > protected by network password.
              > How to pass user name and password when I use openConnection method? In java
              > doc, this method looks like do not accept these two parameters.
              >
              > Thanks
              >
              > ----- my code in applet ---------
              > URL url = new URL("http://127.0.0.1/xml/index.cfm");
              > URLConnection connection = url.openConnection();
              > connection.setDoInput(true);
              > connection.setDoOutput(true);
              > connection.setUseCaches(false);
              > connection.setAllowUserInteraction(false);
              > DataOutputStream dos = new DataOutputStream(connection.getOutputStream());
              > dos.writeBytes("POST " + path + " HTTP/1.0\r\n");
              > dos.writeBytes("Referer: http://127.0.0.1/XML/index.cfm\r\n");
              > dos.writeBytes("Content-Type:
              > multipart/form-data;boundary=---------------------------7d0b414b04\r\n");
              > dos.writeBytes("Host: "+host+":"+port+"\r\n");
              > dos.writeBytes("Content-Length:" + buff.length()+"\r\n");
              > dos.writeBytes("Connection: Keep-Alive\r\n\n");
              > dos.writeBytes("-----------------------------7d0b414b04\r\nContent-Dispositi
              > on: form-data;name=\"xmlDoc\"\r\n\r\n");
              > dos.writeBytes(buff.toString());
              > dos.writeBytes("\r\n-----------------------------7d0b414b04--\r\n");
              > dos.close();
              >
              > ------------------------------------------
              

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad

    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    Logon failure: unknown user name or bad password 
    am using Windows integrated security,version of my sql server 2008R2
    I have go throgh the different articuls, they have given different answers,
    So any one give me the  exact soluction for this problem,
    Using service account then i will get the soluction or what?
    pls help me out it is urgent based.
    Regards
    Thanks!

    Hi Ychinnari,
    I have tested on my local environment and can reproduce the issue, as
    Vaishu00547 mentioned that the issue can be caused by the Execution Account you have configured in the Reporting Services Configuration Manager is not correct, Please update the Username and Password and restart the reporting services.
    Please also find more details information about when to use the execution account, if possible,please also not specify this account:
    This account is used under special circumstances when other sources of credentials are not available:
    When the report server connects to a data source that does not require credentials. Examples of data sources that might not require credentials include XML documents and some client-side database applications.
    When the report server connects to another server to retrieve external image files or other resources that are referenced in a report.
    Execution Account (SSRS Native Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • CIC0 - CRM system requests user name and password

    Hi folks,
    I am a BASIS  gui  am facing a peculiar problem with our production CRM system. It is a CRM 5.0 system and we have no java stack . The customer service users have reported on a daily basis when they are logged into CRM system and  working with CIC0 transaction for several hours, suddenly a pop up comes up stating
    "The server <CRM server server name> is requesting that a user name and password be sent in an insecure manner (basic authentication without a secure connection) "
    This is happening when a user logged on the CRM system itself. There is no java stack on this system, pure ABAP system. When this popup comes up,  the user then puts his/her user name and password and hits ok and is able to continue with work only to be interrupted the next day in the middle of work. So they are able to login , keep doing their for hours and suddenly are asked to revalidate their user name and password.
    1. If the user is logged in for several hours and is working fine, what happens suddenly that the user name, password is forgotten and requires to be re-inputted?
    2. Is this related to the browser? But the users only work on CIC0 abap system, they do not open a browser , and this is not via portal or a web-ic link...this is all pure abap login via a sapgui.
    3. I have copied the same user and am testing to see if the pop up pops up on me...but so far this pop up is not comming up for me....can this be related to user's local desktop windows or browser settingis there any password cache setting ..if so does it mean every time user tries CIC0, a cached password is sent to the server ......I am confounded ...where is the issue, what settings is this related to...
    Thanks for any help...
    regards, Vikram

    Hello Vikram,
    Apparently CIC0 makes use of WAS which requires separate authentication. This can possibly explain this issue. Just check if you have maintained the local SSL certificate. Also ensure SSO is also in place. Check STRUSTSSO2 for this.
    Regards.
    Ruchit.

  • CIC0 - asks for user name and password on CRM

    Hi folks,
    I am a BASIS  gui  am facing a peculiar problem with our production CRM system. It is a CRM 5.0 system and we have no java stack . The customer service users have reported on a daily basis when they are logged into CRM system and  working with CIC0 transaction for several hours, suddenly a pop up comes up stating
    "The server <CRM server server name> is requesting that a user name and password be sent in an insecure manner (basic authentication without a secure connection) "
    This is happening when a user logged on the CRM system itself. There is no java stack on this system, pure ABAP system. When this popup comes up,  the user then puts his/her user name and password and hits ok and is able to continue with work only to be interrupted the next day in the middle of work. So they are able to login , keep doing their for hours and suddenly are asked to revalidate their user name and password.
    1. If the user is logged in for several hours and is working fine, what happens suddenly that the user name, password is forgotten and requires to be re-inputted?
    2. Is this related to the browser? But the users only work on CIC0 abap system, they do not open a browser , and this is not via portal or a web-ic link...this is all pure abap login via a sapgui.
    3. I have copied the same user and am testing to see if the pop up pops up on me...but so far this pop up is not comming up for me....can this be related to user's local desktop windows or browser settingis there any password cache setting ..if so does it mean every time user tries CIC0, a cached password is sent to the server ......I am confounded ...where is the issue, what settings is this related to...
    Thanks for any help...
    regards, Vikram

    Hello Vikram,
    Apparently CIC0 makes use of WAS which requires separate authentication. This can possibly explain this issue. Just check if you have maintained the local SSL certificate. Also ensure SSO is also in place. Check STRUSTSSO2 for this.
    Regards.
    Ruchit.

  • How to validate user name and password in webdynpro.

    Dear All,
    Actually i have created login name and password in view, webdynpro and want to validate the user name and password but  i am not finding proper code to  how to validate user name and password.
    Pl do the needful help.
    Regards.
    Tazeer.
    Moderator Message: There is a seperate forum for WebDynpro. Please ask your question there.
    Edited by: kishan P on Oct 5, 2010 1:08 PM

    Hello, I don´t get you question. User authentication is ready out of the box in webdypro...
    Regards Otto

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) The user name or password is incorrect

    I am able to run the report fine in BIDS in the preview window, and it deployes fine.  When it goes to view the report in the browser, I get the following error.  There is no domain, I am using a standalone computer with SQL Server and SSRS on
    this one machine.
    Can anyone point to where I might configure the permission it is looking for?  thanks!  Steven
    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    The user name or password is incorrect
    Steven DeSalvo

    Hi StevenDE2012,
    Based on the error message "The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)", it seems that the Unattended Execution Account settings in Reporting Services
    Configuration is not correct.
    Reporting Services provides a special account that is used for unattended report processing and for sending connection requests across the network. Unattended report processing refers to any report execution process that is triggered by an event rather than
    a user request. The report server uses the unattended report processing account to log on to the computer that hosts the external data source. This account is necessary because the credentials of the Report Server service account are never used to connect
    to other computers. To configure the account, please refer to the following steps:
    Start the Reporting Services Configuration tool and connect to the report server instance you want to configure.
    On the Execution Account page, select Specify an execution account.
    Type the account and password, retype the password, and then click Apply.
    In addition, please verify you have access to the Report Server database by following steps:
    Go to SQL Server Reporting Services Configuration Manager, make sure the configuration is correct.
    Go to Database, Verify that you can connect to the database.
    Make sure you are granted public and RSExecRole roles.
    Reference:
    Configure the Unattended Execution Account
    Configure a Report Server Database Connection
    If the problem is unresolved, i would appreciate it if you could give us detailed error log, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu

  • WEBDAV FILE SYSTEM, user name and password changed

    Getting prompt as follows, WebDAV File System Authentication,
    Enter your user name and password to access the server at the URL "http://idisk.mac.com/bobbiealiaswink/" in the realm "idisk.mac.com."
    User name and password were changed recently by Mobile Me, now either or neither
    are being recognized by prompt. Constant reminders every few minutes since upgrading Safari two day ago....I am going buggy with prompts...have tried every possible configuration. Is there a way to enter new access area to enter new username and password?

    Hi Alias Bobbie, and a warm welcome to the forums!
    If this doesn;t help...
    http://discussions.apple.com/thread.jspa?threadID=2082353&tstart=0
    Try this...
    http://support.apple.com/kb/ts1544

  • How to suffix user name and password remote pc in shutdown /s command

    Hi,
    We can shutdown a remote pc  using " shutdown /s /m \\ipaddress " command, only if password of remote pc is stored in windows credential  manager.
    But how to  add user name and password when i execute the command for example : when we map a share folder on our pc we use below command with  user name and password
    "net use * \\ipaddress\share password /user:username "
    can we give user name and password of remote pc  while we give shutdown command to turn off  a remote pc (without adding user name and password to windows credentials).
    Thanks in advance..........

    Hello Jayanth kundar,
    Based on my test, I can use the command shutdown /s /m \\10.157.21.77 to shutdown the remote computer when the have the same username and password.
    Do you mean that you want to add user name and password when you want to shutdown the remote computer?
    I can't find a user name and password in Windows Credential Manager, please share us a screenshot.
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Invoke-sqlcmd with domain user name and password

    I am trying to execute below small SQL script from powershell by passing my domain user name and password..but it is throwing an error login failed for the user.
    Howerver I am able to execute the same query by passing normal user 'non domain' and password. The issue is only when i am trying to connect with domain username.
    Can you please suggest if there is any way to execute below query with domain user..
    Invoke-Sqlcmd
    -query "select name from master.sys.databases"
    -ServerInstance "CM-NCKM-DBTST04\SQL2012" -username "sos\9venk" -password "xxxx"
    Thanks
    Venkat
    venkat

    Hi Venkat,
    Agree with Mike, to connect sql via powershell, you can refer to this article about authentications:
    Connecting to SQL Server through Powershell
    Please try to gather credentials using Get-Credential, and then use New-PSSession -Authentication CredSSP to open the pssession.
    A similar discussion about this issue is for your reference:
    Invoke-SQLCmd with Different Credential
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • New MacBook Pro - user name and password question

    Okay, I am fired up. I just opened my brand new MacBook Pro 15.4". I purchased it from MacMall and had them install Parallels (I use one program that is Windows only) and Office:mac 2008 Special Media Edition.
    Since MacMall installed Office and Parallels (and then Windows XP Pro) they initially set up the user name and password for my MacBook Pro. The user name is simply "user" and there is no password. How can I go back and reset the user name and password at the system level?
    BTW, this is my first Mac in 15 years! My firm uses all Windows based machines . . . except me now!
    Message was edited by: J Perry

    It is possible to either change the account's name, or create a new account. The first (changing the username), does NOT fully change the name. A version of your name (called the short name) remains unchanged.
    Therefore, I recommend creating a NEW account. The procedure...
    1) In the Apple menu, select "System Preferences".
    2) Click "Accounts"
    3) If locked, click the lock (lower-left corner) and login (guarantees you are the authorized person).
    4) Click "+" to create a new account.
    5) Assuming you want to be the administrator of your computer, setup the NEW ACCOUNT as "Administrator".
    6) Enter your desired username.
    7) Enter your desired shortname (can be the same, but no spaces and all lowercase).
    8) Enter your desired password.
    9) Click "Create Account".
    However, the computer is still configured to automatically login the user "user" at startup. You can change this at the "Accounts" pane of "System Preferences" as well. Proceed...
    10) Click "Login Option"
    11) Change AUTOMATIC LOGIN to either "Disabled" or your new username (your choice).

  • Can I use user names and password of Microsoft Office Outlook for hyperion

    I'm new to Hyperion. Can anyone tell that can I use "user names" and "passwords" of Microsoft Office Outlook for login into hyperion applications.
    I'm not talking about single sign on, but want to use same user names and passwords as that in Outlook.
    ANy suggestions?

    That depends on how your Outlook authentication is configured.
    Hyperion is generally configured to authenticate against a network directory (NTLM, MSAD or LDAP). I'm not an Outlook expert, but my Outlook user ID and password is almost always my MSAD id and password (I change clients regularly, and it's almost always the same situation). So it's also usually the same as my Hyperion ID and password.
    Ask your Outlook administrator whether it uses (or syncs with) MSAD, NTLM or LDAP. If the answer is yes, then you're in good shape because Hyperion can use these as well.
    Hope this helps,
    - Jake

  • On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. Yahoo was absouletly no help whatsoever; can you solve the mystery? Thanks

    On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. I tried uninstalling and reinstalling FF; no change. Yahoo was absolutely no help whatsoever; can you solve the mystery? Thanks

    HI Emmet,
    thanks so much for your posts back. I really appreciate it and yes that does help to know that you could not get it working.
    I did have some success, in removing the SSL Authentication checkbox in the smtp server settings - I found that this allowed my friend to be able to send mail from the mail app via his sbcglobal (yahoo) account.
    So that did help but of course the messages do not have ssl encryption and I'm not sure how big a deal that is for an individual. He is able to receive mail but unless the SSL authentication box is unchecked, he cannot send.
    i hope that helps anyone out there also!
    Thanks also for the tip about sparrow - yes I have heard of it and it is very popular, he may end up using that in the end.    
    Thanks again, much appreciated.
    Felix    

Maybe you are looking for

  • How can I create a vector path boundary around an image?

    I have enclosed a screenshot of an image created in Photoshop CS4 with a wacom. It shows a grey boundary stroke around the entire image which was created with edit/stroke, then color and width of stroke selected. What I want to do is to bring this im

  • How to edit other user's session from a session id?

    I want to ban a person on real time for example. Website's database ban checking is on the login level. So if i ban someone the user's session must be expired and relogin. But if i change user's session attiributes it will be real time ban. Shortly h

  • Process order confirmation error in COR6

    Hi Gurus, I am working as sap manual tester and facing below issue in Process order confirmation in t-code COR6. Batch 456 for component 350515 does not satisfy BOM requirements Message no. Z_MFG017 Need ur help. Regards, Imran Edited by: imran.shek3

  • Error in Salary Statement

    Hello All, I am getting an error message when selecting Salary Statement under Payment in ESS. The error is the following: No payroll results found for personnel number 99990041 A payroll for this employee is available in the backend according to our

  • TS3274 when I click on the video app, the screen goes black

    When I click on the Video Button, the screen appears black.  I just synced my iPad and it is still not working.  Any suggestions?