-
1. Re: ExtendedFormAuthenticator in JBoss 7?
jaikiran Sep 26, 2011 11:45 PM (in response to gregcharles)1 of 1 people found this helpfulCheck the last section (on valves) here http://community.jboss.org/wiki/JBossAS7SecurityDomainModel
-
2. Re: ExtendedFormAuthenticator in JBoss 7?
gregcharles Sep 27, 2011 1:59 PM (in response to jaikiran)Thanks Jaikiran, that worked! At least it worked in the sense that JBoss now recognizes I'm telling it to use a valve. Now the problem is:
09:55:25,827 ERROR [org.jboss.as.web.deployment.JBossContextConfig] (MSC service thread 1-1) Error instantiating contain
er component: org.jboss.web.tomcat.security.ExtendedFormAuthenticator: java.lang.ClassNotFoundException: org.jboss.web.t
omcat.security.ExtendedFormAuthenticator from [Module "deployment.xxx.ear.xxxxxxx.war:main" from Service Modu
le Loader]
I used that isocra jar searcher tool, and determined that JBoss no longer has the ExtendedFormAuthenticator class. Has it been renamed, or replaced by something?
-
3. Re: ExtendedFormAuthenticator in JBoss 7?
mmoyses Sep 27, 2011 2:48 PM (in response to gregcharles)Yeah, the class in not there because we didn't port it to AS7. I will try to do it this week: https://issues.jboss.org/browse/AS7-1963
-
4. Re: ExtendedFormAuthenticator in JBoss 7?
gregcharles Sep 27, 2011 3:31 PM (in response to mmoyses)Thanks Marcus! If you need a volunteer to test it, ping on me.
-
5. Re: ExtendedFormAuthenticator in JBoss 7?
mmoyses Oct 4, 2011 9:53 AM (in response to gregcharles)The ExtendendFormAuthenticator has been ported to AS7. You can test it by checking out the latest version for github.
Add
<valve>
<class-name>org.jboss.as.web.security.ExtendedFormAuthenticator</class-name>
<param>
<param-name>includePassword</param-name>
<param-value>true</param-value>
</param>
</valve>
to jboss-web.xml to use it.