glassfish
  1. glassfish
  2. GLASSFISH-20958

Autehntication not working in embedded glassfish v4

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: embedded
    • Labels:
      None
    • Environment:

      gfv4, ubuntu linux, jdk7

      Description

      Can create an auth realm ok

      runCommand("create-auth-realm", "--classname=com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm",
      "--property=jaas-context=jdbcRealm:datasource-jndi=jdbc/jobtracking:user-table=USER:user-name-column=USERNAME:password-column=PASSWORD:group-table=USER_GROUP_AUTH_VW:group-table-user-name-column=USERNAME:group-name-column=GROUP_ID:digest-algorithm=none",
      "jobtracking-realm");

      But when trying to do programmatic login or login via http it reports

      Login failed: No LoginModules configured for jdbcRealm

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Bhavanishankar
            Reporter:
            pranahata
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: