JBoss Community

How-to registering JASPI auth module via AuthConfigFactory?

created by arjan tijms in PicketBox Development - View the full discussion

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?

Reply to this message by going to Community

Start a new discussion in PicketBox Development at Community