1 Reply Latest reply: Jan 16, 2012 4:22 PM by JuliánIsaza RSS

    Weblogic JAAS Authentication

      good afternoon gentlemen.

      Anyone know how to set the file to use jaas.config java.security

      and added the command in the archivo.security, but not working.
      I miss something extra.
      I am using weblogic 11


      Edited by: 908361 on 16/01/2012 04:06 PM

      Edited by: 908361 on 16/01/2012 04:06 PM
        • 1. Re: Weblogic JAAS Authentication
          I have the same problem in weblogic JAAS setting, I have researched and done what they say the forums, change the java.security, set the jaas.config JAVA_OPTIONS but not authenticate redirects the login method. Jar loginmule

          My configuration is:

          - use the default realm weblogic
          - in the web.xml
          <description>These pages are only accessible by authorized administrators.</description>
          <description>These are the roles who have access.</description>
          <description>This is how the user data must be transmitted.</description>
          <description>An administrator</description>

          - in the weblogic.xml

          - login.jsp
          <title>FormBased Authentication Demo in WebLogic Sample</title>
          <form method="POST" action="j_security_check">
          <table border=5%>
          <tr><td>Username:</td><td><input type="text" name="j_username"></td></tr>
          <tr><td>Password:</td><td><input type="password" name="j_password"></td></tr>
          <tr><td colspan=2 align=right><input type=submit value="Submit"></td></tr>

          - jaas.config
          myrealm {
          tigologinmodule.TigoLoginModule required debug=true;

          - java.security

          - starWeblogic.cmd
          set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.security.auth.login.config=D:\jaas.config

          but it has not worked because it does not enter the login method. jar where I have the sources LoginModule

          Help meee...thanks.

          Edited by: user7727559 on Jan 16, 2012 2:17 PM

          Edited by: user7727559 on Jan 16, 2012 2:21 PM

          Edited by: user7727559 on Jan 16, 2012 2:22 PM