3 Replies Latest reply: Feb 24, 2013 9:26 AM by sairamk RSS

    Weblogic 8 : User Authentication Required : Looking for Reason

    773020
      When i click on a link on my web app, it pops up one dialog window and asks for user and password. Why does it ask for user credential? Is something to do with weblogic server? Is it done weblogic server , then where? Or is it prompted by java code? I would lilke to origin of this window.


      Connect to xxx.xxx.xxxx.xx

      The server at xxx.xxx.xxxx.xx at weblogic requires a username and password.

      Warning : The server is requiring that your user name and password be sent in an insecure manner (basic authentication without a secure connection)

      user name =

      password =


      Thanks,
        • 1. Re: Weblogic 8 : User Authentication Required : Looking for Reason
          773020
          weblogic.xml_
          <weblogic-web-app>

          <security-role-assignment>
          <role-name>Admin</role-name>
          <principal-name>Reference ODS Usage Admin</principal-name>
          </security-role-assignment>-->


          web,xml_

          <security-constraint>
               <web-resource-collection>
               <web-resource-name>saveAction</web-resource-name>
               <url-pattern>showRecord.do</url-pattern>
               <url-pattern>updateRecord.do</url-pattern>
               <url-pattern>addRecordInput.do</url-pattern>
               <url-pattern>addRecord.do</url-pattern>
               <http-method>POST</http-method>
               <http-method>GET</http-method>
               </web-resource-collection>
               
               <auth-constraint>
               <role-name>Admin</role-name>
               </auth-constraint>
          </security-constraint>

          <security-role>
          <description>Admin</description>
          <role-name>Admin</role-name>
          </security-role>


          If it asks for user ID and Password, where should I find it? This application developed long ago and deplyed and he used the above security, i do not know where he embedded user and password? where i can find it? in case if i want to reset it how I can?


          The above screens are not able to access as they have been set with security constraints and assigned secuiry role. Where i can find user name and password for accessing them?

          Edited by: feritz on 10-Feb-2013 2:23 AM
          • 2. Re: Weblogic 8 : User Authentication Required : Looking for Reason
            Suresh KB
            You have specified the role as "Admin" for this web application. Any users assigned to that role should be able to access the application with their username and password.
            • 3. Re: Weblogic 8 : User Authentication Required : Looking for Reason
              sairamk
              Hi feritz

              The dialog box indicates its a http basic authentication.

              Try with weblogic username/password - it should work. I did not work on weblogic version 8, but the applications deployed on weblogic 10 match the users with embedded ldap of weblogic server.

              Hope this helps


              Thanks,
              Sai