[jboss-dev-forums] [PicketBox Development] - How-to registering JASPI auth module via AuthConfigFactory?

arjan tijms do-not-reply at jboss.com
Sun May 27 17:28:22 EDT 2012


arjan tijms [https://community.jboss.org/people/atijms] created the discussion

"How-to registering JASPI auth module via AuthConfigFactory?"

To view the discussion, visit: https://community.jboss.org/message/738170#738170

--------------------------------------------------------------
In  https://blogs.oracle.com/enterprisetechtips/entry/adding_authentication_mechanisms_to_the this article Ron Mozillo hints that an JASPI auth module can be registered via the AuthConfigFactory. Unfortunately no example is given and the API plus Javadoc isn't exactly straightforward. I'm trying to do the programmatic equivalent of what's described here:  https://community.jboss.org/docs/DOC-17782 https://community.jboss.org/wiki/JBossAS7EnablingJASPIAuthenticationForWebApplications

The problem is that the factory has a registerConfigProvider() method, that wants "layer" and "appContext" parameters, but it's not clear what those should be. There's also a ServerAuthConfig, that again take some parameters and then finally returns a ServerAuthContext, which is somehow related to the ServerAuthModule that we were trying to configure.

Is this at all possible in JBoss AS 7?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/738170#738170]

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/20120527/86287d9b/attachment.html 


More information about the jboss-dev-forums mailing list