2 Replies Latest reply on Jul 30, 2003 9:38 AM by Sean Radford

    Unable to locate a login configuration?

    alinn Newbie

      Hello All,
      I am a new member to this board as well as new to JBoss and am having trouble with the JAAS configuration.

      I am using JBoss 3.2.1 and get the error --

      java.lang.SecurityException: Unable to locate a login configuration

      when I try to login. The login-config.xml module I am using looks like this--

      <application-policy name = "other">

      <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">
      <module-option name="usersProperties">users.properties</module-option>
      <module-option name="rolesProperties">roles.properties</module-option>
      <module-option name="unauthenticatedIdentity">guest</module-option>
      </login-module>

      </application-policy>

      I have the properties file set. Any insight into this would be appreciated

      Thanks,
      Andy