Package org.apache.shindig.auth

Examples of org.apache.shindig.auth.AuthenticationServletFilter


        }
    }

    private void registerXMLtoHTMLServlet() {
        GadgetRenderingServlet gadgetRenderingServlet = new GadgetRenderingServlet();
        AuthenticationServletFilter authFilter = new AuthenticationServletFilter();
        Dictionary servletMappings = new Hashtable();
        servletMappings.put("servlet-name", "xml-to-html");
        servletMappings.put("url-pattern", "/ifr");
//        servletMappings.put("associated-filter", authFilter);
        registerServlet(bctx, gadgetRenderingServlet, servletMappings);
View Full Code Here


        registerServlet(bctx, htmlAccelServlet, servletMappings);
    }

    private void registerMakeRequestServlet() {
        MakeRequestServlet makeRequestServlet = new MakeRequestServlet();
        AuthenticationServletFilter authFilter = new AuthenticationServletFilter();
        Dictionary servletMappings = new Hashtable();
        servletMappings.put("servlet-name", "makeRequest");
        servletMappings.put("url-pattern", "/gadgets/makeRequest");
        servletMappings.put("associated-filter", authFilter);
        registerServlet(bctx, makeRequestServlet, servletMappings);
View Full Code Here

        registerRestApiServlet("/social/rest");
    }

    private void registerRestApiServlet(String urlPattern) {
        DataServiceServlet dataServiceServlet = new DataServiceServlet();
        AuthenticationServletFilter authFilter = new AuthenticationServletFilter();
        Dictionary servletMappings = new Hashtable();
        Dictionary<String, String> initParams = new Hashtable<String, String>();
        initParams.put("handlers", "org.apache.shindig.social.handlers");

        servletMappings.put("url-pattern", urlPattern);
View Full Code Here

        registerJsonRpcServlet("/social/rpc");
    }

    private void registerJsonRpcServlet(String urlPattern) {
        JsonRpcServlet jsonRpcServlet = new JsonRpcServlet();
        AuthenticationServletFilter authFilter = new AuthenticationServletFilter();
        Dictionary servletMappings = new Hashtable();
        Dictionary<String, String> initParams = new Hashtable<String, String>();
        initParams.put("handlers", "org.apache.shindig.social.handlers");
        servletMappings.put("url-pattern", urlPattern);
        servletMappings.put("servlet-params", initParams);
View Full Code Here

TOP

Related Classes of org.apache.shindig.auth.AuthenticationServletFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.