The file locations are resource paths, not urls. Either use unique resource file names:
<application-policy name = "ftpservice">
<authentication>
<login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name = "usersProperties">ftp.users</module-option>
<module-option name = "rolesProperties">ftp.roles</module-option>
</login-module>
</authentication>
</application-policy>with these files in the root of some deployment jars. Or, make the resource
path unique:
<application-policy name = "ftpservice">
<authentication>
<login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name = "usersProperties">ftpusers/users.properties</module-option>
<module-option name = "rolesProperties">ftpusers/roles.propertiesroles</module-option>
</login-module>
</authentication>
</application-policy>
with the properties files in a ftpusers directory of a deployment.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
Ionel GARDAIS wrote:
Hi,
Continuing on my UsersRolesLoginModule problem, I tried to override the guessed values for the properties path.
<application-policy name = "ftpservice"> <authentication> <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required"> <module-option name = "usersProperties">C:\java\jboss\build\output\jboss-4.0.0DR3\server\default\conf\users.properties</module-option> <module-option name = "rolesProperties">C:\java\jboss\build\output\jboss-4.0.0DR3\server\default\conf\roles.properties</module-option> </login-module> </authentication> </application-policy>
I've tried all path style (backslash, slash, preceding with file:/) but I always have an error message telling that the module can't find the required files.
Any hints are welcomed.
Thanks, ionel
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
