Code Search for Developers
 
 
  

login.jsp from GridBlocks at Krugle


Show login.jsp syntax highlighted

<%--
 * Copyright (C) 2002-2004 Ping Identity Corporation. All rights reserved.
 *  
 * Licensed under the Open Software License version 2.1
 * 
 * A copy of this license has been provided with the distribution of this
 * software.  Additionally, a copy of this license is available at: 
 * http://www.pingidentity.com/license
 --%>
 
<%@ page import="org.sourceid.idff12.servlet.sp.SSOInitiateServlet"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>

<html>
    <head>
        <title>NetGate SP Federation Service Login Page</title>
    </head>
    <body>
        <table width="100%">
           <tr>
           <td align="center"<h1>GridBlocks SP Federation Service</h1></td>
           </tr>
        </table>
        <hr>
        <form method="post" action="<c:url value="${requestScope.baseUrl}/sp/"/>">
        <input type="hidden" name="doLogin" value="true"/>
            <table>
                <tr><td><b>Login locally:</b></td></tr>
                <tr>
                    <td>
                        <font color="red"><c:out value="${requestScope.error}"></c:out></font>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        User name:
                    </td>
                    <td>
                        <input type="text" name="login" value="<c:out value="${param.login}"/>">
                    </td>
                </tr>
                <tr>
                    <td>
                        Password:
                    </td>
                    <td>
                        <input type="password" name="password">
                    </td>
                </tr>
                <tr><td></td><td align="right"><input type="submit" value="Login"></td></tr>
                <tr><td colspan="2" align="center"><br>or<br><br></td></tr>
                </table>
                <table>
                <c:forEach items="${requestScope.idpProviderIds}" var="providerId" varStatus="status" >
                    <c:if test="${status.first}">
                        <tr><td colspan="3"><b>Single Sign-On using an Identity Provider:</b></td></tr>
                        <tr><td align="center">Provider</td><td align="center" colspan="2">Profile</td></tr>
                    </c:if>
                    <tr>
                        <c:url value="${requestScope.baseSsoInitUrl}" var="ssoPostUrl" >
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_ACTION%>" value="<%=SSOInitiateServlet.PARAM_ACTION_AUTHENTICATE_VALUE%>" />
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_PROVIDER_ID%>"><c:out value="${providerId}" /></c_rt:param>
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_IS_PASSIVE%>" value="false" />
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_FORCED_PROFILE%>" value="<%=SSOInitiateServlet.PARAM_FORCED_PROFILE_POST_VALUE%>" />
                        </c:url>
                        <c:url value="${requestScope.baseSsoInitUrl}" var="ssoArtUrl" >
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_ACTION%>" value="<%=SSOInitiateServlet.PARAM_ACTION_AUTHENTICATE_VALUE%>" />
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_PROVIDER_ID%>"><c:out value="${providerId}" /></c_rt:param>
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_IS_PASSIVE%>" value="false" />
                            <c_rt:param name="<%=SSOInitiateServlet.PARAM_FORCED_PROFILE%>" value="<%=SSOInitiateServlet.PARAM_FORCED_PROFILE_ARTIFACT_VALUE%>" />
                        </c:url>
                        <td><c:out value="${providerId}" /></td>
                        <td><a href="<c:out value="${ssoPostUrl}" />">post</a></td>
                        <td><a href="<c:out value="${ssoArtUrl}" />">artifact</a></td>
                    </tr>
                </c:forEach>
            </table>
            <table>
                <tr>
                   <td align="center">
                    <c:url value="${requestScope.baseIpiUrl}" var="ssoCookieUrl" >
                    	<c:param name="ReturnURL" value="${requestScope.cookieReturnUrl}" />
                    </c:url>

					<br><br>Retrieve common domain cookie  <a href="<c:out value="${ssoCookieUrl}"/>">here</a>
                   </td>
                </tr>
            </table>
            <br/>
        </form>
    </body>
</html>




See more files for this project here

GridBlocks

GridBlocks builds a grid application framework via easy-to-use building blocks in distributed environment. The framework offers components for Grid security, distributed storage, computing, and Portlet web interfaces.

Project homepage: http://sourceforge.net/projects/gridblocks
Programming language(s): Java,JSP,XML
License: other

  RenderAuthnRequestPost.jsp
  app.jsp
  cdcpage.jsp
  chequeInfo.jsp
  login.jsp
  logoutError.jsp
  pdSuccess.jsp
  proxyInfo.jsp
  ssoProblem.jsp
  ssoSuccess.jsp