Package com.google.code.openid

Examples of com.google.code.openid.AuthorizationHeaderBuilder


     * @throws IOException
     */
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        if (req.getParameter("op") != null) {
            resp.setHeader("WWW-Authenticate", new AuthorizationHeaderBuilder()
                    .forIdentifier(req.getParameter("op"))
                    .includeStandardAttributes()
                    .buildHeader());
            resp.sendError(401, "Authentication required");
        } else {
View Full Code Here

TOP

Related Classes of com.google.code.openid.AuthorizationHeaderBuilder

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.