Changeset 178

Show
Ignore:
Timestamp:
05/30/07 14:06:51 (2 years ago)
Author:
paulhethmon
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AcmeIdp/trunk/web/recv-authnrequest.jsp

    r169 r178  
    33<%@page session="true"%> 
    44<%@include file="include.jsp"%> 
    5  
    65<%@ page import="net.clareitysecurity.websso.idp.*" %> 
    76<%@ page import="org.opensaml.saml2.core.*" %> 
    8  
    9  
    107<% 
    11   HTTPPOST httpPost = new HTTPPOST(); 
     8  HttpPost httpPost = new HttpPost(); 
    129  AuthnRequest authnRequest = httpPost.decodeSAMLRequest(request); 
    1310  String relayState = httpPost.getRelayState(); 
     
    2421  messageXML = messageXML.replace(">", "&gt;"); 
    2522   
     23  // check and see if we already have a valid session for this user 
     24  // if so, send them on without asking for new credentials 
     25  String idpLoginId = (String) session.getAttribute(_credentials); 
     26  if (idpLoginId != null) { 
     27    response.sendRedirect("auth-user.jsp"); 
     28    return; 
     29  } 
    2630%>     
    2731<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"