mace-opensaml-users - SAMLSOAPBinding problems
Subject: OpenSAML user discussion
List archive
- From: Manuel Sánchez Cuenca <>
- To:
- Subject: SAMLSOAPBinding problems
- Date: Tue, 04 Jan 2005 14:03:26 +0100
Hello all, I have a servlet, and a client that sends a SAMLRequest to this servlet. The following is the client code:
-------------------------------------------------------------------------------
String nombre = "lolo";
SAMLNameIdentifier nameId = new SAMLNameIdentifier(nombre, null, null);
SAMLSubject subject = new SAMLSubject(nameId, null, null, null);
SAMLAction action = new SAMLAction("urn:applications:actions","lectura");
ArrayList aux = new ArrayList();
aux.add(action);
String recurso = "Red";
SAMLAuthorizationDecisionQuery adq = new SAMLAuthorizationDecisionQuery(subject,recurso,aux,null);
SAMLRequest request = new SAMLRequest(null,adq,null,null);
QName qname = new QName("urn:oasis:names:tc:SAML:1.0:protocol","AuthorizationDecisionQuery");
SAMLAuthorityBinding bInfo = new SAMLAuthorityBinding(SAMLSOAPBinding.SAML_SOAP_HTTPS,
"http://155.54.210.117:8080/saml/servlet/ServletPDP", qname);
SAMLSOAPBinding soapBinding = new SAMLSOAPBinding();
soapBinding.send(bInfo, request);
-------------------------------------------------------------------------------
The problem is that when I execute the program, an Exception is raised:
-------------------------------------------------
java.io.IOException
at org.opensaml.SAMLSOAPBinding.send(Unknown Source)
at Test.main(Test.java:27)
-------------------------------------------------
Does anybody know what the problem is?
Thans in advance.
--
=======================================================
Manuel Sanchez Cuenca
Dept. Ingenieria de la Informacion y las Comunicaciones
Universidad de Murcia - España
Tlf: +34 968364644 - Fax: 968364151
email:
www: http://livia.dif.um.es/~lolo
www: http://livia.dif.um.es/~irisgrid
- SAMLSOAPBinding problems, Manuel Sánchez Cuenca, 01/04/2005
- RE: SAMLSOAPBinding problems, Scott Cantor, 01/04/2005
- Equality of SAMLNameIdentifier objects, Markus Lorch, 01/04/2005
- RE: Equality of SAMLNameIdentifier objects, Scott Cantor, 01/04/2005
- RE: Equality of SAMLNameIdentifier objects, Markus Lorch, 01/04/2005
- RE: Equality of SAMLNameIdentifier objects, Scott Cantor, 01/04/2005
- Re: Equality of SAMLNameIdentifier objects, Walter Hoehn, 01/04/2005
- RE: Equality of SAMLNameIdentifier objects, Scott Cantor, 01/04/2005
- RE: Equality of SAMLNameIdentifier objects, Markus Lorch, 01/04/2005
- RE: Equality of SAMLNameIdentifier objects, Scott Cantor, 01/04/2005
- Equality of SAMLNameIdentifier objects, Markus Lorch, 01/04/2005
- RE: SAMLSOAPBinding problems, Scott Cantor, 01/04/2005
Archive powered by MHonArc 2.6.16.