JAAS with UsersRoles code issue
lequang Aug 23, 2017 1:00 AMDear 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:
Please view my settings in attachments.
I follow the following set up:
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
-
roles.properties.zip 178 bytes
-
users.properties.zip 185 bytes
-
web.xml.zip 613 bytes
-
standalone.xml.zip 5.0 KB