public static String registerServerAuthModule()

in geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/JaspicUtil.java [108:116]


    public static String registerServerAuthModule(String messageLayer, String appContext, String authenticationContextID, Reader config, boolean _protected) throws ConfigException {
        try {
            AuthModuleType<ServerAuthModule> serverAuthModuleType = JaspiXmlUtil.loadServerAuthModule(config);
            AuthConfigProvider authConfigProvider = JaspiUtil.wrapServerAuthModule(messageLayer, appContext, authenticationContextID, serverAuthModuleType, _protected);
            return AuthConfigFactory.getFactory().registerConfigProvider(authConfigProvider, messageLayer, appContext, null);
        } catch (Exception e) {
            throw new ConfigException(e);
        }
    }