[jboss-dev-forums] [PicketBox Development] - Re: Servlet 3 login fails with javax.servlet.ServletException: No authenticator available for programmatic login
peter craddock
do-not-reply at jboss.com
Fri Apr 19 11:20:08 EDT 2013
peter craddock [https://community.jboss.org/people/crazycradd] created the discussion
"Re: Servlet 3 login fails with javax.servlet.ServletException: No authenticator available for programmatic login"
To view the discussion, visit: https://community.jboss.org/message/809322#809322
--------------------------------------------------------------
The answer is yes you do you need an entry in web.xml to prevent the above exception
| | <security-constraint> |
| | <web-resource-collection> |
| | <web-resource-name>All resources</web-resource-name> |
| | <description>Protects all resources</description> |
| | <url-pattern>*.do</url-pattern> |
| | </web-resource-collection> |
| | </security-constraint> |
I also found that you now need a jboss-web.xml file aswell as a jboss-app.xml, in the old versions of AS 4.2.3 the jboss-app.xml was all that was needed in an ear file..
I have now ported openam 3.0.3 agent to work using a module in as7 via servlet3 login and the changes above
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/809322#809322]
Start a new discussion in PicketBox Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2088]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130419/4aa22d8b/attachment.html
More information about the jboss-dev-forums
mailing list