JBoss Identity SVN: r410 - identity-federation/trunk.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-30 13:33:49 -0400 (Mon, 30 Mar 2009)
New Revision: 410
Modified:
identity-federation/trunk/README.txt
Log:
add Readme
Modified: identity-federation/trunk/README.txt
===================================================================
--- identity-federation/trunk/README.txt 2009-03-30 17:32:44 UTC (rev 409)
+++ identity-federation/trunk/README.txt 2009-03-30 17:33:49 UTC (rev 410)
@@ -8,7 +8,7 @@
4) identity-fed-api: This is the API that the end users should use.
-5) identity-bindings: This is the server bindings for a non-JBAS environment such as Apache Tomcat.
+5) identity-bindings: This is the server bindings for a non-JBAS environment such as Apache Tomcat. This is where the JAXB model for the IDFed configuration exists.
6) identity-bindings-jboss: This is any JBAS specific codebase that builds on the identity bindings.
15 years, 9 months
JBoss Identity SVN: r409 - identity-federation/trunk.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-30 13:32:44 -0400 (Mon, 30 Mar 2009)
New Revision: 409
Added:
identity-federation/trunk/README.txt
Log:
add Readme
Added: identity-federation/trunk/README.txt
===================================================================
--- identity-federation/trunk/README.txt (rev 0)
+++ identity-federation/trunk/README.txt 2009-03-30 17:32:44 UTC (rev 409)
@@ -0,0 +1,16 @@
+README for workspace for Identity Federation
+==============================================
+1) identity-xmlsecmodel: Contains the JAXB model for XML Digital Signature and XML Encryption.
+
+2) identity-fed-model: JAXB model for spec of SAMLv2 and WS-Trust1.3. Do not put any other JAXB stuff here.
+
+3) identity-fed-core: This is the workspace where JBID project developers (not the users) will build the code using the model.
+
+4) identity-fed-api: This is the API that the end users should use.
+
+5) identity-bindings: This is the server bindings for a non-JBAS environment such as Apache Tomcat.
+
+6) identity-bindings-jboss: This is any JBAS specific codebase that builds on the identity bindings.
+
+7) assembly: Builds up the models, core and api consolidated jars. DOES NOT CONTAIN THE BINDINGS (please look at the platform-build project of JBID where zips are built).
+
15 years, 9 months
JBoss Identity SVN: r408 - identity-federation/trunk/identity-bindings.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-30 13:27:42 -0400 (Mon, 30 Mar 2009)
New Revision: 408
Modified:
identity-federation/trunk/identity-bindings/.classpath
Log:
fix cp
Modified: identity-federation/trunk/identity-bindings/.classpath
===================================================================
--- identity-federation/trunk/identity-bindings/.classpath 2009-03-30 04:22:03 UTC (rev 407)
+++ identity-federation/trunk/identity-bindings/.classpath 2009-03-30 17:27:42 UTC (rev 408)
@@ -20,5 +20,7 @@
<classpathentry kind="var" path="M2_REPO/org/apache/tomcat/catalina/6.0.18/catalina-6.0.18.jar"/>
<classpathentry kind="var" path="M2_REPO/junit/junit/4.5/junit-4.5.jar"/>
<classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/annotations-api/6.0.18/annotations-api-6.0.18.jar"/>
+ <classpathentry kind="var" path="M2_REPO/apache-tomcat/tomcat-util/5.5.12/tomcat-util-5.5.12.jar"/>
<classpathentry kind="output" path="target-eclipse"/>
</classpath>
15 years, 9 months
JBoss Identity SVN: r407 - in identity-federation/trunk: assembly and 237 other directories.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-30 00:22:03 -0400 (Mon, 30 Mar 2009)
New Revision: 407
Added:
identity-federation/trunk/identity-bindings-jboss/.classpath
identity-federation/trunk/identity-bindings/.classpath
identity-federation/trunk/identity-fed-api/.classpath
identity-federation/trunk/identity-fed-core/.classpath
identity-federation/trunk/identity-fed-model/.classpath
identity-federation/trunk/identity-xmlsecmodel/.classpath
Modified:
identity-federation/trunk/
identity-federation/trunk/assembly/
identity-federation/trunk/identity-bindings-jboss/
identity-federation/trunk/identity-bindings-jboss/src/
identity-federation/trunk/identity-bindings-jboss/src/main/
identity-federation/trunk/identity-bindings-jboss/src/main/java/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/auth/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/reg/
identity-federation/trunk/identity-bindings-jboss/src/main/resources/
identity-federation/trunk/identity-bindings-jboss/src/test/
identity-federation/trunk/identity-bindings-jboss/src/test/java/
identity-federation/trunk/identity-bindings-jboss/src/test/resources/
identity-federation/trunk/identity-bindings/
identity-federation/trunk/identity-bindings/src/
identity-federation/trunk/identity-bindings/src/main/
identity-federation/trunk/identity-bindings/src/main/java/
identity-federation/trunk/identity-bindings/src/main/java/org/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/interfaces/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/subject/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets/SOAPSAMLXACMLServlet.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/holder/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util/cert/
identity-federation/trunk/identity-bindings/src/main/resources/
identity-federation/trunk/identity-bindings/src/main/resources/schema/
identity-federation/trunk/identity-bindings/src/main/resources/schema/config/
identity-federation/trunk/identity-bindings/src/test/
identity-federation/trunk/identity-bindings/src/test/java/
identity-federation/trunk/identity-bindings/src/test/java/org/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/config/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/util/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/bindings/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/helpers/
identity-federation/trunk/identity-bindings/src/test/resources/
identity-federation/trunk/identity-bindings/src/test/resources/config/
identity-federation/trunk/identity-bindings/src/test/resources/keystore/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies/config/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests/
identity-federation/trunk/identity-fed-api/
identity-federation/trunk/identity-fed-api/src/
identity-federation/trunk/identity-fed-api/src/main/
identity-federation/trunk/identity-fed-api/src/main/java/
identity-federation/trunk/identity-fed-api/src/main/java/org/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/common/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/request/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/response/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/protocol/
identity-federation/trunk/identity-fed-api/src/main/resources/
identity-federation/trunk/identity-fed-api/src/test/
identity-federation/trunk/identity-fed-api/src/test/java/
identity-federation/trunk/identity-fed-api/src/test/java/org/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml/v2/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util/
identity-federation/trunk/identity-fed-api/src/test/resources/
identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/
identity-federation/trunk/identity-fed-api/src/test/resources/saml/
identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2/
identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2/authnrequest/
identity-federation/trunk/identity-fed-api/src/test/resources/xml/
identity-federation/trunk/identity-fed-api/src/test/resources/xml/dom/
identity-federation/trunk/identity-fed-core/
identity-federation/trunk/identity-fed-core/src/
identity-federation/trunk/identity-fed-core/src/main/
identity-federation/trunk/identity-fed-core/src/main/java/
identity-federation/trunk/identity-fed-core/src/main/java/org/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/constants/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/constants/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/exceptions/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/factories/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/holders/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util/DocumentUtil.java
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc/factories/
identity-federation/trunk/identity-fed-core/src/main/resources/
identity-federation/trunk/identity-fed-core/src/test/
identity-federation/trunk/identity-fed-core/src/test/java/
identity-federation/trunk/identity-fed-core/src/test/java/org/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util/XMLTimeUtilUnitTestCase.java
identity-federation/trunk/identity-fed-core/src/test/resources/
identity-federation/trunk/identity-fed-core/src/test/resources/saml-xacml/
identity-federation/trunk/identity-fed-model/
identity-federation/trunk/identity-fed-model/src/
identity-federation/trunk/identity-fed-model/src/main/
identity-federation/trunk/identity-fed-model/src/main/java/
identity-federation/trunk/identity-fed-model/src/main/java/org/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap/envelope/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/authenticatedtelephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocol/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocolpassword/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/kerberos/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorcontract/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorunregistered/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorcontract/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorunregistered/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/nomadtelephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/password/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/passwordprotectedtransport/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/personalizedtelephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/pgp/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/previoussession/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/secureremotepassword/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcard/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcardpki/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/softwarepki/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/spki/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/telephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/timesynctoken/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/tlsclient/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/x509/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/xmldsig/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/assertion/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated/runtime/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/metadata/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute/dce/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso/ecp/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/assertion/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/protocol/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/protocol/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/addressing/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/policy/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/secext/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/utility/
identity-federation/trunk/identity-fed-model/src/main/resources/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml/v2/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/
identity-federation/trunk/identity-fed-model/src/test/
identity-federation/trunk/identity-fed-model/src/test/java/
identity-federation/trunk/identity-fed-model/src/test/java/org/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws/trust/
identity-federation/trunk/identity-fed-model/src/test/resources/
identity-federation/trunk/identity-fed-model/src/test/resources/endorsed/
identity-federation/trunk/identity-fed-model/src/test/resources/saml/
identity-federation/trunk/identity-fed-model/src/test/resources/saml/v2/
identity-federation/trunk/identity-fed-model/src/test/resources/wstrust/
identity-federation/trunk/identity-samples/
identity-federation/trunk/identity-samples/employee/
identity-federation/trunk/identity-samples/employee/resources/
identity-federation/trunk/identity-samples/employee/resources/META-INF/
identity-federation/trunk/identity-samples/employee/resources/WEB-INF/
identity-federation/trunk/identity-samples/sales/
identity-federation/trunk/identity-samples/sales/resources/
identity-federation/trunk/identity-samples/sales/resources/META-INF/
identity-federation/trunk/identity-samples/sales/resources/WEB-INF/
identity-federation/trunk/identity-xmlsecmodel/
identity-federation/trunk/identity-xmlsecmodel/src/
identity-federation/trunk/identity-xmlsecmodel/src/main/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmldsig/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmlenc/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmldsig/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmlenc/
identity-federation/trunk/parent/
Log:
add classpath again
Property changes on: identity-federation/trunk
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/assembly
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Added: identity-federation/trunk/identity-bindings/.classpath
===================================================================
--- identity-federation/trunk/identity-bindings/.classpath (rev 0)
+++ identity-federation/trunk/identity-bindings/.classpath 2009-03-30 04:22:03 UTC (rev 407)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/test/java"/>
+ <classpathentry kind="src" path="src/test/resources"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-api"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-core"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/security/jboss-xacml/2.0.3.CR4"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/security/jboss-xacml/2.0.3.CR4/jboss-xacml-2.0.3.CR4.jar" sourcepath="/M2_REPO/org/jboss/security/jboss-xacml/2.0.3.CR4/jboss-xacml-2.0.3.CR4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/catalina/6.0.18/catalina-6.0.18.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/4.5/junit-4.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
+ <classpathentry kind="output" path="target-eclipse"/>
+</classpath>
Property changes on: identity-federation/trunk/identity-bindings/src
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust
___________________________________________________________________
Name: svn:ignore
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/interfaces
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/subject
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets/SOAPSAMLXACMLServlet.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets/SOAPSAMLXACMLServlet.java 2009-03-27 14:46:49 UTC (rev 406)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets/SOAPSAMLXACMLServlet.java 2009-03-30 04:22:03 UTC (rev 407)
@@ -46,6 +46,7 @@
import org.jboss.identity.federation.core.saml.v2.factories.SAMLAssertionFactory;
import org.jboss.identity.federation.core.saml.v2.factories.SOAPFactory;
import org.jboss.identity.federation.core.saml.v2.holders.IssuerInfoHolder;
+import org.jboss.identity.federation.core.saml.v2.util.DocumentUtil;
import org.jboss.identity.federation.core.saml.v2.util.JAXBElementMappingUtil;
import org.jboss.identity.federation.core.saml.v2.util.SOAPSAMLXACMLUtil;
import org.jboss.identity.federation.org.xmlsoap.schemas.soap.envelope.Body;
@@ -63,6 +64,7 @@
import org.jboss.security.xacml.interfaces.PolicyDecisionPoint;
import org.jboss.security.xacml.interfaces.RequestContext;
import org.jboss.security.xacml.interfaces.ResponseContext;
+import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
@@ -131,11 +133,15 @@
try
{
+ Document inputDoc = DocumentUtil.getDocument(req.getInputStream());
+ if(debug)
+ log.trace("Received SOAP:"+DocumentUtil.getDocumentAsString(inputDoc));
+
Unmarshaller un = SOAPSAMLXACMLUtil.getUnmarshaller();
if(debug)
un.setEventHandler(new DefaultValidationEventHandler());
- Object unmarshalledObject = un.unmarshal(req.getInputStream());
+ Object unmarshalledObject = un.unmarshal(DocumentUtil.getNodeAsStream(inputDoc));
if(unmarshalledObject instanceof JAXBElement)
{
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/holder
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util/cert
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/resources/schema
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/main/resources/schema/config
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/config
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java 2009-03-27 14:46:49 UTC (rev 406)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java 2009-03-30 04:22:03 UTC (rev 407)
@@ -88,15 +88,8 @@
check(env, false);
}
- }
+ }
- public void testA() throws Exception
- {
- String u = "http://www.w3.org/2001/XMLSchema#string";
- URI uri = new URI("http://www.w3.org/2001/XMLSchema#string");
- assertEquals(uri.toString(),u);
- }
-
public void testSAMLXACML() throws Exception
{
//Read the saml request from the file
Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java 2009-03-27 14:46:49 UTC (rev 406)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java 2009-03-30 04:22:03 UTC (rev 407)
@@ -268,7 +268,7 @@
}
public BufferedReader getReader() throws IOException
- {
+ {
return null;
}
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/bindings
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/helpers
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/config
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/keystore
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies/config
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Added: identity-federation/trunk/identity-bindings-jboss/.classpath
===================================================================
--- identity-federation/trunk/identity-bindings-jboss/.classpath (rev 0)
+++ identity-federation/trunk/identity-bindings-jboss/.classpath 2009-03-30 04:22:03 UTC (rev 407)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-bindings"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-api"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-core"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbosssx/2.0.3.SP1/jbosssx-2.0.3.SP1.jar"/>
+ <classpathentry kind="output" path="target-eclipse"/>
+</classpath>
Property changes on: identity-federation/trunk/identity-bindings-jboss/src
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/auth
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/reg
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/test/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/test/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Added: identity-federation/trunk/identity-fed-api/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-api/.classpath (rev 0)
+++ identity-federation/trunk/identity-fed-api/.classpath 2009-03-30 04:22:03 UTC (rev 407)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-core"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.2/xmlsec-1.4.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.jar"/>
+ <classpathentry kind="output" path="target-eclipse"/>
+</classpath>
Property changes on: identity-federation/trunk/identity-fed-api/src
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/common
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/request
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/response
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/protocol
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/main/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/endorsed
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2/authnrequest
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/xml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/xml/dom
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Added: identity-federation/trunk/identity-fed-core/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-core/.classpath (rev 0)
+++ identity-federation/trunk/identity-fed-core/.classpath 2009-03-30 04:22:03 UTC (rev 407)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
+ <classpathentry kind="output" path="target-eclipse"/>
+</classpath>
Property changes on: identity-federation/trunk/identity-fed-core/src
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/constants
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/constants
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/exceptions
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/factories
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/holders
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util/DocumentUtil.java
===================================================================
--- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util/DocumentUtil.java 2009-03-27 14:46:49 UTC (rev 406)
+++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util/DocumentUtil.java 2009-03-30 04:22:03 UTC (rev 407)
@@ -23,6 +23,7 @@
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
+import java.io.File;
import java.io.InputStream;
import java.io.Reader;
import java.io.StringReader;
@@ -57,11 +58,11 @@
*/
public static Document createDocument() throws Exception
{
- DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ DocumentBuilderFactory factory = getDocumentBuilderFactory();
DocumentBuilder builder = factory.newDocumentBuilder();
return builder.newDocument();
}
-
+
/**
* Parse a document from the string
* @param docString
@@ -87,6 +88,33 @@
}
/**
+ * Get Document from a file
+ * @param file
+ * @return
+ * @throws Exception
+ */
+ public static Document getDocument(File file) throws Exception
+ {
+ DocumentBuilderFactory factory = getDocumentBuilderFactory();
+ DocumentBuilder builder = factory.newDocumentBuilder();
+ return builder.parse(file);
+ }
+
+ /**
+ * Get Document from an inputstream
+ * @param is
+ * @return
+ * @throws Exception
+ */
+ public static Document getDocument(InputStream is) throws Exception
+ {
+ DocumentBuilderFactory factory = getDocumentBuilderFactory();
+ DocumentBuilder builder = factory.newDocumentBuilder();
+
+ return builder.parse(is);
+ }
+
+ /**
* Marshall a document into a String
* @param signedDoc
* @return
@@ -145,4 +173,15 @@
return bis;
}
+
+ /**
+ * Create a namespace aware Document builder factory
+ * @return
+ */
+ private static DocumentBuilderFactory getDocumentBuilderFactory()
+ {
+ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ factory.setNamespaceAware(true);
+ return factory;
+ }
}
\ No newline at end of file
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc/factories
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/main/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Modified: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util/XMLTimeUtilUnitTestCase.java
===================================================================
--- identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util/XMLTimeUtilUnitTestCase.java 2009-03-27 14:46:49 UTC (rev 406)
+++ identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util/XMLTimeUtilUnitTestCase.java 2009-03-30 04:22:03 UTC (rev 407)
@@ -54,7 +54,9 @@
int val = nowG.compareTo(now5M);
- assertTrue( val == 0);
+ System.out.println("Comparison value="+val);
+
+ assertTrue( "Compared value is 0", val <= 0);
}
public void testIsValid() throws Exception
Property changes on: identity-federation/trunk/identity-fed-core/src/test/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-core/src/test/resources/saml-xacml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Added: identity-federation/trunk/identity-fed-model/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-model/.classpath (rev 0)
+++ identity-federation/trunk/identity-fed-model/.classpath 2009-03-30 04:22:03 UTC (rev 407)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/security/jboss-xacml/2.0.3.CR4/jboss-xacml-2.0.3.CR4.jar"/>
+ <classpathentry kind="output" path="target-eclipse"/>
+</classpath>
Property changes on: identity-federation/trunk/identity-fed-model/src
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap/envelope
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/authenticatedtelephony
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocol
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocolpassword
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/kerberos
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorcontract
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorunregistered
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorcontract
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorunregistered
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/nomadtelephony
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/password
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/passwordprotectedtransport
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/personalizedtelephony
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/pgp
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/previoussession
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/secureremotepassword
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcard
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcardpki
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/softwarepki
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/spki
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/telephony
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/timesynctoken
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/tlsclient
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/x509
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/xmldsig
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/assertion
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated/runtime
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/metadata
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute/dce
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso/ecp
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/assertion
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/protocol
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/protocol
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/addressing
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/policy
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/secext
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/utility
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws/trust
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/endorsed
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/saml
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/saml/v2
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/wstrust
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/employee
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/employee/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/employee/resources/META-INF
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/employee/resources/WEB-INF
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/sales
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/sales/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/sales/resources/META-INF
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-samples/sales/resources/WEB-INF
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Added: identity-federation/trunk/identity-xmlsecmodel/.classpath
===================================================================
--- identity-federation/trunk/identity-xmlsecmodel/.classpath (rev 0)
+++ identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-03-30 04:22:03 UTC (rev 407)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.2/xmlsec-1.4.2.jar"/>
+ <classpathentry kind="output" path="target-eclipse"/>
+</classpath>
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmldsig
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmlenc
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmldsig
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmlenc
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
Property changes on: identity-federation/trunk/parent
___________________________________________________________________
Name: svn:ignore
- .metadata
.settings
.project
.classpath
target
target-eclipse
+ .settings
target
target-eclipse
.metadata
.project
15 years, 9 months
JBoss Identity SVN: r406 - in identity-federation/trunk: identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust and 5 other directories.
by jboss-identity-commits@lists.jboss.org
Author: sguilhen(a)redhat.com
Date: 2009-03-27 10:46:49 -0400 (Fri, 27 Mar 2009)
New Revision: 406
Added:
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/JBossSTSConfig.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Keystore.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ObjectFactory.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProvider.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProviders.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProvider.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProviders.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Truststore.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/package-info.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTSConfiguration.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/SecurityActions.java
identity-federation/trunk/identity-bindings/src/main/resources/schema/config/jboss-sts.xsd
Removed:
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd
Modified:
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java
Log:
Moved STS JAXB configuration model to identity-bindings.
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/JBossSTSConfig.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/JBossSTSConfig.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/JBossSTSConfig.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,295 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}STSName" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}TokenTimeout" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}EncryptToken" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}SecurityDomain" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}Keystore" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}Truststore" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}RequestHandler" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}TokenProviders" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}ServiceProviders" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "stsName",
+ "tokenTimeout",
+ "encryptToken",
+ "securityDomain",
+ "keystore",
+ "truststore",
+ "requestHandler",
+ "tokenProviders",
+ "serviceProviders"
+})
+@XmlRootElement(name = "JBossSTSConfig")
+public class JBossSTSConfig {
+
+ @XmlElement(name = "STSName", defaultValue = "JBossSTS")
+ protected String stsName;
+ @XmlElement(name = "TokenTimeout", defaultValue = "3600")
+ protected Integer tokenTimeout;
+ @XmlElement(name = "EncryptToken", defaultValue = "false")
+ protected Boolean encryptToken;
+ @XmlElement(name = "SecurityDomain")
+ protected String securityDomain;
+ @XmlElement(name = "Keystore")
+ protected Keystore keystore;
+ @XmlElement(name = "Truststore")
+ protected Truststore truststore;
+ @XmlElement(name = "RequestHandler")
+ protected String requestHandler;
+ @XmlElement(name = "TokenProviders")
+ protected TokenProviders tokenProviders;
+ @XmlElement(name = "ServiceProviders")
+ protected ServiceProviders serviceProviders;
+
+ /**
+ * Gets the value of the stsName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSTSName() {
+ return stsName;
+ }
+
+ /**
+ * Sets the value of the stsName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSTSName(String value) {
+ this.stsName = value;
+ }
+
+ /**
+ * Gets the value of the tokenTimeout property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getTokenTimeout() {
+ return tokenTimeout;
+ }
+
+ /**
+ * Sets the value of the tokenTimeout property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setTokenTimeout(Integer value) {
+ this.tokenTimeout = value;
+ }
+
+ /**
+ * Gets the value of the encryptToken property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isEncryptToken() {
+ return encryptToken;
+ }
+
+ /**
+ * Sets the value of the encryptToken property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEncryptToken(Boolean value) {
+ this.encryptToken = value;
+ }
+
+ /**
+ * Gets the value of the securityDomain property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSecurityDomain() {
+ return securityDomain;
+ }
+
+ /**
+ * Sets the value of the securityDomain property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSecurityDomain(String value) {
+ this.securityDomain = value;
+ }
+
+ /**
+ * Gets the value of the keystore property.
+ *
+ * @return
+ * possible object is
+ * {@link Keystore }
+ *
+ */
+ public Keystore getKeystore() {
+ return keystore;
+ }
+
+ /**
+ * Sets the value of the keystore property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Keystore }
+ *
+ */
+ public void setKeystore(Keystore value) {
+ this.keystore = value;
+ }
+
+ /**
+ * Gets the value of the truststore property.
+ *
+ * @return
+ * possible object is
+ * {@link Truststore }
+ *
+ */
+ public Truststore getTruststore() {
+ return truststore;
+ }
+
+ /**
+ * Sets the value of the truststore property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Truststore }
+ *
+ */
+ public void setTruststore(Truststore value) {
+ this.truststore = value;
+ }
+
+ /**
+ * Gets the value of the requestHandler property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRequestHandler() {
+ return requestHandler;
+ }
+
+ /**
+ * Sets the value of the requestHandler property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequestHandler(String value) {
+ this.requestHandler = value;
+ }
+
+ /**
+ * Gets the value of the tokenProviders property.
+ *
+ * @return
+ * possible object is
+ * {@link TokenProviders }
+ *
+ */
+ public TokenProviders getTokenProviders() {
+ return tokenProviders;
+ }
+
+ /**
+ * Sets the value of the tokenProviders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TokenProviders }
+ *
+ */
+ public void setTokenProviders(TokenProviders value) {
+ this.tokenProviders = value;
+ }
+
+ /**
+ * Gets the value of the serviceProviders property.
+ *
+ * @return
+ * possible object is
+ * {@link ServiceProviders }
+ *
+ */
+ public ServiceProviders getServiceProviders() {
+ return serviceProviders;
+ }
+
+ /**
+ * Sets the value of the serviceProviders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ServiceProviders }
+ *
+ */
+ public void setServiceProviders(ServiceProviders value) {
+ this.serviceProviders = value;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Keystore.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Keystore.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Keystore.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,126 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The Keystore type contains information about the keystore that holds the STS PKC and associated
+ * private key. These are used to sign tokens, like SAML assertions.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="password" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="alias" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "Keystore")
+public class Keystore {
+
+ @XmlAttribute(required = true)
+ protected String location;
+ @XmlAttribute(required = true)
+ protected String password;
+ @XmlAttribute
+ protected String alias;
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+ /**
+ * Gets the value of the alias property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAlias() {
+ return alias;
+ }
+
+ /**
+ * Sets the value of the alias property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAlias(String value) {
+ this.alias = value;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ObjectFactory.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ObjectFactory.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ObjectFactory.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,178 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the jboss.identity_trust.config._1 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _TokenTimeout_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "TokenTimeout");
+ private final static QName _STSName_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "STSName");
+ private final static QName _RequestHandler_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "RequestHandler");
+ private final static QName _EncryptToken_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "EncryptToken");
+ private final static QName _SecurityDomain_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "SecurityDomain");
+ private final static QName _ProviderClass_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "ProviderClass");
+ private final static QName _TruststoreAlias_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "TruststoreAlias");
+ private final static QName _TokenType_QNAME = new QName("urn:jboss:identity-trust:config:1.0", "TokenType");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: jboss.identity_trust.config._1
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Keystore }
+ *
+ */
+ public Keystore createKeystore() {
+ return new Keystore();
+ }
+
+ /**
+ * Create an instance of {@link ServiceProviders }
+ *
+ */
+ public ServiceProviders createServiceProviders() {
+ return new ServiceProviders();
+ }
+
+ /**
+ * Create an instance of {@link TokenProvider }
+ *
+ */
+ public TokenProvider createTokenProvider() {
+ return new TokenProvider();
+ }
+
+ /**
+ * Create an instance of {@link JBossSTSConfig }
+ *
+ */
+ public JBossSTSConfig createJBossSTSConfig() {
+ return new JBossSTSConfig();
+ }
+
+ /**
+ * Create an instance of {@link Truststore }
+ *
+ */
+ public Truststore createTruststore() {
+ return new Truststore();
+ }
+
+ /**
+ * Create an instance of {@link TokenProviders }
+ *
+ */
+ public TokenProviders createTokenProviders() {
+ return new TokenProviders();
+ }
+
+ /**
+ * Create an instance of {@link ServiceProvider }
+ *
+ */
+ public ServiceProvider createServiceProvider() {
+ return new ServiceProvider();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "TokenTimeout", defaultValue = "3600")
+ public JAXBElement<Integer> createTokenTimeout(Integer value) {
+ return new JAXBElement<Integer>(_TokenTimeout_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "STSName", defaultValue = "JBossSTS")
+ public JAXBElement<String> createSTSName(String value) {
+ return new JAXBElement<String>(_STSName_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "RequestHandler")
+ public JAXBElement<String> createRequestHandler(String value) {
+ return new JAXBElement<String>(_RequestHandler_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "EncryptToken", defaultValue = "false")
+ public JAXBElement<Boolean> createEncryptToken(Boolean value) {
+ return new JAXBElement<Boolean>(_EncryptToken_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "SecurityDomain")
+ public JAXBElement<String> createSecurityDomain(String value) {
+ return new JAXBElement<String>(_SecurityDomain_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "ProviderClass")
+ public JAXBElement<String> createProviderClass(String value) {
+ return new JAXBElement<String>(_ProviderClass_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "TruststoreAlias")
+ public JAXBElement<String> createTruststoreAlias(String value) {
+ return new JAXBElement<String>(_TruststoreAlias_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jboss:identity-trust:config:1.0", name = "TokenType")
+ public JAXBElement<String> createTokenType(String value) {
+ return new JAXBElement<String>(_TokenType_QNAME, String.class, null, value);
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProvider.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProvider.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProvider.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,134 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The service provider type contains information about a specific service provider. In particular,
+ * it specifies the type of the token that must be issued for the provider and the alias of the
+ * provider's PKC in the truststore. This is used by the STS to locate the PKC when encrypting the
+ * generated token.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}TruststoreAlias" minOccurs="0"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}TokenType"/>
+ * </sequence>
+ * <attribute name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "truststoreAlias",
+ "tokenType"
+})
+@XmlRootElement(name = "ServiceProvider")
+public class ServiceProvider {
+
+ @XmlElement(name = "TruststoreAlias")
+ protected String truststoreAlias;
+ @XmlElement(name = "TokenType", required = true)
+ protected String tokenType;
+ @XmlAttribute
+ protected String endpoint;
+
+ /**
+ * Gets the value of the truststoreAlias property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTruststoreAlias() {
+ return truststoreAlias;
+ }
+
+ /**
+ * Sets the value of the truststoreAlias property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTruststoreAlias(String value) {
+ this.truststoreAlias = value;
+ }
+
+ /**
+ * Gets the value of the tokenType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenType() {
+ return tokenType;
+ }
+
+ /**
+ * Sets the value of the tokenType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenType(String value) {
+ this.tokenType = value;
+ }
+
+ /**
+ * Gets the value of the endpoint property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEndpoint() {
+ return endpoint;
+ }
+
+ /**
+ * Sets the value of the endpoint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEndpoint(String value) {
+ this.endpoint = value;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProviders.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProviders.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/ServiceProviders.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,82 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The service providers specify the token type expected by each service provider.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}ServiceProvider" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "serviceProvider"
+})
+@XmlRootElement(name = "ServiceProviders")
+public class ServiceProviders {
+
+ @XmlElement(name = "ServiceProvider", required = true)
+ protected List<ServiceProvider> serviceProvider;
+
+ /**
+ * Gets the value of the serviceProvider property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the serviceProvider property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServiceProvider().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceProvider }
+ *
+ *
+ */
+ public List<ServiceProvider> getServiceProvider() {
+ if (serviceProvider == null) {
+ serviceProvider = new ArrayList<ServiceProvider>();
+ }
+ return this.serviceProvider;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProvider.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProvider.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProvider.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,99 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}ProviderClass"/>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}TokenType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "providerClass",
+ "tokenType"
+})
+@XmlRootElement(name = "TokenProvider")
+public class TokenProvider {
+
+ @XmlElement(name = "ProviderClass", required = true)
+ protected String providerClass;
+ @XmlElement(name = "TokenType", required = true)
+ protected String tokenType;
+
+ /**
+ * Gets the value of the providerClass property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProviderClass() {
+ return providerClass;
+ }
+
+ /**
+ * Sets the value of the providerClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProviderClass(String value) {
+ this.providerClass = value;
+ }
+
+ /**
+ * Gets the value of the tokenType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenType() {
+ return tokenType;
+ }
+
+ /**
+ * Sets the value of the tokenType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenType(String value) {
+ this.tokenType = value;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProviders.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProviders.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/TokenProviders.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The token providers specify the classes that handle the requests for each type of security Token.
+ * For example, a SAMLTokenProvider may be used to generate SAML token, while a X509TokenProvider
+ * may be used to generate X.509 tokens (certificates).
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{urn:jboss:identity-trust:config:1.0}TokenProvider" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "tokenProvider"
+})
+@XmlRootElement(name = "TokenProviders")
+public class TokenProviders {
+
+ @XmlElement(name = "TokenProvider", required = true)
+ protected List<TokenProvider> tokenProvider;
+
+ /**
+ * Gets the value of the tokenProvider property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the tokenProvider property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTokenProvider().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TokenProvider }
+ *
+ *
+ */
+ public List<TokenProvider> getTokenProvider() {
+ if (tokenProvider == null) {
+ tokenProvider = new ArrayList<TokenProvider>();
+ }
+ return this.tokenProvider;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Truststore.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Truststore.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/Truststore.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,100 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.bindings.config.trust;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The Truststore type contains information about the truststore that holds the service providers
+ * PKCs (public key certificates). When tokens need to be encrypted, the service provider's PKC
+ * is used to perform the encryption.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="password" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "Truststore")
+public class Truststore {
+
+ @XmlAttribute(required = true)
+ protected String location;
+ @XmlAttribute(required = true)
+ protected String password;
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/package-info.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/package-info.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/trust/package-info.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.27 at 11:21:21 AM GMT-03:00
+//
+
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "urn:jboss:identity-trust:config:1.0", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.identity.federation.bindings.config.trust;
Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java 2009-03-27 13:12:48 UTC (rev 405)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -21,9 +21,12 @@
*/
package org.jboss.identity.federation.bindings.jboss.trust;
+import java.io.InputStream;
import java.net.URL;
import javax.annotation.Resource;
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.Unmarshaller;
import javax.xml.transform.Source;
import javax.xml.ws.Service;
import javax.xml.ws.ServiceMode;
@@ -43,6 +46,7 @@
import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTokenCollection;
import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTokenResponse;
import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTokenResponseCollection;
+import org.jboss.identity.federation.bindings.config.trust.JBossSTSConfig;
/**
* <p>
@@ -59,6 +63,8 @@
@Resource
protected WebServiceContext context;
+ protected STSConfiguration config;
+
/*
* (non-Javadoc)
*
@@ -85,7 +91,10 @@
*/
protected Source handleTokenRequest(RequestSecurityToken request)
{
- WSTrustRequestHandler handler = WSTrustServiceFactory.getInstance().createRequestHandler(this.getConfiguration());
+ if(this.config == null)
+ this.config = this.getConfiguration();
+
+ WSTrustRequestHandler handler = WSTrustServiceFactory.getInstance().createRequestHandler(this.config);
String requestType = request.getRequestType().toString();
try
@@ -134,19 +143,6 @@
// add the single response to a RequestSecurityTokenResponse collection, as per the specification.
RequestSecurityTokenResponseCollection responseCollection = new RequestSecurityTokenResponseCollection();
responseCollection.addRequestSecurityTokenResponse(response);
- return this.marshallResponse(responseCollection);
- }
-
- /**
- * <p>
- * Marshalls the specified {@code RequestSecurityTokenResponseCollection} into a {@code Source} instance.
- * </p>
- *
- * @param responseCollection the {@code RequestSecurityTokenResponseCollection} to be marshalled.
- * @return the resulting {@code Source} instance.
- */
- protected Source marshallResponse(RequestSecurityTokenResponseCollection responseCollection)
- {
return WSTrustJAXBFactory.getInstance().marshallRequestSecurityTokenResponse(responseCollection);
}
@@ -161,6 +157,20 @@
{
// get the configuration file and parse it.
URL configurationFile = Thread.currentThread().getContextClassLoader().getResource("jboss-sts.xml");
- return WSTrustJAXBFactory.getInstance().parseConfiguration(configurationFile);
+ if (configurationFile == null)
+ return new JBossSTSConfiguration();
+
+ try
+ {
+ InputStream stream = configurationFile.openStream();
+ JAXBContext context = JAXBContext.newInstance("org.jboss.identity.federation.bindings.config.trust");
+ Unmarshaller unmarshaller = context.createUnmarshaller();
+ JBossSTSConfig jbossConfig = (JBossSTSConfig) unmarshaller.unmarshal(stream);
+ return new JBossSTSConfiguration(jbossConfig);
+ }
+ catch (Exception e)
+ {
+ throw new RuntimeException("Error parsing the configuration file", e);
+ }
}
}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTSConfiguration.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTSConfiguration.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTSConfiguration.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,192 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.identity.federation.bindings.jboss.trust;
+
+import java.security.PrivilegedActionException;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jboss.identity.federation.api.wstrust.STSConfiguration;
+import org.jboss.identity.federation.api.wstrust.SecurityTokenProvider;
+import org.jboss.identity.federation.bindings.config.trust.JBossSTSConfig;
+import org.jboss.identity.federation.bindings.config.trust.ServiceProvider;
+import org.jboss.identity.federation.bindings.config.trust.ServiceProviders;
+import org.jboss.identity.federation.bindings.config.trust.TokenProvider;
+import org.jboss.identity.federation.bindings.config.trust.TokenProviders;
+
+/**
+ * <p>
+ * </p>
+ *
+ * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
+ */
+public class JBossSTSConfiguration implements STSConfiguration
+{
+
+ // the delegate contains all the information extracted from the jboss-sts.xml configuration file.
+ private final JBossSTSConfig delegate;
+
+ private final Map<String, SecurityTokenProvider> tokenProviders = new HashMap<String, SecurityTokenProvider>();
+
+ private final Map<String, ServiceProvider> spMetadata = new HashMap<String, ServiceProvider>();
+
+ private final Map<String, Object> options = new HashMap<String, Object>();
+
+ /**
+ *
+ */
+ public JBossSTSConfiguration()
+ {
+ this.delegate = new JBossSTSConfig();
+ // set the default values in the delegate.
+ this.delegate.setSTSName("JBossSTS");
+ this.delegate.setEncryptToken(false);
+ this.delegate.setTokenTimeout(3600);
+ this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
+ }
+
+ /**
+ *
+ * @param config
+ */
+ public JBossSTSConfiguration(JBossSTSConfig config)
+ {
+ this.delegate = config;
+ // set the default request handler if one hasn't been specified.
+ if(this.delegate.getRequestHandler() == null)
+ this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
+
+ // build the token-provider and service-metadata maps.
+ TokenProviders providers = this.delegate.getTokenProviders();
+ if (providers != null)
+ {
+ for (TokenProvider provider : providers.getTokenProvider())
+ {
+ try
+ {
+ SecurityTokenProvider tokenProvider = (SecurityTokenProvider) SecurityActions.instantiateClass(provider
+ .getProviderClass());
+ this.tokenProviders.put(provider.getTokenType(), tokenProvider);
+ }
+ catch (PrivilegedActionException pae)
+ {
+ throw new RuntimeException("Unable to instantiate token provider " + provider.getProviderClass(), pae);
+ }
+ }
+ }
+ ServiceProviders serviceProviders = this.delegate.getServiceProviders();
+ if(serviceProviders != null)
+ {
+ for (ServiceProvider provider : serviceProviders.getServiceProvider())
+ this.spMetadata.put(provider.getEndpoint(), provider);
+ }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getSTSName()
+ */
+ public String getSTSName()
+ {
+ return this.delegate.getSTSName();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getEncryptIssuedToken()
+ */
+ public boolean getEncryptIssuedToken()
+ {
+ return this.delegate.isEncryptToken();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getIssuedTokenTimeout()
+ */
+ public long getIssuedTokenTimeout()
+ {
+ return this.delegate.getTokenTimeout();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getRequestHandlerClass()
+ */
+ public String getRequestHandlerClass()
+ {
+ return this.delegate.getRequestHandler();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getOptions()
+ */
+ public Map<String, Object> getOptions()
+ {
+ return this.options;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getProviderForService(java.lang.String)
+ */
+ public SecurityTokenProvider getProviderForService(String serviceName)
+ {
+ ServiceProvider provider = this.spMetadata.get(serviceName);
+ if (provider != null)
+ {
+ return this.tokenProviders.get(provider.getTokenType());
+ }
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getProviderForTokenType(java.lang.String)
+ */
+ public SecurityTokenProvider getProviderForTokenType(String tokenType)
+ {
+ return this.tokenProviders.get(tokenType);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getTokenTypeForService(java.lang.String)
+ */
+ public String getTokenTypeForService(String serviceName)
+ {
+ ServiceProvider provider = this.spMetadata.get(serviceName);
+ if (provider != null)
+ return provider.getTokenType();
+ return null;
+ }
+
+}
Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/SecurityActions.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/SecurityActions.java (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/SecurityActions.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,95 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.identity.federation.bindings.jboss.trust;
+
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+
+/**
+ *
+ * <p>
+ * </p>
+ *
+ * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
+ */
+class SecurityActions
+{
+
+ /**
+ *
+ * @return
+ */
+ static ClassLoader getContextClassLoader()
+ {
+ return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>()
+ {
+ public ClassLoader run()
+ {
+ return Thread.currentThread().getContextClassLoader();
+ }
+ });
+ }
+
+ /**
+ *
+ * @param name
+ * @return
+ * @throws PrivilegedActionException
+ */
+ static Class<?> loadClass(final String name) throws PrivilegedActionException
+ {
+ return AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>()
+ {
+ public Class<?> run() throws PrivilegedActionException
+ {
+ try
+ {
+ return getContextClassLoader().loadClass(name);
+ }
+ catch (Exception e)
+ {
+ throw new PrivilegedActionException(e);
+ }
+ }
+ });
+ }
+
+ /**
+ *
+ * @param className
+ * @return
+ * @throws PrivilegedActionException
+ */
+ static Object instantiateClass(final String className) throws PrivilegedActionException
+ {
+ return AccessController.doPrivileged(new PrivilegedExceptionAction<Object>()
+ {
+ public Object run() throws Exception
+ {
+ Class<?> objectClass = loadClass(className);
+ return objectClass.newInstance();
+ }
+ });
+ }
+}
\ No newline at end of file
Added: identity-federation/trunk/identity-bindings/src/main/resources/schema/config/jboss-sts.xsd
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/resources/schema/config/jboss-sts.xsd (rev 0)
+++ identity-federation/trunk/identity-bindings/src/main/resources/schema/config/jboss-sts.xsd 2009-03-27 14:46:49 UTC (rev 406)
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:sts="urn:jboss:identity-trust:config:1.0"
+ targetNamespace="urn:jboss:identity-trust:config:1.0"
+ elementFormDefault="qualified">
+
+ <xsd:element name="JBossSTSConfig">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="sts:STSName" minOccurs="0"/>
+ <xsd:element ref="sts:TokenTimeout" minOccurs="0"/>
+ <xsd:element ref="sts:EncryptToken" minOccurs="0"/>
+ <xsd:element ref="sts:SecurityDomain" minOccurs="0"/>
+ <xsd:element ref="sts:Keystore" minOccurs="0"/>
+ <xsd:element ref="sts:Truststore" minOccurs="0"/>
+ <xsd:element ref="sts:RequestHandler" minOccurs="0"/>
+ <xsd:element ref="sts:TokenProviders" minOccurs="0"/>
+ <xsd:element ref="sts:ServiceProviders" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="STSName" default="JBossSTS" type="xsd:string"/>
+
+ <xsd:element name="TokenTimeout" default="3600" type="xsd:int"/>
+
+ <xsd:element name="EncryptToken" default="false" type="xsd:boolean"/>
+
+ <!-- a security domain can be used to locate the key and trust stores -->
+ <xsd:element name="SecurityDomain" type="xsd:string"/>
+
+ <xsd:element name="Keystore">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The Keystore type contains information about the keystore that holds the STS PKC and associated
+ private key. These are used to sign tokens, like SAML assertions.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="location" type="xsd:string" use="required"/>
+ <xsd:attribute name="password" type="xsd:string" use="required"/>
+ <xsd:attribute name="alias" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="Truststore">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The Truststore type contains information about the truststore that holds the service providers
+ PKCs (public key certificates). When tokens need to be encrypted, the service provider's PKC
+ is used to perform the encryption.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="location" type="xsd:string" use="required"/>
+ <xsd:attribute name="password" type="xsd:string" use="required"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="RequestHandler" type="xsd:string"/>
+
+ <xsd:element name="TokenProviders">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The token providers specify the classes that handle the requests for each type of security Token.
+ For example, a SAMLTokenProvider may be used to generate SAML token, while a X509TokenProvider
+ may be used to generate X.509 tokens (certificates).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="sts:TokenProvider" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="TokenProvider">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="sts:ProviderClass" minOccurs="1"/>
+ <xsd:element ref="sts:TokenType" minOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="ProviderClass" type="xsd:string"/>
+
+ <xsd:element name="TokenType" type="xsd:string"/>
+
+ <xsd:element name="ServiceProviders">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The service providers specify the token type expected by each service provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="sts:ServiceProvider" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="ServiceProvider">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The service provider type contains information about a specific service provider. In particular,
+ it specifies the type of the token that must be issued for the provider and the alias of the
+ provider's PKC in the truststore. This is used by the STS to locate the PKC when encrypting the
+ generated token.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="sts:TruststoreAlias" minOccurs="0"/>
+ <xsd:element ref="sts:TokenType" minOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="endpoint" type="xsd:string"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="TruststoreAlias" type="xsd:string"/>
+</xsd:schema>
\ No newline at end of file
Deleted: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java 2009-03-27 13:12:48 UTC (rev 405)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -1,190 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.identity.federation.api.wstrust;
-
-import java.security.PrivilegedActionException;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.jboss.identity.federation.ws.trust.config.JBossSTSConfig;
-import org.jboss.identity.federation.ws.trust.config.ServiceProvider;
-import org.jboss.identity.federation.ws.trust.config.ServiceProviders;
-import org.jboss.identity.federation.ws.trust.config.TokenProvider;
-import org.jboss.identity.federation.ws.trust.config.TokenProviders;
-
-/**
- * <p>
- * </p>
- *
- * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
- */
-public class StandardSTSConfiguration implements STSConfiguration
-{
-
- // the delegate contains all the information extracted from the jboss-sts.xml configuration file.
- private final JBossSTSConfig delegate;
-
- private final Map<String, SecurityTokenProvider> tokenProviders = new HashMap<String, SecurityTokenProvider>();
-
- private final Map<String, ServiceProvider> spMetadata = new HashMap<String, ServiceProvider>();
-
- private final Map<String, Object> options = new HashMap<String, Object>();
-
- /**
- *
- */
- public StandardSTSConfiguration()
- {
- this.delegate = new JBossSTSConfig();
- // set the default values in the delegate.
- this.delegate.setSTSName("JBossSTS");
- this.delegate.setEncryptToken(false);
- this.delegate.setTokenTimeout(3600);
- this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
- }
-
- /**
- *
- * @param config
- */
- public StandardSTSConfiguration(JBossSTSConfig config)
- {
- this.delegate = config;
- // set the default request handler if one hasn't been specified.
- if(this.delegate.getRequestHandler() == null)
- this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
-
- // build the token-provider and service-metadata maps.
- TokenProviders providers = this.delegate.getTokenProviders();
- if (providers != null)
- {
- for (TokenProvider provider : providers.getTokenProvider())
- {
- try
- {
- SecurityTokenProvider tokenProvider = (SecurityTokenProvider) SecurityActions.instantiateClass(provider
- .getProviderClass());
- this.tokenProviders.put(provider.getTokenType(), tokenProvider);
- }
- catch (PrivilegedActionException pae)
- {
- throw new RuntimeException("Unable to instantiate token provider " + provider.getProviderClass(), pae);
- }
- }
- }
- ServiceProviders serviceProviders = this.delegate.getServiceProviders();
- if(serviceProviders != null)
- {
- for (ServiceProvider provider : serviceProviders.getServiceProvider())
- this.spMetadata.put(provider.getEndpoint(), provider);
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getSTSName()
- */
- public String getSTSName()
- {
- return this.delegate.getSTSName();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getEncryptIssuedToken()
- */
- public boolean getEncryptIssuedToken()
- {
- return this.delegate.isEncryptToken();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getIssuedTokenTimeout()
- */
- public long getIssuedTokenTimeout()
- {
- return this.delegate.getTokenTimeout();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getRequestHandlerClass()
- */
- public String getRequestHandlerClass()
- {
- return this.delegate.getRequestHandler();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getOptions()
- */
- public Map<String, Object> getOptions()
- {
- return this.options;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getProviderForService(java.lang.String)
- */
- public SecurityTokenProvider getProviderForService(String serviceName)
- {
- ServiceProvider provider = this.spMetadata.get(serviceName);
- if (provider != null)
- {
- return this.tokenProviders.get(provider.getTokenType());
- }
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getProviderForTokenType(java.lang.String)
- */
- public SecurityTokenProvider getProviderForTokenType(String tokenType)
- {
- return this.tokenProviders.get(tokenType);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getTokenTypeForService(java.lang.String)
- */
- public String getTokenTypeForService(String serviceName)
- {
- ServiceProvider provider = this.spMetadata.get(serviceName);
- if (provider != null)
- return provider.getTokenType();
- return null;
- }
-
-}
Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java 2009-03-27 13:12:48 UTC (rev 405)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java 2009-03-27 14:46:49 UTC (rev 406)
@@ -21,9 +21,6 @@
*/
package org.jboss.identity.federation.api.wstrust;
-import java.io.InputStream;
-import java.net.URL;
-
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
@@ -43,7 +40,6 @@
import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponseCollectionType;
import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponseType;
import org.jboss.identity.federation.ws.trust.RequestSecurityTokenType;
-import org.jboss.identity.federation.ws.trust.config.JBossSTSConfig;
/**
* <p>
@@ -239,28 +235,4 @@
}
}
- /**
- *
- * @param configurationFile
- * @return
- */
- public STSConfiguration parseConfiguration(URL configurationFile)
- {
- if (configurationFile == null)
- return new StandardSTSConfiguration();
-
- try
- {
- InputStream stream = configurationFile.openStream();
- JAXBContext context = JAXBContext.newInstance("org.jboss.identity.federation.ws.trust.config");
- Unmarshaller unmarshaller = context.createUnmarshaller();
- JBossSTSConfig jbossConfig = (JBossSTSConfig) unmarshaller.unmarshal(stream);
- return new StandardSTSConfiguration(jbossConfig);
- }
- catch (Exception e)
- {
- throw new RuntimeException("Error parsing the configuration file", e);
- }
- }
-
}
Deleted: identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd 2009-03-27 13:12:48 UTC (rev 405)
+++ identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd 2009-03-27 14:46:49 UTC (rev 406)
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:sts="http://www.jboss.org/federation/jboss-sts"
- targetNamespace="http://www.jboss.org/federation/jboss-sts"
- elementFormDefault="qualified">
-
- <xsd:element name="JBossSTSConfig">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="sts:STSName" minOccurs="0"/>
- <xsd:element ref="sts:TokenTimeout" minOccurs="0"/>
- <xsd:element ref="sts:EncryptToken" minOccurs="0"/>
- <xsd:element ref="sts:SecurityDomain" minOccurs="0"/>
- <xsd:element ref="sts:Keystore" minOccurs="0"/>
- <xsd:element ref="sts:Truststore" minOccurs="0"/>
- <xsd:element ref="sts:RequestHandler" minOccurs="0"/>
- <xsd:element ref="sts:TokenProviders" minOccurs="0"/>
- <xsd:element ref="sts:ServiceProviders" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="STSName" default="JBossSTS" type="xsd:string"/>
-
- <xsd:element name="TokenTimeout" default="3600" type="xsd:int"/>
-
- <xsd:element name="EncryptToken" default="false" type="xsd:boolean"/>
-
- <!-- a security domain can be used to locate the key and trust stores -->
- <xsd:element name="SecurityDomain" type="xsd:string"/>
-
- <xsd:element name="Keystore">
- <xsd:complexType>
- <xsd:annotation>
- <xsd:documentation>
- The Keystore type contains information about the keystore that holds the STS PKC and associated
- private key. These are used to sign tokens, like SAML assertions.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:attribute name="location" type="xsd:string" use="required"/>
- <xsd:attribute name="password" type="xsd:string" use="required"/>
- <xsd:attribute name="alias" type="xsd:string" use="optional"/>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="Truststore">
- <xsd:complexType>
- <xsd:annotation>
- <xsd:documentation>
- The Truststore type contains information about the truststore that holds the service providers
- PKCs (public key certificates). When tokens need to be encrypted, the service provider's PKC
- is used to perform the encryption.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:attribute name="location" type="xsd:string" use="required"/>
- <xsd:attribute name="password" type="xsd:string" use="required"/>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="RequestHandler" type="xsd:string"/>
-
- <xsd:element name="TokenProviders">
- <xsd:complexType>
- <xsd:annotation>
- <xsd:documentation>
- The token providers specify the classes that handle the requests for each type of security Token.
- For example, a SAMLTokenProvider may be used to generate SAML token, while a X509TokenProvider
- may be used to generate X.509 tokens (certificates).
- </xsd:documentation>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element ref="sts:TokenProvider" minOccurs="1" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="TokenProvider">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="sts:ProviderClass" minOccurs="1"/>
- <xsd:element ref="sts:TokenType" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="ProviderClass" type="xsd:string"/>
-
- <xsd:element name="TokenType" type="xsd:string"/>
-
- <xsd:element name="ServiceProviders">
- <xsd:complexType>
- <xsd:annotation>
- <xsd:documentation>
- The service providers specify the token type expected by each service provider.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element ref="sts:ServiceProvider" minOccurs="1" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="ServiceProvider">
- <xsd:complexType>
- <xsd:annotation>
- <xsd:documentation>
- The service provider type contains information about a specific service provider. In particular,
- it specifies the type of the token that must be issued for the provider and the alias of the
- provider's PKC in the truststore. This is used by the STS to locate the PKC when encrypting the
- generated token.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element ref="sts:TruststoreAlias" minOccurs="0"/>
- <xsd:element ref="sts:TokenType" minOccurs="1"/>
- </xsd:sequence>
- <xsd:attribute name="endpoint" type="xsd:string"/>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="TruststoreAlias" type="xsd:string"/>
-</xsd:schema>
\ No newline at end of file
15 years, 9 months
JBoss Identity SVN: r405 - in identity-federation/trunk: identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust and 3 other directories.
by jboss-identity-commits@lists.jboss.org
Author: sguilhen(a)redhat.com
Date: 2009-03-27 09:12:48 -0400 (Fri, 27 Mar 2009)
New Revision: 405
Added:
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/SecurityActions.java
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardRequestHandler.java
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/JBossSTSConfig.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Keystore.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ObjectFactory.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProvider.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProviders.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProvider.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProviders.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Truststore.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/package-info.java
identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd
Removed:
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossRequestHandler.java
Modified:
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/STSConfiguration.java
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustServiceFactory.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenCollectionType.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseCollectionType.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseType.java
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenType.java
Log:
Added JAXB model for STS configuration. Implemented StandardSTSConfiguration class which uses the model to provide configuration info.
Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossRequestHandler.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossRequestHandler.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossRequestHandler.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -1,160 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.identity.federation.bindings.jboss.trust;
-
-import javax.xml.ws.handler.MessageContext;
-
-import org.jboss.identity.federation.api.wstrust.STSConfiguration;
-import org.jboss.identity.federation.api.wstrust.SecurityTokenProvider;
-import org.jboss.identity.federation.api.wstrust.WSTrustException;
-import org.jboss.identity.federation.api.wstrust.WSTrustRequestContext;
-import org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler;
-import org.jboss.identity.federation.api.wstrust.WSTrustUtil;
-import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken;
-import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTokenResponse;
-import org.jboss.identity.federation.ws.policy.AppliesTo;
-import org.jboss.identity.federation.ws.trust.LifetimeType;
-import org.jboss.identity.federation.ws.trust.RequestedSecurityTokenType;
-
-/**
- * <p>
- * Default implementation of the {@code WSTrustRequestHandler} interface. It creates the request context containing the
- * original WS-Trust request as well as any information that may be relevant to the token processing, and delegates the
- * actual token handling processing to the appropriate {@code SecurityTokenProvider}.
- * </p>
- *
- * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
- */
-public class JBossRequestHandler implements WSTrustRequestHandler
-{
-
- private STSConfiguration configuration;
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#initialize(org.jboss.identity.federation.api.wstrust.STSConfiguration)
- */
- public void initialize(STSConfiguration configuration)
- {
- this.configuration = configuration;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#issue(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
- * javax.xml.ws.handler.MessageContext)
- */
- public RequestSecurityTokenResponse issue(RequestSecurityToken request, MessageContext context)
- throws WSTrustException
- {
- SecurityTokenProvider provider = null;
-
- // first try to obtain the security token provider using the applies-to contents.
- AppliesTo appliesTo = request.getAppliesTo();
- if(appliesTo != null)
- {
- String serviceName = WSTrustUtil.parseAppliesTo(appliesTo);
- if(serviceName != null)
- provider = this.configuration.getProviderForService(serviceName);
- }
- // if applies-to is not available or if no provider was found for the service, use the token type.
- if(provider == null && request.getTokenType() != null)
- {
- provider = this.configuration.getProviderForTokenType(request.getTokenType().toString());
- }
- else if(appliesTo == null && request.getTokenType() == null)
- throw new WSTrustException("Either AppliesTo or TokenType must be present in a security token request");
-
- if(provider != null)
- {
- // create the request context and delegate token generation to the provider.
- WSTrustRequestContext requestContext = new WSTrustRequestContext(request);
- if(request.getLifetime() == null && this.configuration.getIssuedTokenTimeout() != 0)
- {
- // if no lifetime has been specified, use the configured timeout value.
- LifetimeType lifetime = WSTrustUtil.createDefaultLifetime(this.configuration.getIssuedTokenTimeout());
- request.setLifetime(lifetime);
- }
- provider.issueToken(requestContext);
-
- // construct the ws-trust security token response.
- RequestedSecurityTokenType requestedSecurityToken = new RequestedSecurityTokenType();
- requestedSecurityToken.setAny(requestContext.getSecurityToken());
-
- // TODO: create proof token and encrypt the token if needed
-
- RequestSecurityTokenResponse response = new RequestSecurityTokenResponse();
- if(request.getContext() != null)
- response.setContext(request.getContext());
-
- response.setTokenType(request.getTokenType());
- response.setLifetime(request.getLifetime());
- response.setAppliesTo(appliesTo);
- response.setRequestedSecurityToken(requestedSecurityToken);
- return response;
- }
- else
- throw new WSTrustException("Unable to find a token provider for the token request");
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#renew(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
- * javax.xml.ws.handler.MessageContext)
- */
- public RequestSecurityTokenResponse renew(RequestSecurityToken request, MessageContext context)
- throws WSTrustException
- {
- // TODO: implement renew logic.
- throw new UnsupportedOperationException();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#validate(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
- * javax.xml.ws.handler.MessageContext)
- */
- public RequestSecurityTokenResponse validate(RequestSecurityToken request, MessageContext context)
- throws WSTrustException
- {
- // TODO: implement validate logic.
- throw new UnsupportedOperationException();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#cancel(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
- * javax.xml.ws.handler.MessageContext)
- */
- public RequestSecurityTokenResponse cancel(RequestSecurityToken request, MessageContext context)
- throws WSTrustException
- {
- // TODO: implement cancel logic.
- throw new UnsupportedOperationException();
- }
-
-}
Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/JBossSTS.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -21,6 +21,8 @@
*/
package org.jboss.identity.federation.bindings.jboss.trust;
+import java.net.URL;
+
import javax.annotation.Resource;
import javax.xml.transform.Source;
import javax.xml.ws.Service;
@@ -157,7 +159,8 @@
*/
protected STSConfiguration getConfiguration()
{
- // TODO: create the configuration instance.
- return null;
+ // get the configuration file and parse it.
+ URL configurationFile = Thread.currentThread().getContextClassLoader().getResource("jboss-sts.xml");
+ return WSTrustJAXBFactory.getInstance().parseConfiguration(configurationFile);
}
}
Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/STSConfiguration.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/STSConfiguration.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/STSConfiguration.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -62,6 +62,15 @@
/**
* <p>
+ * Obtains the fully-qualified name of the request handler class.
+ * </p>
+ *
+ * @return a {@code String} representing the request handler FQN.
+ */
+ public String getRequestHandlerClass();
+
+ /**
+ * <p>
* Given the name of a service provider, obtains the type of the token that should be used when issuing tokens to
* clients of that service.
* </p>
Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/SecurityActions.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/SecurityActions.java (rev 0)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/SecurityActions.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,95 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.identity.federation.api.wstrust;
+
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+
+/**
+ *
+ * <p>
+ * </p>
+ *
+ * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
+ */
+class SecurityActions
+{
+
+ /**
+ *
+ * @return
+ */
+ static ClassLoader getContextClassLoader()
+ {
+ return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>()
+ {
+ public ClassLoader run()
+ {
+ return Thread.currentThread().getContextClassLoader();
+ }
+ });
+ }
+
+ /**
+ *
+ * @param name
+ * @return
+ * @throws PrivilegedActionException
+ */
+ static Class<?> loadClass(final String name) throws PrivilegedActionException
+ {
+ return AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>()
+ {
+ public Class<?> run() throws PrivilegedActionException
+ {
+ try
+ {
+ return getContextClassLoader().loadClass(name);
+ }
+ catch (Exception e)
+ {
+ throw new PrivilegedActionException(e);
+ }
+ }
+ });
+ }
+
+ /**
+ *
+ * @param className
+ * @return
+ * @throws PrivilegedActionException
+ */
+ static Object instantiateClass(final String className) throws PrivilegedActionException
+ {
+ return AccessController.doPrivileged(new PrivilegedExceptionAction<Object>()
+ {
+ public Object run() throws Exception
+ {
+ Class<?> objectClass = loadClass(className);
+ return objectClass.newInstance();
+ }
+ });
+ }
+}
\ No newline at end of file
Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardRequestHandler.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardRequestHandler.java (rev 0)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardRequestHandler.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,160 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.identity.federation.api.wstrust;
+
+import javax.xml.ws.handler.MessageContext;
+
+import org.jboss.identity.federation.api.wstrust.STSConfiguration;
+import org.jboss.identity.federation.api.wstrust.SecurityTokenProvider;
+import org.jboss.identity.federation.api.wstrust.WSTrustException;
+import org.jboss.identity.federation.api.wstrust.WSTrustRequestContext;
+import org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler;
+import org.jboss.identity.federation.api.wstrust.WSTrustUtil;
+import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken;
+import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTokenResponse;
+import org.jboss.identity.federation.ws.policy.AppliesTo;
+import org.jboss.identity.federation.ws.trust.LifetimeType;
+import org.jboss.identity.federation.ws.trust.RequestedSecurityTokenType;
+
+/**
+ * <p>
+ * Default implementation of the {@code WSTrustRequestHandler} interface. It creates the request context containing the
+ * original WS-Trust request as well as any information that may be relevant to the token processing, and delegates the
+ * actual token handling processing to the appropriate {@code SecurityTokenProvider}.
+ * </p>
+ *
+ * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
+ */
+public class StandardRequestHandler implements WSTrustRequestHandler
+{
+
+ private STSConfiguration configuration;
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#initialize(org.jboss.identity.federation.api.wstrust.STSConfiguration)
+ */
+ public void initialize(STSConfiguration configuration)
+ {
+ this.configuration = configuration;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#issue(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
+ * javax.xml.ws.handler.MessageContext)
+ */
+ public RequestSecurityTokenResponse issue(RequestSecurityToken request, MessageContext context)
+ throws WSTrustException
+ {
+ SecurityTokenProvider provider = null;
+
+ // first try to obtain the security token provider using the applies-to contents.
+ AppliesTo appliesTo = request.getAppliesTo();
+ if(appliesTo != null)
+ {
+ String serviceName = WSTrustUtil.parseAppliesTo(appliesTo);
+ if(serviceName != null)
+ provider = this.configuration.getProviderForService(serviceName);
+ }
+ // if applies-to is not available or if no provider was found for the service, use the token type.
+ if(provider == null && request.getTokenType() != null)
+ {
+ provider = this.configuration.getProviderForTokenType(request.getTokenType().toString());
+ }
+ else if(appliesTo == null && request.getTokenType() == null)
+ throw new WSTrustException("Either AppliesTo or TokenType must be present in a security token request");
+
+ if(provider != null)
+ {
+ // create the request context and delegate token generation to the provider.
+ WSTrustRequestContext requestContext = new WSTrustRequestContext(request);
+ if(request.getLifetime() == null && this.configuration.getIssuedTokenTimeout() != 0)
+ {
+ // if no lifetime has been specified, use the configured timeout value.
+ LifetimeType lifetime = WSTrustUtil.createDefaultLifetime(this.configuration.getIssuedTokenTimeout());
+ request.setLifetime(lifetime);
+ }
+ provider.issueToken(requestContext);
+
+ // construct the ws-trust security token response.
+ RequestedSecurityTokenType requestedSecurityToken = new RequestedSecurityTokenType();
+ requestedSecurityToken.setAny(requestContext.getSecurityToken());
+
+ // TODO: create proof token and encrypt the token if needed
+
+ RequestSecurityTokenResponse response = new RequestSecurityTokenResponse();
+ if(request.getContext() != null)
+ response.setContext(request.getContext());
+
+ response.setTokenType(request.getTokenType());
+ response.setLifetime(request.getLifetime());
+ response.setAppliesTo(appliesTo);
+ response.setRequestedSecurityToken(requestedSecurityToken);
+ return response;
+ }
+ else
+ throw new WSTrustException("Unable to find a token provider for the token request");
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#renew(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
+ * javax.xml.ws.handler.MessageContext)
+ */
+ public RequestSecurityTokenResponse renew(RequestSecurityToken request, MessageContext context)
+ throws WSTrustException
+ {
+ // TODO: implement renew logic.
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#validate(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
+ * javax.xml.ws.handler.MessageContext)
+ */
+ public RequestSecurityTokenResponse validate(RequestSecurityToken request, MessageContext context)
+ throws WSTrustException
+ {
+ // TODO: implement validate logic.
+ throw new UnsupportedOperationException();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler#cancel(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityToken,
+ * javax.xml.ws.handler.MessageContext)
+ */
+ public RequestSecurityTokenResponse cancel(RequestSecurityToken request, MessageContext context)
+ throws WSTrustException
+ {
+ // TODO: implement cancel logic.
+ throw new UnsupportedOperationException();
+ }
+
+}
Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java (rev 0)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/StandardSTSConfiguration.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,190 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.identity.federation.api.wstrust;
+
+import java.security.PrivilegedActionException;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jboss.identity.federation.ws.trust.config.JBossSTSConfig;
+import org.jboss.identity.federation.ws.trust.config.ServiceProvider;
+import org.jboss.identity.federation.ws.trust.config.ServiceProviders;
+import org.jboss.identity.federation.ws.trust.config.TokenProvider;
+import org.jboss.identity.federation.ws.trust.config.TokenProviders;
+
+/**
+ * <p>
+ * </p>
+ *
+ * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
+ */
+public class StandardSTSConfiguration implements STSConfiguration
+{
+
+ // the delegate contains all the information extracted from the jboss-sts.xml configuration file.
+ private final JBossSTSConfig delegate;
+
+ private final Map<String, SecurityTokenProvider> tokenProviders = new HashMap<String, SecurityTokenProvider>();
+
+ private final Map<String, ServiceProvider> spMetadata = new HashMap<String, ServiceProvider>();
+
+ private final Map<String, Object> options = new HashMap<String, Object>();
+
+ /**
+ *
+ */
+ public StandardSTSConfiguration()
+ {
+ this.delegate = new JBossSTSConfig();
+ // set the default values in the delegate.
+ this.delegate.setSTSName("JBossSTS");
+ this.delegate.setEncryptToken(false);
+ this.delegate.setTokenTimeout(3600);
+ this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
+ }
+
+ /**
+ *
+ * @param config
+ */
+ public StandardSTSConfiguration(JBossSTSConfig config)
+ {
+ this.delegate = config;
+ // set the default request handler if one hasn't been specified.
+ if(this.delegate.getRequestHandler() == null)
+ this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
+
+ // build the token-provider and service-metadata maps.
+ TokenProviders providers = this.delegate.getTokenProviders();
+ if (providers != null)
+ {
+ for (TokenProvider provider : providers.getTokenProvider())
+ {
+ try
+ {
+ SecurityTokenProvider tokenProvider = (SecurityTokenProvider) SecurityActions.instantiateClass(provider
+ .getProviderClass());
+ this.tokenProviders.put(provider.getTokenType(), tokenProvider);
+ }
+ catch (PrivilegedActionException pae)
+ {
+ throw new RuntimeException("Unable to instantiate token provider " + provider.getProviderClass(), pae);
+ }
+ }
+ }
+ ServiceProviders serviceProviders = this.delegate.getServiceProviders();
+ if(serviceProviders != null)
+ {
+ for (ServiceProvider provider : serviceProviders.getServiceProvider())
+ this.spMetadata.put(provider.getEndpoint(), provider);
+ }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getSTSName()
+ */
+ public String getSTSName()
+ {
+ return this.delegate.getSTSName();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getEncryptIssuedToken()
+ */
+ public boolean getEncryptIssuedToken()
+ {
+ return this.delegate.isEncryptToken();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getIssuedTokenTimeout()
+ */
+ public long getIssuedTokenTimeout()
+ {
+ return this.delegate.getTokenTimeout();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getRequestHandlerClass()
+ */
+ public String getRequestHandlerClass()
+ {
+ return this.delegate.getRequestHandler();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getOptions()
+ */
+ public Map<String, Object> getOptions()
+ {
+ return this.options;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getProviderForService(java.lang.String)
+ */
+ public SecurityTokenProvider getProviderForService(String serviceName)
+ {
+ ServiceProvider provider = this.spMetadata.get(serviceName);
+ if (provider != null)
+ {
+ return this.tokenProviders.get(provider.getTokenType());
+ }
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getProviderForTokenType(java.lang.String)
+ */
+ public SecurityTokenProvider getProviderForTokenType(String tokenType)
+ {
+ return this.tokenProviders.get(tokenType);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.identity.federation.api.wstrust.STSConfiguration#getTokenTypeForService(java.lang.String)
+ */
+ public String getTokenTypeForService(String serviceName)
+ {
+ ServiceProvider provider = this.spMetadata.get(serviceName);
+ if (provider != null)
+ return provider.getTokenType();
+ return null;
+ }
+
+}
Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustJAXBFactory.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -21,6 +21,9 @@
*/
package org.jboss.identity.federation.api.wstrust;
+import java.io.InputStream;
+import java.net.URL;
+
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
@@ -40,6 +43,7 @@
import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponseCollectionType;
import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponseType;
import org.jboss.identity.federation.ws.trust.RequestSecurityTokenType;
+import org.jboss.identity.federation.ws.trust.config.JBossSTSConfig;
/**
* <p>
@@ -107,14 +111,25 @@
try
{
Unmarshaller unmarshaller = this.context.createUnmarshaller();
- JAXBElement<?> element = (JAXBElement<?>) unmarshaller.unmarshal(request);
- // is this a single token request or a collection of token requests
- if (element.getDeclaredType().equals(RequestSecurityTokenType.class))
- return new RequestSecurityToken((RequestSecurityTokenType) element.getValue());
- else if (element.getDeclaredType().equals(RequestSecurityTokenCollectionType.class))
- return new RequestSecurityTokenCollection((RequestSecurityTokenCollectionType) element.getValue());
+ Object object = unmarshaller.unmarshal(request);
+ // check the type of the unmarshalled object.
+ if (object instanceof RequestSecurityTokenType)
+ return new RequestSecurityToken((RequestSecurityTokenType) object);
+ else if (object instanceof RequestSecurityTokenCollectionType)
+ return new RequestSecurityTokenCollection((RequestSecurityTokenCollectionType) object);
+ else if (object instanceof JAXBElement)
+ {
+ JAXBElement<?> element = (JAXBElement<?>) unmarshaller.unmarshal(request);
+ // is this a single token request or a collection of token requests
+ if (element.getDeclaredType().equals(RequestSecurityTokenType.class))
+ return new RequestSecurityToken((RequestSecurityTokenType) element.getValue());
+ else if (element.getDeclaredType().equals(RequestSecurityTokenCollectionType.class))
+ return new RequestSecurityTokenCollection((RequestSecurityTokenCollectionType) element.getValue());
+ else
+ throw new RuntimeException("Invalid request type: " + element.getDeclaredType());
+ }
else
- throw new RuntimeException("Invalid request type: " + element.getDeclaredType());
+ throw new RuntimeException("Invalid request type: " + object.getClass().getName());
}
catch (Exception e)
{
@@ -224,4 +239,28 @@
}
}
+ /**
+ *
+ * @param configurationFile
+ * @return
+ */
+ public STSConfiguration parseConfiguration(URL configurationFile)
+ {
+ if (configurationFile == null)
+ return new StandardSTSConfiguration();
+
+ try
+ {
+ InputStream stream = configurationFile.openStream();
+ JAXBContext context = JAXBContext.newInstance("org.jboss.identity.federation.ws.trust.config");
+ Unmarshaller unmarshaller = context.createUnmarshaller();
+ JBossSTSConfig jbossConfig = (JBossSTSConfig) unmarshaller.unmarshal(stream);
+ return new StandardSTSConfiguration(jbossConfig);
+ }
+ catch (Exception e)
+ {
+ throw new RuntimeException("Error parsing the configuration file", e);
+ }
+ }
+
}
Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustServiceFactory.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustServiceFactory.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/WSTrustServiceFactory.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -55,21 +55,17 @@
return factory;
}
+ /**
+ *
+ * @param configuration
+ * @return
+ */
public WSTrustRequestHandler createRequestHandler(STSConfiguration configuration)
{
- // TODO: obtain the actual WSTrustRequestHandler implementation class from the configuration.
- String handlerClassName = "org.jboss.identity.federation.api.wstrust.JBossWSTrustRequestHandler";
+ String handlerClassName = configuration.getRequestHandlerClass();
try
{
- Class<?> handlerClass = null;
- ClassLoader loader = Thread.currentThread().getContextClassLoader();
- if (loader == null)
- handlerClass = Class.forName(handlerClassName);
- else
- handlerClass = loader.loadClass(handlerClassName);
-
- // TODO: instantiate the class using a privileged block.
- WSTrustRequestHandler handler = (WSTrustRequestHandler) handlerClass.newInstance();
+ WSTrustRequestHandler handler = (WSTrustRequestHandler) SecurityActions.instantiateClass(handlerClassName);
handler.initialize(configuration);
return handler;
}
Modified: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenCollectionType.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenCollectionType.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenCollectionType.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -13,6 +13,7 @@
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@@ -44,6 +45,7 @@
@XmlType(name = "RequestSecurityTokenCollectionType", propOrder = {
"requestSecurityToken"
})
+@XmlRootElement
public class RequestSecurityTokenCollectionType {
@XmlElement(name = "RequestSecurityToken", required = true)
Modified: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseCollectionType.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseCollectionType.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseCollectionType.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -16,6 +16,7 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
@@ -48,6 +49,7 @@
@XmlType(name = "RequestSecurityTokenResponseCollectionType", propOrder = {
"requestSecurityTokenResponse"
})
+@XmlRootElement
public class RequestSecurityTokenResponseCollectionType {
@XmlElement(name = "RequestSecurityTokenResponse", required = true)
Modified: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseType.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseType.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenResponseType.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -17,6 +17,7 @@
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
@@ -85,6 +86,7 @@
@XmlType(name = "RequestSecurityTokenResponseType", propOrder = {
"any"
})
+@XmlRootElement
public class RequestSecurityTokenResponseType {
@XmlAnyElement(lax = true)
Modified: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenType.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenType.java 2009-03-26 21:30:27 UTC (rev 404)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/RequestSecurityTokenType.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -12,14 +12,17 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
+
import org.w3c.dom.Element;
@@ -80,6 +83,7 @@
@XmlType(name = "RequestSecurityTokenType", propOrder = {
"any"
})
+@XmlRootElement
public class RequestSecurityTokenType {
@XmlAnyElement(lax = true)
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/JBossSTSConfig.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/JBossSTSConfig.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/JBossSTSConfig.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,295 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}STSName" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}TokenTimeout" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}EncryptToken" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}SecurityDomain" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}Keystore" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}Truststore" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}RequestHandler" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}TokenProviders" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}ServiceProviders" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "stsName",
+ "tokenTimeout",
+ "encryptToken",
+ "securityDomain",
+ "keystore",
+ "truststore",
+ "requestHandler",
+ "tokenProviders",
+ "serviceProviders"
+})
+@XmlRootElement(name = "JBossSTSConfig")
+public class JBossSTSConfig {
+
+ @XmlElement(name = "STSName", defaultValue = "JBossSTS")
+ protected String stsName;
+ @XmlElement(name = "TokenTimeout", defaultValue = "3600")
+ protected Integer tokenTimeout;
+ @XmlElement(name = "EncryptToken", defaultValue = "false")
+ protected Boolean encryptToken;
+ @XmlElement(name = "SecurityDomain")
+ protected String securityDomain;
+ @XmlElement(name = "Keystore")
+ protected Keystore keystore;
+ @XmlElement(name = "Truststore")
+ protected Truststore truststore;
+ @XmlElement(name = "RequestHandler")
+ protected String requestHandler;
+ @XmlElement(name = "TokenProviders")
+ protected TokenProviders tokenProviders;
+ @XmlElement(name = "ServiceProviders")
+ protected ServiceProviders serviceProviders;
+
+ /**
+ * Gets the value of the stsName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSTSName() {
+ return stsName;
+ }
+
+ /**
+ * Sets the value of the stsName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSTSName(String value) {
+ this.stsName = value;
+ }
+
+ /**
+ * Gets the value of the tokenTimeout property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getTokenTimeout() {
+ return tokenTimeout;
+ }
+
+ /**
+ * Sets the value of the tokenTimeout property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setTokenTimeout(Integer value) {
+ this.tokenTimeout = value;
+ }
+
+ /**
+ * Gets the value of the encryptToken property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isEncryptToken() {
+ return encryptToken;
+ }
+
+ /**
+ * Sets the value of the encryptToken property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEncryptToken(Boolean value) {
+ this.encryptToken = value;
+ }
+
+ /**
+ * Gets the value of the securityDomain property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSecurityDomain() {
+ return securityDomain;
+ }
+
+ /**
+ * Sets the value of the securityDomain property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSecurityDomain(String value) {
+ this.securityDomain = value;
+ }
+
+ /**
+ * Gets the value of the keystore property.
+ *
+ * @return
+ * possible object is
+ * {@link Keystore }
+ *
+ */
+ public Keystore getKeystore() {
+ return keystore;
+ }
+
+ /**
+ * Sets the value of the keystore property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Keystore }
+ *
+ */
+ public void setKeystore(Keystore value) {
+ this.keystore = value;
+ }
+
+ /**
+ * Gets the value of the truststore property.
+ *
+ * @return
+ * possible object is
+ * {@link Truststore }
+ *
+ */
+ public Truststore getTruststore() {
+ return truststore;
+ }
+
+ /**
+ * Sets the value of the truststore property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Truststore }
+ *
+ */
+ public void setTruststore(Truststore value) {
+ this.truststore = value;
+ }
+
+ /**
+ * Gets the value of the requestHandler property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRequestHandler() {
+ return requestHandler;
+ }
+
+ /**
+ * Sets the value of the requestHandler property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRequestHandler(String value) {
+ this.requestHandler = value;
+ }
+
+ /**
+ * Gets the value of the tokenProviders property.
+ *
+ * @return
+ * possible object is
+ * {@link TokenProviders }
+ *
+ */
+ public TokenProviders getTokenProviders() {
+ return tokenProviders;
+ }
+
+ /**
+ * Sets the value of the tokenProviders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TokenProviders }
+ *
+ */
+ public void setTokenProviders(TokenProviders value) {
+ this.tokenProviders = value;
+ }
+
+ /**
+ * Gets the value of the serviceProviders property.
+ *
+ * @return
+ * possible object is
+ * {@link ServiceProviders }
+ *
+ */
+ public ServiceProviders getServiceProviders() {
+ return serviceProviders;
+ }
+
+ /**
+ * Sets the value of the serviceProviders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ServiceProviders }
+ *
+ */
+ public void setServiceProviders(ServiceProviders value) {
+ this.serviceProviders = value;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Keystore.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Keystore.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Keystore.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,126 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The Keystore type contains information about the keystore that holds the STS PKC and associated
+ * private key. These are used to sign tokens, like SAML assertions.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="password" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="alias" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "Keystore")
+public class Keystore {
+
+ @XmlAttribute(required = true)
+ protected String location;
+ @XmlAttribute(required = true)
+ protected String password;
+ @XmlAttribute
+ protected String alias;
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+ /**
+ * Gets the value of the alias property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAlias() {
+ return alias;
+ }
+
+ /**
+ * Sets the value of the alias property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAlias(String value) {
+ this.alias = value;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ObjectFactory.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ObjectFactory.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ObjectFactory.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,178 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.federation.jboss_sts package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _TokenTimeout_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "TokenTimeout");
+ private final static QName _STSName_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "STSName");
+ private final static QName _RequestHandler_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "RequestHandler");
+ private final static QName _EncryptToken_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "EncryptToken");
+ private final static QName _SecurityDomain_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "SecurityDomain");
+ private final static QName _ProviderClass_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "ProviderClass");
+ private final static QName _TruststoreAlias_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "TruststoreAlias");
+ private final static QName _TokenType_QNAME = new QName("http://www.jboss.org/federation/jboss-sts", "TokenType");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.federation.jboss_sts
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Keystore }
+ *
+ */
+ public Keystore createKeystore() {
+ return new Keystore();
+ }
+
+ /**
+ * Create an instance of {@link ServiceProviders }
+ *
+ */
+ public ServiceProviders createServiceProviders() {
+ return new ServiceProviders();
+ }
+
+ /**
+ * Create an instance of {@link TokenProvider }
+ *
+ */
+ public TokenProvider createTokenProvider() {
+ return new TokenProvider();
+ }
+
+ /**
+ * Create an instance of {@link JBossSTSConfig }
+ *
+ */
+ public JBossSTSConfig createJBossSTSConfig() {
+ return new JBossSTSConfig();
+ }
+
+ /**
+ * Create an instance of {@link Truststore }
+ *
+ */
+ public Truststore createTruststore() {
+ return new Truststore();
+ }
+
+ /**
+ * Create an instance of {@link TokenProviders }
+ *
+ */
+ public TokenProviders createTokenProviders() {
+ return new TokenProviders();
+ }
+
+ /**
+ * Create an instance of {@link ServiceProvider }
+ *
+ */
+ public ServiceProvider createServiceProvider() {
+ return new ServiceProvider();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "TokenTimeout", defaultValue = "3600")
+ public JAXBElement<Integer> createTokenTimeout(Integer value) {
+ return new JAXBElement<Integer>(_TokenTimeout_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "STSName", defaultValue = "JBossSTS")
+ public JAXBElement<String> createSTSName(String value) {
+ return new JAXBElement<String>(_STSName_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "RequestHandler")
+ public JAXBElement<String> createRequestHandler(String value) {
+ return new JAXBElement<String>(_RequestHandler_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "EncryptToken", defaultValue = "false")
+ public JAXBElement<Boolean> createEncryptToken(Boolean value) {
+ return new JAXBElement<Boolean>(_EncryptToken_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "SecurityDomain")
+ public JAXBElement<String> createSecurityDomain(String value) {
+ return new JAXBElement<String>(_SecurityDomain_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "ProviderClass")
+ public JAXBElement<String> createProviderClass(String value) {
+ return new JAXBElement<String>(_ProviderClass_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "TruststoreAlias")
+ public JAXBElement<String> createTruststoreAlias(String value) {
+ return new JAXBElement<String>(_TruststoreAlias_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/federation/jboss-sts", name = "TokenType")
+ public JAXBElement<String> createTokenType(String value) {
+ return new JAXBElement<String>(_TokenType_QNAME, String.class, null, value);
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProvider.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProvider.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProvider.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,134 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The service provider type contains information about a specific service provider. In particular,
+ * it specifies the type of the token that must be issued for the provider and the alias of the
+ * provider's PKC in the truststore. This is used by the STS to locate the PKC when encrypting the
+ * generated token.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}TruststoreAlias" minOccurs="0"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}TokenType"/>
+ * </sequence>
+ * <attribute name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "truststoreAlias",
+ "tokenType"
+})
+@XmlRootElement(name = "ServiceProvider")
+public class ServiceProvider {
+
+ @XmlElement(name = "TruststoreAlias")
+ protected String truststoreAlias;
+ @XmlElement(name = "TokenType", required = true)
+ protected String tokenType;
+ @XmlAttribute
+ protected String endpoint;
+
+ /**
+ * Gets the value of the truststoreAlias property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTruststoreAlias() {
+ return truststoreAlias;
+ }
+
+ /**
+ * Sets the value of the truststoreAlias property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTruststoreAlias(String value) {
+ this.truststoreAlias = value;
+ }
+
+ /**
+ * Gets the value of the tokenType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenType() {
+ return tokenType;
+ }
+
+ /**
+ * Sets the value of the tokenType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenType(String value) {
+ this.tokenType = value;
+ }
+
+ /**
+ * Gets the value of the endpoint property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEndpoint() {
+ return endpoint;
+ }
+
+ /**
+ * Sets the value of the endpoint property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEndpoint(String value) {
+ this.endpoint = value;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProviders.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProviders.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/ServiceProviders.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,82 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The service providers specify the token type expected by each service provider.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}ServiceProvider" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "serviceProvider"
+})
+@XmlRootElement(name = "ServiceProviders")
+public class ServiceProviders {
+
+ @XmlElement(name = "ServiceProvider", required = true)
+ protected List<ServiceProvider> serviceProvider;
+
+ /**
+ * Gets the value of the serviceProvider property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the serviceProvider property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServiceProvider().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceProvider }
+ *
+ *
+ */
+ public List<ServiceProvider> getServiceProvider() {
+ if (serviceProvider == null) {
+ serviceProvider = new ArrayList<ServiceProvider>();
+ }
+ return this.serviceProvider;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProvider.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProvider.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProvider.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,99 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}ProviderClass"/>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}TokenType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "providerClass",
+ "tokenType"
+})
+@XmlRootElement(name = "TokenProvider")
+public class TokenProvider {
+
+ @XmlElement(name = "ProviderClass", required = true)
+ protected String providerClass;
+ @XmlElement(name = "TokenType", required = true)
+ protected String tokenType;
+
+ /**
+ * Gets the value of the providerClass property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProviderClass() {
+ return providerClass;
+ }
+
+ /**
+ * Sets the value of the providerClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProviderClass(String value) {
+ this.providerClass = value;
+ }
+
+ /**
+ * Gets the value of the tokenType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTokenType() {
+ return tokenType;
+ }
+
+ /**
+ * Sets the value of the tokenType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTokenType(String value) {
+ this.tokenType = value;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProviders.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProviders.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/TokenProviders.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The token providers specify the classes that handle the requests for each type of security Token.
+ * For example, a SAMLTokenProvider may be used to generate SAML token, while a X509TokenProvider
+ * may be used to generate X.509 tokens (certificates).
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.jboss.org/federation/jboss-sts}TokenProvider" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "tokenProvider"
+})
+@XmlRootElement(name = "TokenProviders")
+public class TokenProviders {
+
+ @XmlElement(name = "TokenProvider", required = true)
+ protected List<TokenProvider> tokenProvider;
+
+ /**
+ * Gets the value of the tokenProvider property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the tokenProvider property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTokenProvider().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TokenProvider }
+ *
+ *
+ */
+ public List<TokenProvider> getTokenProvider() {
+ if (tokenProvider == null) {
+ tokenProvider = new ArrayList<TokenProvider>();
+ }
+ return this.tokenProvider;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Truststore.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Truststore.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/Truststore.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,100 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+
+package org.jboss.identity.federation.ws.trust.config;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * The Truststore type contains information about the truststore that holds the service providers
+ * PKCs (public key certificates). When tokens need to be encrypted, the service provider's PKC
+ * is used to perform the encryption.
+ *
+ *
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="password" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "Truststore")
+public class Truststore {
+
+ @XmlAttribute(required = true)
+ protected String location;
+ @XmlAttribute(required = true)
+ protected String password;
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+}
Added: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/package-info.java
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/package-info.java (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/config/package-info.java 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.03.26 at 04:57:03 PM GMT-03:00
+//
+
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://www.jboss.org/federation/jboss-sts", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.identity.federation.ws.trust.config;
Added: identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd
===================================================================
--- identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd (rev 0)
+++ identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/jboss-sts.xsd 2009-03-27 13:12:48 UTC (rev 405)
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:sts="http://www.jboss.org/federation/jboss-sts"
+ targetNamespace="http://www.jboss.org/federation/jboss-sts"
+ elementFormDefault="qualified">
+
+ <xsd:element name="JBossSTSConfig">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="sts:STSName" minOccurs="0"/>
+ <xsd:element ref="sts:TokenTimeout" minOccurs="0"/>
+ <xsd:element ref="sts:EncryptToken" minOccurs="0"/>
+ <xsd:element ref="sts:SecurityDomain" minOccurs="0"/>
+ <xsd:element ref="sts:Keystore" minOccurs="0"/>
+ <xsd:element ref="sts:Truststore" minOccurs="0"/>
+ <xsd:element ref="sts:RequestHandler" minOccurs="0"/>
+ <xsd:element ref="sts:TokenProviders" minOccurs="0"/>
+ <xsd:element ref="sts:ServiceProviders" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="STSName" default="JBossSTS" type="xsd:string"/>
+
+ <xsd:element name="TokenTimeout" default="3600" type="xsd:int"/>
+
+ <xsd:element name="EncryptToken" default="false" type="xsd:boolean"/>
+
+ <!-- a security domain can be used to locate the key and trust stores -->
+ <xsd:element name="SecurityDomain" type="xsd:string"/>
+
+ <xsd:element name="Keystore">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The Keystore type contains information about the keystore that holds the STS PKC and associated
+ private key. These are used to sign tokens, like SAML assertions.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="location" type="xsd:string" use="required"/>
+ <xsd:attribute name="password" type="xsd:string" use="required"/>
+ <xsd:attribute name="alias" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="Truststore">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The Truststore type contains information about the truststore that holds the service providers
+ PKCs (public key certificates). When tokens need to be encrypted, the service provider's PKC
+ is used to perform the encryption.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="location" type="xsd:string" use="required"/>
+ <xsd:attribute name="password" type="xsd:string" use="required"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="RequestHandler" type="xsd:string"/>
+
+ <xsd:element name="TokenProviders">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The token providers specify the classes that handle the requests for each type of security Token.
+ For example, a SAMLTokenProvider may be used to generate SAML token, while a X509TokenProvider
+ may be used to generate X.509 tokens (certificates).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="sts:TokenProvider" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="TokenProvider">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="sts:ProviderClass" minOccurs="1"/>
+ <xsd:element ref="sts:TokenType" minOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="ProviderClass" type="xsd:string"/>
+
+ <xsd:element name="TokenType" type="xsd:string"/>
+
+ <xsd:element name="ServiceProviders">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The service providers specify the token type expected by each service provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="sts:ServiceProvider" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="ServiceProvider">
+ <xsd:complexType>
+ <xsd:annotation>
+ <xsd:documentation>
+ The service provider type contains information about a specific service provider. In particular,
+ it specifies the type of the token that must be issued for the provider and the alias of the
+ provider's PKC in the truststore. This is used by the STS to locate the PKC when encrypting the
+ generated token.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="sts:TruststoreAlias" minOccurs="0"/>
+ <xsd:element ref="sts:TokenType" minOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="endpoint" type="xsd:string"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="TruststoreAlias" type="xsd:string"/>
+</xsd:schema>
\ No newline at end of file
15 years, 9 months
JBoss Identity SVN: r404 - in identity-federation/trunk: assembly and 236 other directories.
by jboss-identity-commits@lists.jboss.org
Author: sguilhen(a)redhat.com
Date: 2009-03-26 17:30:27 -0400 (Thu, 26 Mar 2009)
New Revision: 404
Removed:
identity-federation/trunk/identity-bindings-jboss/.classpath
identity-federation/trunk/identity-bindings-jboss/.project
identity-federation/trunk/identity-bindings/.classpath
identity-federation/trunk/identity-bindings/.project
identity-federation/trunk/identity-fed-api/.classpath
identity-federation/trunk/identity-fed-api/.project
identity-federation/trunk/identity-fed-core/.classpath
identity-federation/trunk/identity-fed-core/.project
identity-federation/trunk/identity-fed-model/.classpath
identity-federation/trunk/identity-fed-model/.project
identity-federation/trunk/identity-xmlsecmodel/.classpath
identity-federation/trunk/identity-xmlsecmodel/.project
Modified:
identity-federation/trunk/
identity-federation/trunk/assembly/
identity-federation/trunk/identity-bindings-jboss/
identity-federation/trunk/identity-bindings-jboss/src/
identity-federation/trunk/identity-bindings-jboss/src/main/
identity-federation/trunk/identity-bindings-jboss/src/main/java/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/auth/
identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/reg/
identity-federation/trunk/identity-bindings-jboss/src/main/resources/
identity-federation/trunk/identity-bindings-jboss/src/test/
identity-federation/trunk/identity-bindings-jboss/src/test/java/
identity-federation/trunk/identity-bindings-jboss/src/test/resources/
identity-federation/trunk/identity-bindings/
identity-federation/trunk/identity-bindings/src/
identity-federation/trunk/identity-bindings/src/main/
identity-federation/trunk/identity-bindings/src/main/java/
identity-federation/trunk/identity-bindings/src/main/java/org/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/interfaces/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/subject/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/holder/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util/
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util/cert/
identity-federation/trunk/identity-bindings/src/main/resources/
identity-federation/trunk/identity-bindings/src/main/resources/schema/
identity-federation/trunk/identity-bindings/src/main/resources/schema/config/
identity-federation/trunk/identity-bindings/src/test/
identity-federation/trunk/identity-bindings/src/test/java/
identity-federation/trunk/identity-bindings/src/test/java/org/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/config/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/util/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/bindings/
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/helpers/
identity-federation/trunk/identity-bindings/src/test/resources/
identity-federation/trunk/identity-bindings/src/test/resources/config/
identity-federation/trunk/identity-bindings/src/test/resources/keystore/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies/config/
identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests/
identity-federation/trunk/identity-fed-api/
identity-federation/trunk/identity-fed-api/src/
identity-federation/trunk/identity-fed-api/src/main/
identity-federation/trunk/identity-fed-api/src/main/java/
identity-federation/trunk/identity-fed-api/src/main/java/org/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/common/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/request/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/response/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/protocol/
identity-federation/trunk/identity-fed-api/src/main/resources/
identity-federation/trunk/identity-fed-api/src/test/
identity-federation/trunk/identity-fed-api/src/test/java/
identity-federation/trunk/identity-fed-api/src/test/java/org/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml/v2/
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util/
identity-federation/trunk/identity-fed-api/src/test/resources/
identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/
identity-federation/trunk/identity-fed-api/src/test/resources/saml/
identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2/
identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2/authnrequest/
identity-federation/trunk/identity-fed-api/src/test/resources/xml/
identity-federation/trunk/identity-fed-api/src/test/resources/xml/dom/
identity-federation/trunk/identity-fed-core/
identity-federation/trunk/identity-fed-core/src/
identity-federation/trunk/identity-fed-core/src/main/
identity-federation/trunk/identity-fed-core/src/main/java/
identity-federation/trunk/identity-fed-core/src/main/java/org/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/constants/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/constants/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/exceptions/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/factories/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/holders/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc/
identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc/factories/
identity-federation/trunk/identity-fed-core/src/main/resources/
identity-federation/trunk/identity-fed-core/src/test/
identity-federation/trunk/identity-fed-core/src/test/java/
identity-federation/trunk/identity-fed-core/src/test/java/org/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/
identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util/
identity-federation/trunk/identity-fed-core/src/test/resources/
identity-federation/trunk/identity-fed-core/src/test/resources/saml-xacml/
identity-federation/trunk/identity-fed-model/
identity-federation/trunk/identity-fed-model/src/
identity-federation/trunk/identity-fed-model/src/main/
identity-federation/trunk/identity-fed-model/src/main/java/
identity-federation/trunk/identity-fed-model/src/main/java/org/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap/envelope/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/authenticatedtelephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocol/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocolpassword/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/kerberos/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorcontract/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorunregistered/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorcontract/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorunregistered/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/nomadtelephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/password/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/passwordprotectedtransport/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/personalizedtelephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/pgp/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/previoussession/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/secureremotepassword/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcard/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcardpki/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/softwarepki/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/spki/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/telephony/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/timesynctoken/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/tlsclient/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/x509/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/xmldsig/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/assertion/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated/runtime/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/metadata/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute/dce/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso/ecp/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/assertion/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/protocol/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/protocol/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/addressing/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/policy/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/secext/
identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/utility/
identity-federation/trunk/identity-fed-model/src/main/resources/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml/v2/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/
identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3/
identity-federation/trunk/identity-fed-model/src/test/
identity-federation/trunk/identity-fed-model/src/test/java/
identity-federation/trunk/identity-fed-model/src/test/java/org/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws/
identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws/trust/
identity-federation/trunk/identity-fed-model/src/test/resources/
identity-federation/trunk/identity-fed-model/src/test/resources/endorsed/
identity-federation/trunk/identity-fed-model/src/test/resources/saml/
identity-federation/trunk/identity-fed-model/src/test/resources/saml/v2/
identity-federation/trunk/identity-fed-model/src/test/resources/wstrust/
identity-federation/trunk/identity-samples/
identity-federation/trunk/identity-samples/employee/
identity-federation/trunk/identity-samples/employee/resources/
identity-federation/trunk/identity-samples/employee/resources/META-INF/
identity-federation/trunk/identity-samples/employee/resources/WEB-INF/
identity-federation/trunk/identity-samples/sales/
identity-federation/trunk/identity-samples/sales/resources/
identity-federation/trunk/identity-samples/sales/resources/META-INF/
identity-federation/trunk/identity-samples/sales/resources/WEB-INF/
identity-federation/trunk/identity-xmlsecmodel/
identity-federation/trunk/identity-xmlsecmodel/src/
identity-federation/trunk/identity-xmlsecmodel/src/main/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmldsig/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmlenc/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmldsig/
identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmlenc/
identity-federation/trunk/parent/
Log:
Removed eclipse specific files and added those files to svn ignore
Property changes on: identity-federation/trunk
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/assembly
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Deleted: identity-federation/trunk/identity-bindings/.classpath
===================================================================
--- identity-federation/trunk/identity-bindings/.classpath 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-bindings/.classpath 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,32 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/annotations-api/6.0.18/annotations-api-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/catalina/6.0.18/catalina-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-modeler/commons-modeler/1.1patch/commons-modeler-1.1patch.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/coyote/6.0.18/coyote-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR1/jbossxacml-2.0.3.CR1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/juli/6.0.18/juli-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-tomcat/naming-resources/5.5.12/naming-resources-5.5.12.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/servlet-api/6.0.18/servlet-api-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-tomcat/tomcat-http/5.5.12/tomcat-http-5.5.12.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-tomcat/tomcat-util/5.5.12/tomcat-util-5.5.12.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.1/xmlsec-1.4.1.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-api"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-core"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.jar"/>
- <classpathentry kind="output" path="target-eclipse/classes"/>
-</classpath>
Deleted: identity-federation/trunk/identity-bindings/.project
===================================================================
--- identity-federation/trunk/identity-bindings/.project 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-bindings/.project 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,18 +0,0 @@
-<projectDescription>
- <name>jboss-identity-bindings</name>
- <comment>JBoss Identity OpenSAML contains the foundation for Federated Identity Needs.</comment>
- <projects>
- <project>jboss-identity-fed-api</project>
- <project>jboss-identity-fed-core</project>
- <project>jboss-identity-fed-model</project>
- <project>jboss-identity-xmlsec-model</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
Property changes on: identity-federation/trunk/identity-bindings/src
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/interfaces
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/subject
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss/trust
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/servlets
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/holder
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/util/cert
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/resources/schema
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/main/resources/schema/config
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/config
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/util
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/bindings
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/tomcat/helpers
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/config
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/keystore
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml/policies/config
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Deleted: identity-federation/trunk/identity-bindings-jboss/.classpath
===================================================================
--- identity-federation/trunk/identity-bindings-jboss/.classpath 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-bindings-jboss/.classpath 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/annotations-api/6.0.18/annotations-api-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/catalina/6.0.18/catalina-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-modeler/commons-modeler/1.1patch/commons-modeler-1.1patch.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/coyote/6.0.18/coyote-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR1/jbossxacml-2.0.3.CR1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/juli/6.0.18/juli-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-tomcat/naming-resources/5.5.12/naming-resources-5.5.12.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/tomcat/servlet-api/6.0.18/servlet-api-6.0.18.jar"/>
- <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-tomcat/tomcat-http/5.5.12/tomcat-http-5.5.12.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-tomcat/tomcat-util/5.5.12/tomcat-util-5.5.12.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.1/xmlsec-1.4.1.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-api"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-core"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-bindings"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbosssx/2.0.2.SP6/jbosssx-2.0.2.SP6.jar"/>
- <classpathentry kind="output" path="target-eclipse/classes"/>
-</classpath>
Deleted: identity-federation/trunk/identity-bindings-jboss/.project
===================================================================
--- identity-federation/trunk/identity-bindings-jboss/.project 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-bindings-jboss/.project 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,18 +0,0 @@
-<projectDescription>
- <name>jboss-identity-bindings-jboss</name>
- <comment>JBoss Identity Bindings for JBoss.</comment>
- <projects>
- <project>jboss-identity-fed-api</project>
- <project>jboss-identity-fed-core</project>
- <project>jboss-identity-fed-model</project>
- <project>jboss-identity-xmlsec-model</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
Property changes on: identity-federation/trunk/identity-bindings-jboss/src
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/auth
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jboss/identity/federation/bindings/jboss/reg
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/main/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/test/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-bindings-jboss/src/test/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Deleted: identity-federation/trunk/identity-fed-api/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-api/.classpath 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-fed-api/.classpath 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry excluding="**/*.java|endorsed/*jar" kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR3/jbossxacml-2.0.3.CR3.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/codehaus-stax/stax/1.1.1/stax-1.1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.1/xmlsec-1.4.1.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-core"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxws/jaxws-api/2.1.1/jaxws-api-2.1.1.jar"/>
- <classpathentry kind="lib" path="src/test/resources/endorsed/resolver.jar"/>
- <classpathentry kind="lib" path="src/test/resources/endorsed/serializer.jar"/>
- <classpathentry kind="lib" path="src/test/resources/endorsed/xalan.jar"/>
- <classpathentry kind="lib" path="src/test/resources/endorsed/xercesImpl.jar"/>
- <classpathentry kind="lib" path="src/test/resources/endorsed/xml-apis.jar"/>
- <classpathentry kind="output" path="target-eclipse/classes"/>
-</classpath>
Deleted: identity-federation/trunk/identity-fed-api/.project
===================================================================
--- identity-federation/trunk/identity-fed-api/.project 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-fed-api/.project 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,17 +0,0 @@
-<projectDescription>
- <name>jboss-identity-fed-api</name>
- <comment>JBoss Identity Federation API contains the API to be used by the users of JBoss Identity Federation.</comment>
- <projects>
- <project>jboss-identity-fed-core</project>
- <project>jboss-identity-fed-model</project>
- <project>jboss-identity-xmlsec-model</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
Property changes on: identity-federation/trunk/identity-fed-api/src
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/common
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/request
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/response
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust/protocol
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/main/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/endorsed
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/saml/v2/authnrequest
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/xml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-api/src/test/resources/xml/dom
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Deleted: identity-federation/trunk/identity-fed-core/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-core/.classpath 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-fed-core/.classpath 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR1/jbossxacml-2.0.3.CR1.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/codehaus-stax/stax/1.1.1/stax-1.1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.1/xmlsec-1.4.1.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-fed-model"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
- <classpathentry kind="output" path="target-eclipse/classes"/>
-</classpath>
Deleted: identity-federation/trunk/identity-fed-core/.project
===================================================================
--- identity-federation/trunk/identity-fed-core/.project 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-fed-core/.project 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,16 +0,0 @@
-<projectDescription>
- <name>jboss-identity-fed-core</name>
- <comment>JBoss Identity Federation Core contains the core infrastructure code</comment>
- <projects>
- <project>jboss-identity-fed-model</project>
- <project>jboss-identity-xmlsec-model</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
Property changes on: identity-federation/trunk/identity-fed-core/src
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/constants
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/constants
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/exceptions
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/factories
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/holders
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/saml/v2/util
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/identity/federation/core/xmlenc/factories
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/main/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-core/src/test/resources/saml-xacml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Deleted: identity-federation/trunk/identity-fed-model/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-model/.classpath 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-fed-model/.classpath 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR1/jbossxacml-2.0.3.CR1.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-xalan/serializer/2.7.0.patch01-brew/serializer-2.7.0.patch01-brew.jar"/>
- <classpathentry kind="var" path="M2_REPO/codehaus-stax/stax/1.1.1/stax-1.1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.1/xmlsec-1.4.1.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/identity-xmlsecmodel"/>
- <classpathentry kind="output" path="target-eclipse/classes"/>
-</classpath>
Deleted: identity-federation/trunk/identity-fed-model/.project
===================================================================
--- identity-federation/trunk/identity-fed-model/.project 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-fed-model/.project 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,15 +0,0 @@
-<projectDescription>
- <name>jboss-identity-fed-model</name>
- <comment>JBoss Identity Federation Model contains the JAXB2 model.</comment>
- <projects>
- <project>jboss-identity-xmlsec-model</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
Property changes on: identity-federation/trunk/identity-fed-model/src
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/org/xmlsoap/schemas/soap/envelope
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/authenticatedtelephony
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocol
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocolpassword
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/kerberos
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorcontract
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorunregistered
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorcontract
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorunregistered
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/nomadtelephony
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/password
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/passwordprotectedtransport
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/personalizedtelephony
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/pgp
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/previoussession
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/secureremotepassword
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcard
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/smartcardpki
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/softwarepki
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/spki
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/telephony
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/timesynctoken
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/tlsclient
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/x509
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/ac/classes/xmldsig
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/assertion
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/generated/runtime
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/metadata
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/attribute/dce
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/sso/ecp
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/assertion
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/profiles/xacml/protocol
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/saml/v2/protocol
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/addressing
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/policy
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/trust
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/secext
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/identity/federation/ws/wss/utility
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/main/resources/schema/wstrust/v1_3
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/test/identity/federation/ws/trust
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/endorsed
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/saml
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/saml/v2
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-fed-model/src/test/resources/wstrust
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/employee
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/employee/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/employee/resources/META-INF
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/employee/resources/WEB-INF
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/sales
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/sales/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/sales/resources/META-INF
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-samples/sales/resources/WEB-INF
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Deleted: identity-federation/trunk/identity-xmlsecmodel/.classpath
===================================================================
--- identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaf/activation/1.1/activation-1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/codehaus-stax/stax/1.1.1/stax-1.1.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.2/xmlsec-1.4.2.jar"/>
- <classpathentry kind="output" path="target-eclipse/classes"/>
-</classpath>
Deleted: identity-federation/trunk/identity-xmlsecmodel/.project
===================================================================
--- identity-federation/trunk/identity-xmlsecmodel/.project 2009-03-26 15:56:22 UTC (rev 403)
+++ identity-federation/trunk/identity-xmlsecmodel/.project 2009-03-26 21:30:27 UTC (rev 404)
@@ -1,13 +0,0 @@
-<projectDescription>
- <name>jboss-identity-xmlsec-model</name>
- <comment>JBoss Identity Federation XML Security Model contains the JAXB2 model for W3C XML Signature and XML Encryption specifications.</comment>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util
___________________________________________________________________
Name: svn:ignore
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmldsig
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/w3/xmlenc
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmldsig
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main/resources/schema/w3c/xmlenc
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
Property changes on: identity-federation/trunk/parent
___________________________________________________________________
Name: svn:ignore
- target
target-eclipse
.metadata
.settings
+ .metadata
.settings
.project
.classpath
target
target-eclipse
15 years, 9 months
JBoss Identity SVN: r403 - in identity-federation/trunk: identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp and 5 other directories.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-26 11:56:22 -0400 (Thu, 26 Mar 2009)
New Revision: 403
Added:
identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests/himss-soap-request.xml
Modified:
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java
identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.java
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java
identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java
identity-federation/trunk/identity-fed-api/.classpath
identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util/XMLEncryptionUnitTestCase.java
identity-federation/trunk/identity-xmlsecmodel/.classpath
identity-federation/trunk/identity-xmlsecmodel/pom.xml
Log:
updates
Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java 2009-03-26 15:56:22 UTC (rev 403)
@@ -34,8 +34,7 @@
import org.apache.catalina.LifecycleException;
import org.apache.catalina.connector.Request;
import org.apache.log4j.Logger;
-import org.jboss.identity.federation.api.saml.v2.response.SAML2Response;
-import org.jboss.identity.federation.api.util.XMLEncryptionUtil;
+import org.jboss.identity.federation.api.saml.v2.response.SAML2Response;
import org.jboss.identity.federation.bindings.config.EncryptionType;
import org.jboss.identity.federation.bindings.config.KeyProviderType;
import org.jboss.identity.federation.bindings.interfaces.TrustKeyManager;
@@ -45,6 +44,7 @@
import org.jboss.identity.federation.core.saml.v2.util.SignatureUtil;
import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementType;
import org.jboss.identity.federation.saml.v2.protocol.ResponseType;
+import org.jboss.identity.xmlsec.util.XMLEncryptionUtil;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.java 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.java 2009-03-26 15:56:22 UTC (rev 403)
@@ -27,8 +27,7 @@
import org.apache.catalina.LifecycleException;
import org.apache.catalina.connector.Request;
import org.apache.log4j.Logger;
-import org.jboss.identity.federation.api.saml.v2.response.SAML2Response;
-import org.jboss.identity.federation.api.util.XMLEncryptionUtil;
+import org.jboss.identity.federation.api.saml.v2.response.SAML2Response;
import org.jboss.identity.federation.bindings.config.KeyProviderType;
import org.jboss.identity.federation.bindings.interfaces.TrustKeyManager;
import org.jboss.identity.federation.bindings.util.RedirectBindingSignatureUtil;
@@ -36,6 +35,7 @@
import org.jboss.identity.federation.core.saml.v2.util.SignatureUtil;
import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementType;
import org.jboss.identity.federation.saml.v2.protocol.ResponseType;
+import org.jboss.identity.xmlsec.util.XMLEncryptionUtil;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java 2009-03-26 15:56:22 UTC (rev 403)
@@ -56,7 +56,7 @@
//String endpoint = "http://interop.demo.jboss.com/test/SOAPServlet";
//String endpoint = "http://localhost:8080/test/SOAPServlet";
- public void AtestUseCase1() throws Exception
+ public void testUseCase1() throws Exception
{
if(endpoint != null)
{
@@ -66,7 +66,7 @@
}
}
- public void BtestUseCase2() throws Exception
+ public void testUseCase2() throws Exception
{
if(endpoint != null)
{
@@ -90,14 +90,14 @@
}
}
- public void BtestA() throws Exception
+ public void testA() throws Exception
{
String u = "http://www.w3.org/2001/XMLSchema#string";
URI uri = new URI("http://www.w3.org/2001/XMLSchema#string");
assertEquals(uri.toString(),u);
}
- public void CtestSAMLXACML() throws Exception
+ public void testSAMLXACML() throws Exception
{
//Read the saml request from the file
ClassLoader tcl = Thread.currentThread().getContextClassLoader();
Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java 2009-03-26 15:56:22 UTC (rev 403)
@@ -43,7 +43,7 @@
public String getInitParameter(String name)
{
- return null;
+ return sc.getInitParameter(name);
}
public Enumeration getInitParameterNames()
Added: identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests/himss-soap-request.xml
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests/himss-soap-request.xml (rev 0)
+++ identity-federation/trunk/identity-bindings/src/test/resources/xacml/requests/himss-soap-request.xml 2009-03-26 15:56:22 UTC (rev 403)
@@ -0,0 +1,82 @@
+<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body>
+<samlp:RequestAbstract xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
+xmlns:xacml-samlp="urn:oasis:xacml:2.0:saml:protocol:schema:os"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+Consent="consent-uri" Destination="destination-uri"
+ID="s26b7b6b8e24f105d07a46a448ea2fbffc4c3cd915"
+IssueInstant="2009-03-17T21:45:21Z" Version="2.0"
+xacml-samlp:InputContextOnly="true" xacml-samlp:ReturnContext="true"
+xsi:type="xacml-samlp:XACMLAuthzDecisionQueryType">
+<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">vaPepEntity</saml:Issuer>
+
+<xacml-context:Request xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os"
+ xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/"
+xsi:schemaLocation="urn:oasis:names:tc:xacml:2.0:context:schema:os http://docs.oasis-open.org/xacml/access_control-xacml-2.0-context-schema-...">
+
+<xacml-context:Subject SubjectCategory="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
+<Attribute AttributeId="urn:oasis:names:tc:xacml:2.0:subject:subject-id" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>Doctor,Bob</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:subject:npi" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>100035</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>codeSystem="1.2.840.1986.7" codeSystemName="ISO" displayName="MD/Allopath"</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:subject:functional_role" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>physician</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>Healthcare Treatment</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:subject:hl7:permission" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-017"</AttributeValue>
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-003"</AttributeValue>
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-012"</AttributeValue>
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-005"</AttributeValue>
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-010"</AttributeValue>
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-006"</AttributeValue>
+<AttributeValue>codeSystem="2.16.840.1.113883.13.27" codeSystemName="HL7" displayName="PRD-009"</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xacml:2.0:subject:locality" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>Healthcare Domain A</AttributeValue>
+</Attribute>
+</xacml-context:Subject>
+
+<xacml-context:Resource>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:resource:hl7:type" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>urn:oasis:names:tc:xspa:1.0:resource:hl7:type:patient-search</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:resource:org:hoursofoperation:start" DataType="http://www.w3.org/2001/XMLSchema#time" >
+<AttributeValue>00:00:00-08:00</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:resource:org:hoursofoperation:end" DataType="http://www.w3.org/2001/XMLSchema#time" >
+<AttributeValue>23:59:00-08:00</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:resource:org:allowed-organizations" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>Healthcare Domain A</AttributeValue>
+<AttributeValue>DoD Healthcare Domain A</AttributeValue>
+</Attribute>
+<Attribute AttributeId="urn:oasis:names:tc:xspa:1.0:resource:org:role" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>codeSystem="1.2.840.1986.7" codeSystemName="ISO" displayName="MD/Allopath"</AttributeValue>
+<AttributeValue>codeSystem="1.2.840.1986.7" codeSystemName="ISO" displayName="Pharmacist"</AttributeValue>
+</Attribute>
+</xacml-context:Resource>
+
+<xacml-context:Action>
+<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>Read</AttributeValue>
+</Attribute>
+</xacml-context:Action>
+
+<xacml-context:Environment>
+<Attribute AttributeId="urn:oasis:names:tc:xacml:2.0:resource:locality" DataType="http://www.w3.org/2001/XMLSchema#string" >
+<AttributeValue>Healthcare Domain B</AttributeValue>
+</Attribute></xacml-context:Environment>
+
+</xacml-context:Request>
+
+
+</samlp:RequestAbstract>
+</soap-env:Body></soap-env:Envelope>
\ No newline at end of file
Modified: identity-federation/trunk/identity-fed-api/.classpath
===================================================================
--- identity-federation/trunk/identity-fed-api/.classpath 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-fed-api/.classpath 2009-03-26 15:56:22 UTC (rev 403)
@@ -9,7 +9,7 @@
<classpathentry kind="var" path="M2_REPO/apache-logging/commons-logging-api/1.0.3/commons-logging-api-1.0.3.jar"/>
<classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-api/2.1.9/jaxb-api-2.1.9-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar" sourcepath="M2_REPO/sun-jaxb/jaxb-impl/2.1.9/jaxb-impl-2.1.9-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR1/jbossxacml-2.0.3.CR1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/security/jbossxacml/2.0.3.CR3/jbossxacml-2.0.3.CR3.jar"/>
<classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
<classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/codehaus-stax/stax/1.1.1/stax-1.1.1.jar"/>
Modified: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util/XMLEncryptionUnitTestCase.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util/XMLEncryptionUnitTestCase.java 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/identity/federation/api/util/XMLEncryptionUnitTestCase.java 2009-03-26 15:56:22 UTC (rev 403)
@@ -37,8 +37,7 @@
import junit.framework.TestCase;
import org.jboss.identity.federation.api.saml.v2.common.IDGenerator;
-import org.jboss.identity.federation.api.saml.v2.response.SAML2Response;
-import org.jboss.identity.federation.api.util.XMLEncryptionUtil;
+import org.jboss.identity.federation.api.saml.v2.response.SAML2Response;
import org.jboss.identity.federation.core.saml.v2.constants.JBossSAMLURIConstants;
import org.jboss.identity.federation.core.saml.v2.holders.IDPInfoHolder;
import org.jboss.identity.federation.core.saml.v2.holders.IssuerInfoHolder;
@@ -48,6 +47,7 @@
import org.jboss.identity.federation.saml.v2.assertion.AttributeStatementType;
import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementType;
import org.jboss.identity.federation.saml.v2.protocol.ResponseType;
+import org.jboss.identity.xmlsec.util.XMLEncryptionUtil;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
Modified: identity-federation/trunk/identity-xmlsecmodel/.classpath
===================================================================
--- identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-03-26 15:56:22 UTC (rev 403)
@@ -9,5 +9,6 @@
<classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/>
<classpathentry kind="var" path="M2_REPO/codehaus-stax/stax/1.1.1/stax-1.1.1.jar"/>
<classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/xmlsec/1.4.2/xmlsec-1.4.2.jar"/>
<classpathentry kind="output" path="target-eclipse/classes"/>
</classpath>
Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml
===================================================================
--- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-03-26 15:55:38 UTC (rev 402)
+++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-03-26 15:56:22 UTC (rev 403)
@@ -62,6 +62,11 @@
<version>1.0</version>
</dependency>
<dependency>
+ <groupId>org.apache</groupId>
+ <artifactId>xmlsec</artifactId>
+ <version>1.4.2</version>
+ </dependency>
+ <dependency>
<groupId>sun-jaf</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
15 years, 9 months
JBoss Identity SVN: r402 - identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-26 11:55:38 -0400 (Thu, 26 Mar 2009)
New Revision: 402
Removed:
identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util/XMLEncryptionUtil.java
Log:
move xml encryption util
Deleted: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util/XMLEncryptionUtil.java
===================================================================
--- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util/XMLEncryptionUtil.java 2009-03-26 15:55:17 UTC (rev 401)
+++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util/XMLEncryptionUtil.java 2009-03-26 15:55:38 UTC (rev 402)
@@ -1,396 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.identity.federation.api.util;
-
-import java.security.Key;
-import java.security.PrivateKey;
-import java.security.PublicKey;
-
-import javax.crypto.SecretKey;
-import javax.xml.namespace.QName;
-
-import org.apache.xml.security.encryption.EncryptedData;
-import org.apache.xml.security.encryption.EncryptedKey;
-import org.apache.xml.security.encryption.XMLCipher;
-import org.jboss.identity.federation.core.saml.v2.constants.JBossSAMLURIConstants;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- * XML Encryption Util
- * <b>Note: </b> This utility is currently using Apache XML Security
- * library API. JSR-106 is not yet final. Until that happens,we
- * rely on the non-standard API.
- *
- * @author Anil.Saldhana(a)redhat.com
- * @since Feb 4, 2009
- */
-public class XMLEncryptionUtil
-{
- public static final String CIPHER_DATA_LOCALNAME = "CipherData";
- public static final String ENCRYPTED_KEY_LOCALNAME = "EncryptedKey";
- public static final String DS_KEY_INFO = "ds:KeyInfo";
-
- public static final String XMLNS = "http://www.w3.org/2000/xmlns/";
- public static String XMLSIG_NS = JBossSAMLURIConstants.XMLDSIG_NSURI.get();
- public static String XMLENC_NS = JBossSAMLURIConstants.XMLENC_NSURI.get();
-
- static
- {
- //Initialize the Apache XML Security Library
- org.apache.xml.security.Init.init();
- }
-
- /**
- * <p>
- * Encrypt the Key to be transported
- * </p>
- * <p>
- * Data is encrypted with a SecretKey. Then the key needs to be
- * transported to the other end where it is needed for decryption.
- * For the Key transport, the SecretKey is encrypted with the
- * recipient's public key. At the receiving end, the receiver
- * can decrypt the Secret Key using his private key.s
- * </p>
- * @param document
- * @param keyToBeEncrypted Symmetric Key (SecretKey)
- * @param keyUsedToEncryptSecretKey Asymmetric Key (Public Key)
- * @param keySize Length of the key
- * @return
- * @throws Exception
- */
- public static EncryptedKey encryptKey(Document document,
- SecretKey keyToBeEncrypted, PublicKey keyUsedToEncryptSecretKey,
- int keySize) throws Exception
- {
- XMLCipher keyCipher = null;
- String pubKeyAlg = keyUsedToEncryptSecretKey.getAlgorithm();
-
- String keyWrapAlgo = getXMLEncryptionURLForKeyUnwrap(pubKeyAlg, keySize);
- keyCipher = XMLCipher.getInstance(keyWrapAlgo);
-
- keyCipher.init(XMLCipher.WRAP_MODE, keyUsedToEncryptSecretKey);
- return keyCipher.encryptKey(document, keyToBeEncrypted);
- }
-
- /**
- * Given an element in a Document, encrypt the element and replace
- * the element in the document with the encrypted data
- * @param elementQName QName of the element that we like to encrypt
- * @param publicKey
- * @param secretKey
- * @param keySize
- * @param wrappingElementQName A QName of an element that will wrap the encrypted element
- * @param addEncryptedKeyInKeyInfo Need for the EncryptedKey to be placed in ds:KeyInfo
- * @return
- * @throws Exception
- */
- public static void encryptElement(QName elementQName,
- Document document,
- PublicKey publicKey,
- SecretKey secretKey, int keySize, QName wrappingElementQName,
- boolean addEncryptedKeyInKeyInfo) throws Exception
- {
- if(elementQName == null)
- throw new IllegalArgumentException("elementQName is null");
- if(document == null)
- throw new IllegalArgumentException("document is null");
- String wrappingElementPrefix = wrappingElementQName.getPrefix();
- if(wrappingElementPrefix == null || wrappingElementPrefix == "")
- throw new IllegalArgumentException("Wrapping element prefix invalid");
-
- NodeList elements = document.getElementsByTagName(elementQName.toString());
- if(elements == null || elements.getLength() > 1)
- throw new IllegalStateException("Element was either null or more than one:"+elements);
- Element documentElement = (Element) elements.item(0);
-
- if(documentElement == null)
- throw new IllegalStateException("Element could not be found in the document:"+ elementQName.toString());
-
- XMLCipher cipher = null;
- EncryptedKey encryptedKey = encryptKey(document, secretKey, publicKey, keySize);
-
- String encryptionAlgorithm = getXMLEncryptionURL(secretKey.getAlgorithm(), keySize);
- //Encrypt the Document
- cipher = XMLCipher.getInstance(encryptionAlgorithm);
- cipher.init(XMLCipher.ENCRYPT_MODE, secretKey);
-
- Document encryptedDoc = cipher.doFinal(document, documentElement);
-
- // The EncryptedKey element is added
- Element encryptedKeyElement = cipher.martial(document, encryptedKey);
-
- String wrappingElementName = wrappingElementPrefix + ":" + wrappingElementQName.getLocalPart();
-
- //Create the wrapping element and set its attribute NS
- Element wrappingElement = encryptedDoc.createElementNS(wrappingElementQName.getNamespaceURI(),
- wrappingElementName);
-
- if(wrappingElementPrefix == null || wrappingElementPrefix == "")
- {
- wrappingElementName = wrappingElementQName.getLocalPart();
- }
- wrappingElement.setAttributeNS(XMLNS,
- "xmlns:" + wrappingElementPrefix, wrappingElementQName.getNamespaceURI());
-
- //Get Hold of the Cipher Data
- NodeList cipherElements = encryptedDoc.getElementsByTagNameNS(XMLENC_NS, "EncryptedData");
- if(cipherElements == null || cipherElements.getLength() == 0)
- throw new IllegalStateException("xenc:EncryptedData Element Missing");
- Element encryptedDataElement = (Element) cipherElements.item(0);
-
- Node parentOfEncNode = encryptedDataElement.getParentNode();
- parentOfEncNode.replaceChild(wrappingElement, encryptedDataElement);
-
- wrappingElement.appendChild(encryptedDataElement);
-
- if (addEncryptedKeyInKeyInfo)
- {
- // Outer ds:KeyInfo Element to hold the EncryptionKey
- Element sigElement = encryptedDoc.createElementNS(XMLSIG_NS, DS_KEY_INFO);
- sigElement.setAttributeNS(XMLNS, "xmlns:ds", XMLSIG_NS);
- sigElement.appendChild(encryptedKeyElement);
-
- //Insert the Encrypted key before the CipherData element
- NodeList nodeList = encryptedDoc.getElementsByTagNameNS(XMLENC_NS, CIPHER_DATA_LOCALNAME);
- if (nodeList == null || nodeList.getLength() == 0)
- throw new IllegalStateException("xenc:CipherData Element Missing");
- Element cipherDataElement = (Element) nodeList.item(0);
- Node cipherParent = cipherDataElement.getParentNode();
- cipherParent.insertBefore(sigElement, cipherDataElement);
- }
- else
- {
- //Add the encrypted key as a child of the wrapping element
- wrappingElement.appendChild(encryptedKeyElement);
- }
- }
-
-
- /**
- * Encrypt the root document element inside a Document.
- * <b>NOTE:</> The document root element will be replaced
- * by the wrapping element.
- *
- * @param document Document that contains an element to encrypt
- * @param publicKey The Public Key used to encrypt the secret encryption key
- * @param secretKey The secret encryption key
- * @param keySize Length of key
- * @param wrappingElementQName QName of the element to be used to wrap around
- * the cipher data.
- * @param addEncryptedKeyInKeyInfo Should the encrypted key be inside a KeyInfo
- * or added as a peer of Cipher Data
- * @return An element that has the wrappingElementQName
- * @throws Exception
- */
- public static Element encryptElementInDocument(Document document,
- PublicKey publicKey,
- SecretKey secretKey, int keySize, QName wrappingElementQName,
- boolean addEncryptedKeyInKeyInfo) throws Exception
- {
- String wrappingElementPrefix = wrappingElementQName.getPrefix();
- if(wrappingElementPrefix == null || wrappingElementPrefix == "")
- throw new IllegalArgumentException("Wrapping element prefix invalid");
-
- XMLCipher cipher = null;
- EncryptedKey encryptedKey = encryptKey(document, secretKey, publicKey, keySize);
-
- String encryptionAlgorithm = getXMLEncryptionURL(secretKey.getAlgorithm(), keySize);
- //Encrypt the Document
- cipher = XMLCipher.getInstance(encryptionAlgorithm);
- cipher.init(XMLCipher.ENCRYPT_MODE, secretKey);
-
- Document encryptedDoc = cipher.doFinal(document, document.getDocumentElement());
-
- // The EncryptedKey element is added
- Element encryptedKeyElement = cipher.martial(document, encryptedKey);
-
- String wrappingElementName = wrappingElementPrefix + ":" + wrappingElementQName.getLocalPart();
-
- //Create the wrapping element and set its attribute NS
- Element wrappingElement = encryptedDoc.createElementNS(wrappingElementQName.getNamespaceURI(),
- wrappingElementName);
-
- if(wrappingElementPrefix == null || wrappingElementPrefix == "")
- {
- wrappingElementName = wrappingElementQName.getLocalPart();
- }
- wrappingElement.setAttributeNS(XMLNS,
- "xmlns:" + wrappingElementPrefix, wrappingElementQName.getNamespaceURI());
-
- Element encryptedDocRootElement = encryptedDoc.getDocumentElement();
- //Bring in the encrypted wrapping element to wrap the root node
- encryptedDoc.replaceChild(wrappingElement, encryptedDocRootElement);
-
- wrappingElement.appendChild(encryptedDocRootElement);
-
- if (addEncryptedKeyInKeyInfo)
- {
- // Outer ds:KeyInfo Element to hold the EncryptionKey
- Element sigElement = encryptedDoc.createElementNS(XMLSIG_NS, DS_KEY_INFO);
- sigElement.setAttributeNS(XMLNS, "xmlns:ds", XMLSIG_NS);
- sigElement.appendChild(encryptedKeyElement);
-
- //Insert the Encrypted key before the CipherData element
- NodeList nodeList = encryptedDocRootElement.getElementsByTagNameNS(XMLENC_NS, CIPHER_DATA_LOCALNAME);
- if (nodeList == null || nodeList.getLength() == 0)
- throw new IllegalStateException("xenc:CipherData Element Missing");
-
- Element cipherDataElement = (Element) nodeList.item(0);
- encryptedDocRootElement.insertBefore(sigElement, cipherDataElement);
- }
- else
- {
- //Add the encrypted key as a child of the wrapping element
- wrappingElement.appendChild(encryptedKeyElement);
- }
-
- return encryptedDoc.getDocumentElement();
- }
-
- /**
- * Decrypt an encrypted element inside a document
- * @param documentWithEncryptedElement
- * @param privateKey key need to unwrap the encryption key
- * @return the document with the encrypted element replaced by the data element
- * @throws Exception
- */
- public static Element decryptElementInDocument(Document documentWithEncryptedElement,
- PrivateKey privateKey) throws Exception
- {
- if(documentWithEncryptedElement == null)
- throw new IllegalArgumentException("Input document is null");
-
- //Look for encrypted data element
- Element documentRoot = documentWithEncryptedElement.getDocumentElement();
- Element encDataElement = getNextElementNode(documentRoot.getFirstChild());
- if(encDataElement == null)
- throw new IllegalStateException("No element representing the encrypted data found");
-
- //Look at siblings for the key
- Element encKeyElement = getNextElementNode(encDataElement.getNextSibling());
- if(encKeyElement == null)
- {
- //Search the enc data element for enc key
- NodeList nodeList = encDataElement.getElementsByTagNameNS( XMLENC_NS, ENCRYPTED_KEY_LOCALNAME);
-
- if(nodeList == null || nodeList.getLength() == 0)
- throw new IllegalStateException("Encrypted Key not found in the enc data");
-
- encKeyElement = (Element) nodeList.item(0);
- }
-
- XMLCipher cipher = XMLCipher.getInstance();
- cipher.init(XMLCipher.DECRYPT_MODE, null);
- EncryptedData encryptedData = cipher.loadEncryptedData(documentWithEncryptedElement, encDataElement);
- EncryptedKey encryptedKey = cipher.loadEncryptedKey(documentWithEncryptedElement, encKeyElement);
-
- Document decryptedDoc = null;
-
- if (encryptedData != null && encryptedKey != null)
- {
- String encAlgoURL = encryptedData.getEncryptionMethod().getAlgorithm();
- XMLCipher keyCipher = XMLCipher.getInstance();
- keyCipher.init(XMLCipher.UNWRAP_MODE, privateKey);
- Key encryptionKey = keyCipher.decryptKey( encryptedKey, encAlgoURL );
- cipher = XMLCipher.getInstance();
- cipher.init(XMLCipher.DECRYPT_MODE, encryptionKey);
- decryptedDoc = cipher.doFinal(documentWithEncryptedElement, encDataElement);
- }
-
- Element decryptedRoot = decryptedDoc.getDocumentElement();
- Element dataElement = getNextElementNode(decryptedRoot.getFirstChild());
- if (dataElement == null)
- throw new IllegalStateException("Data Element after encryption is null");
-
- decryptedRoot.removeChild(dataElement);
- decryptedDoc.replaceChild(dataElement, decryptedRoot);
-
- return decryptedDoc.getDocumentElement();
- }
-
- /**
- * From the secret key, get the W3C XML Encryption URL
- * @param publicKeyAlgo
- * @param keySize
- * @return
- */
- private static String getXMLEncryptionURLForKeyUnwrap(String publicKeyAlgo, int keySize)
- {
- if("AES".equals(publicKeyAlgo))
- {
- switch(keySize)
- {
- case 192: return XMLCipher.AES_192_KeyWrap;
- case 256: return XMLCipher.AES_256_KeyWrap;
- default:
- return XMLCipher.AES_128_KeyWrap;
- }
- }
- if(publicKeyAlgo.contains("RSA"))
- return XMLCipher.RSA_v1dot5;
- if(publicKeyAlgo.contains("DES"))
- return XMLCipher.TRIPLEDES_KeyWrap;
- throw new IllegalArgumentException("unsupported publicKey Algo:" + publicKeyAlgo);
- }
-
- /**
- * From the secret key, get the W3C XML Encryption URL
- * @param secretKey
- * @param keySize
- * @return
- */
- private static String getXMLEncryptionURL(String algo, int keySize)
- {
- if("AES".equals(algo))
- {
- switch(keySize)
- {
- case 192: return XMLCipher.AES_192;
- case 256: return XMLCipher.AES_256;
- default:
- return XMLCipher.AES_128;
- }
- }
- if(algo.contains("RSA"))
- return XMLCipher.RSA_v1dot5;
- if(algo.contains("DES"))
- return XMLCipher.TRIPLEDES_KeyWrap;
- throw new IllegalArgumentException("Secret Key with unsupported algo:" + algo);
- }
-
- /**
- * Returns the next Element node.
- */
- private static Element getNextElementNode(Node node)
- {
- while(node != null)
- {
- if(Node.ELEMENT_NODE == node.getNodeType())
- return (Element) node;
- node = node.getNextSibling();
- }
- return null;
- }
-}
\ No newline at end of file
15 years, 9 months
JBoss Identity SVN: r401 - in identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec: util and 1 other directory.
by jboss-identity-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2009-03-26 11:55:17 -0400 (Thu, 26 Mar 2009)
New Revision: 401
Added:
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/
identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/XMLEncryptionUtil.java
Log:
add xml enc util
Added: identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/XMLEncryptionUtil.java
===================================================================
--- identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/XMLEncryptionUtil.java (rev 0)
+++ identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/identity/xmlsec/util/XMLEncryptionUtil.java 2009-03-26 15:55:17 UTC (rev 401)
@@ -0,0 +1,395 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.identity.xmlsec.util;
+
+import java.security.Key;
+import java.security.PrivateKey;
+import java.security.PublicKey;
+
+import javax.crypto.SecretKey;
+import javax.xml.namespace.QName;
+
+import org.apache.xml.security.encryption.EncryptedData;
+import org.apache.xml.security.encryption.EncryptedKey;
+import org.apache.xml.security.encryption.XMLCipher;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * XML Encryption Util
+ * <b>Note: </b> This utility is currently using Apache XML Security
+ * library API. JSR-106 is not yet final. Until that happens,we
+ * rely on the non-standard API.
+ *
+ * @author Anil.Saldhana(a)redhat.com
+ * @since Feb 4, 2009
+ */
+public class XMLEncryptionUtil
+{
+ public static final String CIPHER_DATA_LOCALNAME = "CipherData";
+ public static final String ENCRYPTED_KEY_LOCALNAME = "EncryptedKey";
+ public static final String DS_KEY_INFO = "ds:KeyInfo";
+
+ public static final String XMLNS = "http://www.w3.org/2000/xmlns/";
+ public static String XMLSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
+ public static String XMLENC_NS = "http://www.w3.org/2001/04/xmlenc#";
+
+ static
+ {
+ //Initialize the Apache XML Security Library
+ org.apache.xml.security.Init.init();
+ }
+
+ /**
+ * <p>
+ * Encrypt the Key to be transported
+ * </p>
+ * <p>
+ * Data is encrypted with a SecretKey. Then the key needs to be
+ * transported to the other end where it is needed for decryption.
+ * For the Key transport, the SecretKey is encrypted with the
+ * recipient's public key. At the receiving end, the receiver
+ * can decrypt the Secret Key using his private key.s
+ * </p>
+ * @param document
+ * @param keyToBeEncrypted Symmetric Key (SecretKey)
+ * @param keyUsedToEncryptSecretKey Asymmetric Key (Public Key)
+ * @param keySize Length of the key
+ * @return
+ * @throws Exception
+ */
+ public static EncryptedKey encryptKey(Document document,
+ SecretKey keyToBeEncrypted, PublicKey keyUsedToEncryptSecretKey,
+ int keySize) throws Exception
+ {
+ XMLCipher keyCipher = null;
+ String pubKeyAlg = keyUsedToEncryptSecretKey.getAlgorithm();
+
+ String keyWrapAlgo = getXMLEncryptionURLForKeyUnwrap(pubKeyAlg, keySize);
+ keyCipher = XMLCipher.getInstance(keyWrapAlgo);
+
+ keyCipher.init(XMLCipher.WRAP_MODE, keyUsedToEncryptSecretKey);
+ return keyCipher.encryptKey(document, keyToBeEncrypted);
+ }
+
+ /**
+ * Given an element in a Document, encrypt the element and replace
+ * the element in the document with the encrypted data
+ * @param elementQName QName of the element that we like to encrypt
+ * @param publicKey
+ * @param secretKey
+ * @param keySize
+ * @param wrappingElementQName A QName of an element that will wrap the encrypted element
+ * @param addEncryptedKeyInKeyInfo Need for the EncryptedKey to be placed in ds:KeyInfo
+ * @return
+ * @throws Exception
+ */
+ public static void encryptElement(QName elementQName,
+ Document document,
+ PublicKey publicKey,
+ SecretKey secretKey, int keySize, QName wrappingElementQName,
+ boolean addEncryptedKeyInKeyInfo) throws Exception
+ {
+ if(elementQName == null)
+ throw new IllegalArgumentException("elementQName is null");
+ if(document == null)
+ throw new IllegalArgumentException("document is null");
+ String wrappingElementPrefix = wrappingElementQName.getPrefix();
+ if(wrappingElementPrefix == null || wrappingElementPrefix == "")
+ throw new IllegalArgumentException("Wrapping element prefix invalid");
+
+ NodeList elements = document.getElementsByTagName(elementQName.toString());
+ if(elements == null || elements.getLength() > 1)
+ throw new IllegalStateException("Element was either null or more than one:"+elements);
+ Element documentElement = (Element) elements.item(0);
+
+ if(documentElement == null)
+ throw new IllegalStateException("Element could not be found in the document:"+ elementQName.toString());
+
+ XMLCipher cipher = null;
+ EncryptedKey encryptedKey = encryptKey(document, secretKey, publicKey, keySize);
+
+ String encryptionAlgorithm = getXMLEncryptionURL(secretKey.getAlgorithm(), keySize);
+ //Encrypt the Document
+ cipher = XMLCipher.getInstance(encryptionAlgorithm);
+ cipher.init(XMLCipher.ENCRYPT_MODE, secretKey);
+
+ Document encryptedDoc = cipher.doFinal(document, documentElement);
+
+ // The EncryptedKey element is added
+ Element encryptedKeyElement = cipher.martial(document, encryptedKey);
+
+ String wrappingElementName = wrappingElementPrefix + ":" + wrappingElementQName.getLocalPart();
+
+ //Create the wrapping element and set its attribute NS
+ Element wrappingElement = encryptedDoc.createElementNS(wrappingElementQName.getNamespaceURI(),
+ wrappingElementName);
+
+ if(wrappingElementPrefix == null || wrappingElementPrefix == "")
+ {
+ wrappingElementName = wrappingElementQName.getLocalPart();
+ }
+ wrappingElement.setAttributeNS(XMLNS,
+ "xmlns:" + wrappingElementPrefix, wrappingElementQName.getNamespaceURI());
+
+ //Get Hold of the Cipher Data
+ NodeList cipherElements = encryptedDoc.getElementsByTagNameNS(XMLENC_NS, "EncryptedData");
+ if(cipherElements == null || cipherElements.getLength() == 0)
+ throw new IllegalStateException("xenc:EncryptedData Element Missing");
+ Element encryptedDataElement = (Element) cipherElements.item(0);
+
+ Node parentOfEncNode = encryptedDataElement.getParentNode();
+ parentOfEncNode.replaceChild(wrappingElement, encryptedDataElement);
+
+ wrappingElement.appendChild(encryptedDataElement);
+
+ if (addEncryptedKeyInKeyInfo)
+ {
+ // Outer ds:KeyInfo Element to hold the EncryptionKey
+ Element sigElement = encryptedDoc.createElementNS(XMLSIG_NS, DS_KEY_INFO);
+ sigElement.setAttributeNS(XMLNS, "xmlns:ds", XMLSIG_NS);
+ sigElement.appendChild(encryptedKeyElement);
+
+ //Insert the Encrypted key before the CipherData element
+ NodeList nodeList = encryptedDoc.getElementsByTagNameNS(XMLENC_NS, CIPHER_DATA_LOCALNAME);
+ if (nodeList == null || nodeList.getLength() == 0)
+ throw new IllegalStateException("xenc:CipherData Element Missing");
+ Element cipherDataElement = (Element) nodeList.item(0);
+ Node cipherParent = cipherDataElement.getParentNode();
+ cipherParent.insertBefore(sigElement, cipherDataElement);
+ }
+ else
+ {
+ //Add the encrypted key as a child of the wrapping element
+ wrappingElement.appendChild(encryptedKeyElement);
+ }
+ }
+
+
+ /**
+ * Encrypt the root document element inside a Document.
+ * <b>NOTE:</> The document root element will be replaced
+ * by the wrapping element.
+ *
+ * @param document Document that contains an element to encrypt
+ * @param publicKey The Public Key used to encrypt the secret encryption key
+ * @param secretKey The secret encryption key
+ * @param keySize Length of key
+ * @param wrappingElementQName QName of the element to be used to wrap around
+ * the cipher data.
+ * @param addEncryptedKeyInKeyInfo Should the encrypted key be inside a KeyInfo
+ * or added as a peer of Cipher Data
+ * @return An element that has the wrappingElementQName
+ * @throws Exception
+ */
+ public static Element encryptElementInDocument(Document document,
+ PublicKey publicKey,
+ SecretKey secretKey, int keySize, QName wrappingElementQName,
+ boolean addEncryptedKeyInKeyInfo) throws Exception
+ {
+ String wrappingElementPrefix = wrappingElementQName.getPrefix();
+ if(wrappingElementPrefix == null || wrappingElementPrefix == "")
+ throw new IllegalArgumentException("Wrapping element prefix invalid");
+
+ XMLCipher cipher = null;
+ EncryptedKey encryptedKey = encryptKey(document, secretKey, publicKey, keySize);
+
+ String encryptionAlgorithm = getXMLEncryptionURL(secretKey.getAlgorithm(), keySize);
+ //Encrypt the Document
+ cipher = XMLCipher.getInstance(encryptionAlgorithm);
+ cipher.init(XMLCipher.ENCRYPT_MODE, secretKey);
+
+ Document encryptedDoc = cipher.doFinal(document, document.getDocumentElement());
+
+ // The EncryptedKey element is added
+ Element encryptedKeyElement = cipher.martial(document, encryptedKey);
+
+ String wrappingElementName = wrappingElementPrefix + ":" + wrappingElementQName.getLocalPart();
+
+ //Create the wrapping element and set its attribute NS
+ Element wrappingElement = encryptedDoc.createElementNS(wrappingElementQName.getNamespaceURI(),
+ wrappingElementName);
+
+ if(wrappingElementPrefix == null || wrappingElementPrefix == "")
+ {
+ wrappingElementName = wrappingElementQName.getLocalPart();
+ }
+ wrappingElement.setAttributeNS(XMLNS,
+ "xmlns:" + wrappingElementPrefix, wrappingElementQName.getNamespaceURI());
+
+ Element encryptedDocRootElement = encryptedDoc.getDocumentElement();
+ //Bring in the encrypted wrapping element to wrap the root node
+ encryptedDoc.replaceChild(wrappingElement, encryptedDocRootElement);
+
+ wrappingElement.appendChild(encryptedDocRootElement);
+
+ if (addEncryptedKeyInKeyInfo)
+ {
+ // Outer ds:KeyInfo Element to hold the EncryptionKey
+ Element sigElement = encryptedDoc.createElementNS(XMLSIG_NS, DS_KEY_INFO);
+ sigElement.setAttributeNS(XMLNS, "xmlns:ds", XMLSIG_NS);
+ sigElement.appendChild(encryptedKeyElement);
+
+ //Insert the Encrypted key before the CipherData element
+ NodeList nodeList = encryptedDocRootElement.getElementsByTagNameNS(XMLENC_NS, CIPHER_DATA_LOCALNAME);
+ if (nodeList == null || nodeList.getLength() == 0)
+ throw new IllegalStateException("xenc:CipherData Element Missing");
+
+ Element cipherDataElement = (Element) nodeList.item(0);
+ encryptedDocRootElement.insertBefore(sigElement, cipherDataElement);
+ }
+ else
+ {
+ //Add the encrypted key as a child of the wrapping element
+ wrappingElement.appendChild(encryptedKeyElement);
+ }
+
+ return encryptedDoc.getDocumentElement();
+ }
+
+ /**
+ * Decrypt an encrypted element inside a document
+ * @param documentWithEncryptedElement
+ * @param privateKey key need to unwrap the encryption key
+ * @return the document with the encrypted element replaced by the data element
+ * @throws Exception
+ */
+ public static Element decryptElementInDocument(Document documentWithEncryptedElement,
+ PrivateKey privateKey) throws Exception
+ {
+ if(documentWithEncryptedElement == null)
+ throw new IllegalArgumentException("Input document is null");
+
+ //Look for encrypted data element
+ Element documentRoot = documentWithEncryptedElement.getDocumentElement();
+ Element encDataElement = getNextElementNode(documentRoot.getFirstChild());
+ if(encDataElement == null)
+ throw new IllegalStateException("No element representing the encrypted data found");
+
+ //Look at siblings for the key
+ Element encKeyElement = getNextElementNode(encDataElement.getNextSibling());
+ if(encKeyElement == null)
+ {
+ //Search the enc data element for enc key
+ NodeList nodeList = encDataElement.getElementsByTagNameNS( XMLENC_NS, ENCRYPTED_KEY_LOCALNAME);
+
+ if(nodeList == null || nodeList.getLength() == 0)
+ throw new IllegalStateException("Encrypted Key not found in the enc data");
+
+ encKeyElement = (Element) nodeList.item(0);
+ }
+
+ XMLCipher cipher = XMLCipher.getInstance();
+ cipher.init(XMLCipher.DECRYPT_MODE, null);
+ EncryptedData encryptedData = cipher.loadEncryptedData(documentWithEncryptedElement, encDataElement);
+ EncryptedKey encryptedKey = cipher.loadEncryptedKey(documentWithEncryptedElement, encKeyElement);
+
+ Document decryptedDoc = null;
+
+ if (encryptedData != null && encryptedKey != null)
+ {
+ String encAlgoURL = encryptedData.getEncryptionMethod().getAlgorithm();
+ XMLCipher keyCipher = XMLCipher.getInstance();
+ keyCipher.init(XMLCipher.UNWRAP_MODE, privateKey);
+ Key encryptionKey = keyCipher.decryptKey( encryptedKey, encAlgoURL );
+ cipher = XMLCipher.getInstance();
+ cipher.init(XMLCipher.DECRYPT_MODE, encryptionKey);
+ decryptedDoc = cipher.doFinal(documentWithEncryptedElement, encDataElement);
+ }
+
+ Element decryptedRoot = decryptedDoc.getDocumentElement();
+ Element dataElement = getNextElementNode(decryptedRoot.getFirstChild());
+ if (dataElement == null)
+ throw new IllegalStateException("Data Element after encryption is null");
+
+ decryptedRoot.removeChild(dataElement);
+ decryptedDoc.replaceChild(dataElement, decryptedRoot);
+
+ return decryptedDoc.getDocumentElement();
+ }
+
+ /**
+ * From the secret key, get the W3C XML Encryption URL
+ * @param publicKeyAlgo
+ * @param keySize
+ * @return
+ */
+ private static String getXMLEncryptionURLForKeyUnwrap(String publicKeyAlgo, int keySize)
+ {
+ if("AES".equals(publicKeyAlgo))
+ {
+ switch(keySize)
+ {
+ case 192: return XMLCipher.AES_192_KeyWrap;
+ case 256: return XMLCipher.AES_256_KeyWrap;
+ default:
+ return XMLCipher.AES_128_KeyWrap;
+ }
+ }
+ if(publicKeyAlgo.contains("RSA"))
+ return XMLCipher.RSA_v1dot5;
+ if(publicKeyAlgo.contains("DES"))
+ return XMLCipher.TRIPLEDES_KeyWrap;
+ throw new IllegalArgumentException("unsupported publicKey Algo:" + publicKeyAlgo);
+ }
+
+ /**
+ * From the secret key, get the W3C XML Encryption URL
+ * @param secretKey
+ * @param keySize
+ * @return
+ */
+ private static String getXMLEncryptionURL(String algo, int keySize)
+ {
+ if("AES".equals(algo))
+ {
+ switch(keySize)
+ {
+ case 192: return XMLCipher.AES_192;
+ case 256: return XMLCipher.AES_256;
+ default:
+ return XMLCipher.AES_128;
+ }
+ }
+ if(algo.contains("RSA"))
+ return XMLCipher.RSA_v1dot5;
+ if(algo.contains("DES"))
+ return XMLCipher.TRIPLEDES_KeyWrap;
+ throw new IllegalArgumentException("Secret Key with unsupported algo:" + algo);
+ }
+
+ /**
+ * Returns the next Element node.
+ */
+ private static Element getNextElementNode(Node node)
+ {
+ while(node != null)
+ {
+ if(Node.ELEMENT_NODE == node.getNodeType())
+ return (Element) node;
+ node = node.getNextSibling();
+ }
+ return null;
+ }
+}
\ No newline at end of file
15 years, 9 months