public static String registerServerAuthConfig()

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


    public static String registerServerAuthConfig(Reader config) throws ConfigException {
        try {
            ServerAuthConfigType serverAuthConfigType = JaspiXmlUtil.loadServerAuthConfig(config);
            AuthConfigProvider authConfigProvider = JaspiUtil.wrapServerAuthConfig(serverAuthConfigType);
            return AuthConfigFactory.getFactory().registerConfigProvider(authConfigProvider, serverAuthConfigType.getMessageLayer(), serverAuthConfigType.getAppContext(), null);
        } catch (Exception e) {
            throw new ConfigException(e);
        }
    }