2 Replies Latest reply on Jun 5, 2005 12:59 PM by Scott Stark

    Is Using DatabaseServerLoginModule w/o rolesQuery Okay ?

    Ken Loh Newbie

      I'm starting to use JBossSX for my webapp.
      I'm using DatabaseServerLoginModule for user authentication.

      However, at login, I'm getting javax.security.auth.login.FailedLoginException: No matching username found in Principals.

      Therefore, I'd like to ask if it is okay if I use only principalsQuery without rolesQuery ? This is because my database does not have columns for roles and rolesgroup. I don't know if the absence of rolesQuery causes the exception.

      Any help would be very much appreciated.