3 Replies Latest reply on Sep 23, 2002 9:27 AM by Randahl Fink Isaksen

    Configuring authentication using UsersRolesLoginModule

    Randahl Fink Isaksen Novice

      I am trying to get authentication to work on JBoss 3.0.2. I would like to use the UsersRolesLoginModule, so I have put a users.properties and roles.properties into my conf folder. I have also configured my web application as shown at the end of this e-mail. However, I keep getting the following error:

      11:51:10,003 WARN [jbossweb] WARNING: Mis-configured Authenticator for /restricted

      This happens when trying to access /restricted/ of my web app

      Any help would be very much appreciated. Thanks.


      From jboss-web.xml

      <?xml version="1.0"?>


      <!-- All secured web content uses this security manager -->



      From login-config.xml

      <application-policy name = "myDomain">

      <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required"/>


      From web.xml



      <web-resource-name>Secure Content</web-resource-name>