Hello,
I'm trying to switch a webapplication developed on Glassfish 4 to switch to use container managed security, using a jdbcrealm and I'm stuck, because I can't login.
This is the database:
the realm:
The relevant parts of the web.xml look like this:
glassfish-web.xml
and glassfish-resources:
I thought that when I have a glassfish-resource.xml file like that, the container would create the corresponding connection-pool and resource in glassfish, but after deploying there was no pool and no resource in the glassfish administration console under resources->
JDBC and so I created the pool and the resource manually in the administration console. So that's the first point where I'm uncertain.
The second is that I don't know why i can't log with the credentials username: admin password: 1234
Any help is appreciated!
Happy Whitsun!