I have tryed to follow this howto: http://www.javaworld.com/javaforums/showthreaded.php?Cat=&Board=JavaSecurity&Number=2500&page=&view=&sb=5&o=
But all I get is this error:
ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
And thats because it can not find me propeties file, and that is because I dont have any. If I create the propeties files, then It works. But I what to use me own DB application-policy.
But it is like I do not find me own db login, and always falls back on the standard.
Do anybody now what it could be, or some way to test if it is really looking in me login-config and reading me own application-policy.
Have solved me self, just had to move some stuff around.