peter craddock [
https://community.jboss.org/people/crazycradd] created the discussion
"Servlet 3 login fails with javax.servlet.ServletException: No authenticator
available for programmatic login"
To view the discussion, visit:
https://community.jboss.org/message/807421#807421
--------------------------------------------------------------
Hi
I have been tring to get Jboss As7.1.1 working with opanAm and all seems to be going ok up
to now (I have altered the openamAgent to use servlet login as the prior impl raised a
classnotfoundexception).
I have built a global module that contains the classes used and my application is
redirected to the openAm servers login page as expected. but when the agent call to
request.login is doen the above exception is thrown.
I have the following in my standalone.xml
<security-domain name="AMRealm" cache-type="default">
<authentication>
<login-module
code="com.sun.identity.agents.jboss.v40.AmJBossLoginModule"
flag="required">
<module-option name="unauthenticatedIdentity"
value="anonymous"/>
</login-module>
</authentication>
</security-domain>
And the following in Jboss-web.xml
<jboss-web>
<security-domain>AMRealm</security-domain>
</jboss-web>
Do I have to do anything else to get this to work ?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/807421#807421]
Start a new discussion in PicketBox Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]