It now works. There is something strange with the http://tomee.apache.org/tomee-jaas.html page. It is completely different from the content that I get when I want to contribute to the page. On that page the parameters userClassNames and roleClassNames are even different from the ones in your reply. With the configuration on this page I managed to get it 100% working for the application maintenance page.

      <!-- JAAS Security Realm -->
<Realm className="org.apache.catalina.realm.JAASRealm" appName="PropertiesLogin"
userClassNames="org.apache.openejb.core.security.jaas.UserPrincipal"
roleClassNames="org.apache.openejb.core.security.jaas.GroupPrincipal">
      </Realm>

Regards,

Marco

Op 12-06-13 09:00, Romain Manni-Bucau schreef:
Hmm, if your loging.config contains PropertiesLoginModule it should be
fine, if you copied/pasted the snippet we have on our website it should
be PropertiesLogin:

<Realm className="org.apache.catalina.realm.JAASRealm"
appName="PropertiesLogin"

userClassNames="org.apache.openejb.core.security.AbstractSecurityService$User"

roleClassNames="org.apache.openejb.core.security.AbstractSecurityService$Group">
</Realm>


*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*

Reply via email to