This discussion is archived
1 Reply Latest reply: Jan 16, 2012 2:22 PM by JuliánIsaza RSS

Weblogic JAAS Authentication

911364 Newbie
Currently Being Moderated
good afternoon gentlemen.

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

and added the command in the, 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
    JuliánIsaza Newbie
    Currently Being Moderated
    I have the same problem in weblogic JAAS setting, I have researched and done what they say the forums, change the, 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;


    - starWeblogic.cmd
    set JAVA_OPTIONS=%JAVA_OPTIONS%\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


  • Correct Answers - 10 points
  • Helpful Answers - 5 points