Hi all,

Currently passive STS in Identity Server is not workong, but after applying
following changes in orbit and identity-inbound-auth-sts I could
successfully run passive sts scenarios using PassiveSTSSampleApp.

*Orbit*

*diff --git a/opensaml/2.6.4.wso2v1/pom.xml b/opensaml/2.6.4.wso2v1/pom.xml*
*index 06b4d26..e10c16f 100644*
*--- a/opensaml/2.6.4.wso2v1/pom.xml*
*+++ b/opensaml/2.6.4.wso2v1/pom.xml*
*@@ -259,6 +259,7 @@*
*
 
net.jcip.annotations.*;version="${net.jcip.annotations.version}";resolution:=optional,*
*
 
org.apache.commons.httpclient.*;version="${org.apache.commons.httpclient.version}";resolution:=optional,*
*
 
org.apache.commons.ssl.*;version="${org.apache.commons.ssl.version}";resolution:=optional,*
*+
 org.apache.commons.codec.binary;version="[1.4,2)",*
*                             org.apache.velocity.*;resolution:=optional,*
*
 
org.apache.xml.security.*;version="${org.apache.xml.security.version}";resolution:=optional,*
*
 org.bouncycastle.*;version="${org.bouncycastle.version}";resolution:=optional,*
*@@ -279,6 +280,7 @@*
*
 org.apache.commons.fileupload.*;resolution:=optional,*
*                             org.apache.log4j.*;resolution:=optional,*
*
 org.owasp.validator.html;resolution:=optional,*
*+
 org.apache.axiom.om.impl.dom.jaxp;version="${axiom.osgi.version.range}"*
*                         </Import-Package>*
*
 <Embed-Dependency>esapi;scope=compile|runtime;inline=false</Embed-Dependency>*
*                         <Include-Resource>*
*@@ -321,6 +323,7 @@*
*         <org.slf4j.version>[1.6.0,1.8.0)</org.slf4j.version>*
*         <org.w3c.version>0.0.0</org.w3c.version>*
*         <org.xml.sax.version>0.0.0</org.xml.sax.version>*
*+        <axiom.osgi.version.range>[1.2.11,
2.0.0)</axiom.osgi.version.range>*
*     </properties>*

* </project>*


*identity-inbound-auth-sts*

*diff --git a/components/org.wso2.carbon.identity.sts.passive/pom.xml
b/components/org.wso2.carbon.identity.sts.passive/pom.xml*
*index f391798..2d927ae 100644*
*--- a/components/org.wso2.carbon.identity.sts.passive/pom.xml*
*+++ b/components/org.wso2.carbon.identity.sts.passive/pom.xml*
*@@ -97,7 +97,8 @@*
*                             javax.xml.stream;
version="${equinox.osgi.stax-api.imp.pkg.version.range}",*
*                             javax.servlet.http;
version="${imp.pkg.version.javax.servlet}",*

*-                            org.apache.axiom.*;
version="${axiom.osgi.version.range}",*
*+                            org.apache.axiom.om
<http://org.apache.axiom.om>; version="${axiom.osgi.version.range}",*
*+                            org.apache.axiom.soap;
version="${axiom.osgi.version.range}",*
*                             org.apache.axis2.*;
version="${axis2.osgi.version.range}",*
*                             org.apache.rahas.*;
version="${rampart.wso2.osgi.version.range}",*
*                             org.apache.ws.secpolicy;
version="${rampart.wso2.osgi.version.range}",*
*@@ -128,11 +129,13 @@*
*
 version="${carbon.identity.package.import.version.range}",*
*                             org.wso2.carbon.identity.core.*;*
*
 version="${carbon.identity.package.import.version.range}",*
*+
 org.opensaml;version="${opensaml2.wso2.osgi.version.range}"*
*                         </Import-Package>*
*                         <Export-Package>*
*
 !org.wso2.carbon.identity.sts.passive.internal,*
*                             org.wso2.carbon.identity.sts.passive.*;
version="${carbon.identity.package.export.version}",*
*                         </Export-Package>*
*+                        <DynamicImport-Package>*</DynamicImport-Package>*
*                     </instructions>*
*                 </configuration>*
*             </plugin>*

But now I am observing following error at back end.

*[2016-04-08 02:05:08,960] ERROR {org.opensaml.XML} -  Unable to parse SAML
1.0 Schemas: org.xml.sax.SAXParseException; schema_reference.4: Failed to
read schema document 'xml.xsd', because 1) could not find the document; 2)
the document could not be read; 3) the root element of the document is not
<xsd:schema>.*
*[2016-04-08 02:05:08,962] ERROR {org.opensaml.XML} -  Unable to parse SAML
1.1 Schemas: org.xml.sax.SAXParseException; schema_reference.4: Failed to
read schema document 'xml.xsd', because 1) could not find the document; 2)
the document could not be read; 3) the root element of the document is not
<xsd:schema>.*

Any idea about what is the reason for this?

Thanks!
-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to