Hi you have a ready to run sample here http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/rest-jaas/ (config files here http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/rest-jaas/src/main/tomee/conf/ ) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-03-23 15:36 GMT+01:00 Jean-Louis MONTEIRO <[email protected]>: > Hi, > > Both examples and gist look good (jaas config and server.xml). > But something is still wrong cause it complains cause it cannot find > "PropertiesLoginModule" configuration whereas both login.conf and serv.xml > do not mention it? > > I'm at the airport right now, So I can't give it a try. But as soon as I > have enough internet connection, I'll give it a try with the TomEE build > joined. > > JLoui > > > 2014-03-23 12:42 GMT+01:00 Caterpillar <[email protected]>: > >> I am experiencing an error in TomEE logs, after I click on "Submit" in >> Login.xhtml webpage: >> javax.security.auth.login.LoginException: No LoginModules configured for >> PropertiesLoginModule >> >> I asked for help on StackOverflow but suggestionsit did not have success >> >> http://stackoverflow.com/questions/22299054/javax-security-auth-login-loginexception-no-loginmodules-configured-for-propert >> >> I created a TomEE installation using Maven, then I putted the war file >> of the project inside directory tomee-demo/target/apache-tomee/webapps/ >> >> I attached a .sql file containing the database entries I use for users >> name and password. The database name is simplecrud_db >> >> I start TomEE by executing the startup.sh file in >> tomee-demo/target/apache-tomee/bin/ >> >> You can find the whole directory (TomEE+War inside) in >> https://github.com/Rendering/LAI_pezzi_Login >> >> >> Thank you for your time >> >> >> > > > -- > Jean-Louis
