0 Replies Latest reply on May 27, 2012 5:28 PM by atijms

    How-to registering JASPI auth module via AuthConfigFactory?

    atijms

      In 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/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?