0 Replies Latest reply on Aug 23, 2017 1:00 AM by lequang

    JAAS with UsersRoles code issue

    lequang

      Dear all,

      Currently i would like to use JAAS with UsersRoles code in Wildfly 10.1.0 final, but i got the below exceptions:

       

      DEBUG [org.jboss.security] (default task-40) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: defaultUsers.properties

      …..

      DEBUG [org.jboss.security] (default task-40) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: users.properties

      ….

      ERROR [org.jboss.security] (default task-40) PBOX00261: Failed to load users/passwords/roles files: java.io.IOException: PBOX00072: Properties file users.properties/defaultUsers.properties not found

      ....

       

      I tried to apply the below solution but still get errors:

      PBOX000287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: defaultUsers.propertie…

       

      Please view my settings in attachments.

       

      I follow the following set up:

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html-single/how_to_configure_server_security/

      Securing WildFly - WildFly Configuration, Deployment, and Administration, Second Edition (2014)

       

      Please let me know if you need more information.

       

      Thanks for your time.

       

      Best regards.

      LNPQuang