Skip to Content.
Sympa Menu

mace-opensaml-users - HttpServletRequestAdapter

Subject: OpenSAML user discussion

List archive

HttpServletRequestAdapter


Chronological Thread 
  • From: "Bailo, John" <>
  • To: <>
  • Subject: HttpServletRequestAdapter
  • Date: Thu, 18 Sep 2008 13:42:04 -0400

I've been struggling with HttpServletRequestAdapter for the past week.

Is there some attribute I'm missing in my form? I've taken out all the
INPUT elements and it still throws an exception. My jsp form is:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form name="edit" action="sevlet3" method="post">
<input type="submit" >
</form>
</body>
</html>

The sevlet3 doGet/doPost method consists of two lines:

messageContext = new BasicSAMLMessageContext();

messageContext.setInboundMessageTransport(
new HttpServletRequestAdapter(request));


The exception thrown from the second line is:

10:25:03,200 ERROR [[sevlet3]] Servlet.service() for servlet sevlet3
threw exception
java.lang.NoSuchFieldError: name
at org.slf4j.impl.SimpleLogger.<init>(SimpleLogger.java:83)
at
org.slf4j.impl.SimpleLoggerFactory.getLogger(SimpleLoggerFactory.java:67
)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:103)
at
org.opensaml.ws.transport.http.HttpServletRequestAdapter.<init>(HttpServ
letRequestAdapter.java:40)
at com.bowne.servlet3.sevlet3.doGet(sevlet3.java:44)
at com.bowne.servlet3.sevlet3.doPost(sevlet3.java:55)
CONFIDENTIALITY NOTICE: The information in this Internet email is
confidential and may be legally privileged. It is intended solely for the
addressee. Access to this email by anyone else is unauthorized.




Archive powered by MHonArc 2.6.16.

Top of Page