public static String registerClientAuthContext()

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


    public static String registerClientAuthContext(Reader config, boolean _protected) throws ConfigException {
        try {
            ClientAuthContextType clientAuthContextType = JaspiXmlUtil.loadClientAuthContext(config);
            AuthConfigProvider authConfigProvider = JaspiUtil.wrapClientAuthContext(clientAuthContextType, _protected);
            return AuthConfigFactory.getFactory().registerConfigProvider(authConfigProvider, clientAuthContextType.getMessageLayer(), clientAuthContextType.getAppContext(), null);
        } catch (Exception e) {
            throw new ConfigException(e);
        }
    }