Code Search for Developers
 
 
  

ssoSuccess.jsp from GridBlocks at Krugle


Show ssoSuccess.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="fi.hip.gb.gridlib.gridsp.userbase.PortalUser, java.net.URLEncoder, org.apache.xmlbeans.impl.util.Base64"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

   
<html>
    <body onload="javascript:document.forms[0].submit()">
<!--    <body> -->
        <center>
	<br>SSO Process successful. You are now logged in as <b><c:out value='${USERNAME}'/></b><br><br><!-- Please select a service -->You are now redirected to the following service:<br><br>
        <form method="post" action="<c:out value='/portal/auth/grid'/>">

<%
   String username = (String)request.getAttribute("USERNAME");
   String assertion = (String)request.getAttribute("Assertion");
   assertion = Base64.encode(assertion);
   if (username != null) {
      PortalUser user = new PortalUser();
      user = user.getUserByName(username);
%>
            <input type="hidden" name="username" value="<c:out value='${USERNAME}'/>">
<%
      if (assertion == null || assertion.equals("null")) {
%>
            <input type="hidden" name="password" value="<%= user.getPassword() %>"">
<%
      } else {
%>
            <input type="hidden" name="password" value="<%=assertion %>"">
<%    }

   }
%>
            <input type="submit" value="GridBlocks portal"/>
        </form>
<!--
        <br>
        <form method="post" action="<c:out value='https://pchip27.hip.fi:443/tv/tv_shop.jsp'/>">
            <input type="hidden" name="username" value="<c:out value='${USERNAME}'/>">
            <input type="submit" value="NetGate GridTV"/>
        </form>
-->
        </center>
    </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