From jboss-identity-commits at lists.jboss.org Mon Feb 2 01:07:38 2009 Content-Type: multipart/mixed; boundary="===============8364794611691600826==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r270 - identity-federation/trunk/doc/DeveloperGuide/src/main/docbook. Date: Mon, 02 Feb 2009 01:07:33 -0500 Message-ID: --===============8364794611691600826== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 01:07:32 -0500 (Mon, 02 Feb 2009) New Revision: 270 Modified: identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/DeveloperG= uide.xml Log: dev guide Modified: identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Dev= eloperGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Developer= Guide.xml 2009-01-30 22:38:30 UTC (rev 269) +++ identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Developer= Guide.xml 2009-02-02 06:07:32 UTC (rev 270) @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ ]> - + = JBoss Identity Federation = @@ -19,7 +19,7 @@ = - What this Book Covers + What this Book Covers? = This book aims to help you become familiar with JBoss Identity Federation in order that you can use it to develop your own Federated @@ -28,14 +28,12 @@ Part I 'Getting Started' introduces the federated identity technologies that are provided in this product. = - Part II 'Simple Usage' takes a look at the use cases that you can - implement that meets majority of requirements. - - Part III 'Advanced Usage' goes on to look at how you can add - advanced features to your use cases such as trust management and XML - Digital Signatures. + Part II 'Developer Usage' takes a look at the API and Object Mod= el + available to you to create applications and services for your needs wi= th + Federated Identity. + = - + = Getting Started = @@ -44,10 +42,12 @@ = JBoss Identity Federation allows you to implement SAML v2.0 ba= sed services and applications. It also has support for Oasis WS-Trust ba= sed - applications. + applications. + = With JBoss Identity Federation, you have the following - features. + features. + = @@ -81,15 +81,12 @@ bindings using the object model provided in this product. = - - Simple Usage + + = + = + Developer Usage = - In this chapter, we will look at usage of JBoss Identity - Federation to help you obtain a platform to implement federated iden= tity - based services (including centralized identity services - and Single Sign-On (SSO) for applications). - -
+ Identity API for SAML v2 Use SAML2Request API class for creating SAML request objec= ts. @@ -149,326 +146,26 @@ ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); saml2Response.marshall(rt, baos); -
- -
- SAML v2 HTTP/Redirect Binding - This section will talk about the configuration information to - support the HTTP/Redirect binding which will provide centralized - identity services as well as web SSO for your applications. - - - - = - - - - Hub and Spoke Architecture for the S= AML v2 based Web SSO - - - - The architecture follows the Hub and Spoke architecture of I= dentity Management. = - An Identity Provider (IDP) acts as the central source (hub) for id= entity and role = - information to all the applications (Service Providers/SP). The sp= okes are the = - Service Providers (SP). - - - The IDP and the SP can be a JBoss Application Server or a = Tomcat instance. - - - - = -
- Configuring the Identity Provider (IDP) - = - - Check list for configuring the IDP - - Configure the IDP as a secure web application. - - Configure the web.xml to either allow FORM or BASIC= authentication. - - Configure the context.xml for IDP valves. - - Configure the jboss-idfed.xml for IDP configuration. - - - - = - The IDP can be a JBoss Application Server or a Tomcat inst= ance. - - - You need to configure a web application as the Identity provider= . = - - = - = -
- Configure the web application security for the IDP</titl= e> - <para>The web application needs to have FORM or BASIC based sec= urity enabled in its web.xml. - We recommend the use of FORM based web application security as = it gives you the ability to - customize the login page.</para> - <para>The web.xml needs to have a configuration such as the fol= lowing: - </para> - <programlisting role=3D"XML"> - <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> -<web-app xmlns=3D"http://java.sun.com/xml/ns/javaee" - xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javaee http://java.sun= .com/xml/ns/javaee/web-app_2_5.xsd" - version=3D"2.5"> - - <display-name>IDP</display-name> - <description>IDP</description> - - <!-- Define a security constraint that gives unlimited access to imag= es --> - <security-constraint> - <web-resource-collection> - <web-resource-name>Images</web-resource-name> - <url-pattern>/images/*</url-pattern> - </web-resource-collection> - </security-constraint> - - <!-- Define a Security Constraint on this Application --> - <security-constraint> - <web-resource-collection> - <web-resource-name>IDP</web-resource-name> - <url-pattern>/*</url-pattern> - </web-resource-collection> - <auth-constraint> - <role-name>manager</role-name> - </auth-constraint> - </security-constraint> - - <!-- Define the Login Configuration for this Application --> - <login-config> - <auth-method>FORM</auth-method> - <realm-name>IDP Application</realm-name> - <form-login-config> - <form-login-page>/jsp/login.jsp</form-login-page> - <form-error-page>/jsp/loginerror.jsp</form-error-page> - </form-login-config> - </login-config> - - <!-- Security roles referenced by this web application --> - <security-role> - <description> - The role that is required to log in to the IDP Application - </description> - <role-name>manager</role-name> - </security-role> -</web-app> - </programlisting> - = - = - <note> = - <para> Remember to configure the realm or login modules for yo= ur IDP as per the Tomcat or = - JBoss AS documentation on "securing your web application". - </para> - <ulink url=3D"http://tomcat.apache.org/tomcat-6.0-doc/realm-ho= wto.html">Tomcat Realm</ulink> - and - <ulink url=3D"http://jboss.org/community/docs/DOC-10760">JBoss= AS Security</ulink> - </note> - = - = - </section> <!-- Section on configuring web app security - IDP -= -> - = - = - <section> <!-- Configure the IDP Valves --> - <title>Configure the IDP Valves - Create a context.xml file for configuring = - the valves for the IDP. - - The context.xml file should look like: - - - <Context> - <Valve = - className=3D"org.jboss.identity.federation.bindings.tomcat= .idp.IDPRedirectValve" = - /> - </Context> - - = - = - If the IDP is running in Apache Tomcat, then place the = context.xml in = - META-INF of your IDP web = application. - - - = - - If the IDP is running in JBoss Application Server, the= n place the context.xml in = - WEB-INF of your IDP web a= pplication. - - - = -
- = -
- Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) - Configure jboss-idfed.xml in WEB-INF of your = - IDP web application - - <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > - <IdentityURL>http://localhost:8080/idp</IdentityURL= > = - </JBossIDP> - - = - In this configuration file, you are providing the URL of= your IDP. = - This is the URL that gets added as the issuer in the outgoing = SAML2 assertions = - to the Service Providers. - -
- Configure the Service Provider (SP) - - Check List for configuring the Service Provider. - - - Configure the SP as a secure FORM authentication b= ased web application. - - Configure the web.xml of the SP web application. - - Configure the context.xml for the SP valves. - - Configure the jboss-idfed.xml for the SP configura= tion. - - - - = - = - The SP can be a JBoss Application Server or a Tomcat insta= nce. - - - You need to configure a web application as the Service Provider(= SP). = - - = - = -
- Configure the web application security for the SP - The web application needs to have FORM based security ena= bled in its web.xml. - - The web.xml needs to have a configuration such as the fol= lowing: - - - - - <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> -<web-app xmlns=3D"http://java.sun.com/xml/ns/javaee" - xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javaee http://java.sun= .com/xml/ns/javaee/web-app_2_5.xsd" - version=3D"2.5"> = - - <display-name>Test SALES Application</display-name> - <description> - Just a Test SP - </description> - - <!-- Define a Security Constraint on this Application --> - <security-constraint> - <web-resource-collection> - <web-resource-name>SALES Application</web-resource-name> - <url-pattern>/*</url-pattern> - </web-resource-collection> - <auth-constraint> - <role-name>manager</role-name> - </auth-constraint> - </security-constraint> - - <!-- Define a security constraint that gives unlimted access to freez= one --> - <security-constraint> - <web-resource-collection> - <web-resource-name>freezone</web-resource-name> - <url-pattern>/freezone/*</url-pattern> - </web-resource-collection> - </security-constraint> - - <!-- Define the Login Configuration for this Application --> - <login-config> - <auth-method>FORM</auth-method> - <realm-name>Tomcat SALES Application</realm-name> - <form-login-config> - <form-login-page>/jsp/login.jsp</form-login-page> - <form-error-page>/jsp/loginerror.jsp</form-error-page> - </form-login-config> - </login-config> - - <!-- Security roles referenced by this web application --> - <security-role> - <description> - The role that is required to log in to the SP Application - </description> - <role-name>manager</role-name> - </security-role> -</web-app> - - - = - - - The SP web application should be configured with FORM based = authentication. = - - - = -
- = - = -
- Configure the SP Valves - Create a context.xml file for configuring = - the valves for the SP. - - The context.xml file should look like: - - - = - <Context> - <Valve - className=3D"org.jboss.identity.federation.bindings.tomcat.s= p.SPRedirectFormAuthenticator" = - /> - </Context> - - - = - = - If the SP is running in Apache Tomcat, then place the c= ontext.xml in = - META-INF of your SP web a= pplication. - - - = - - If the SP is running in JBoss Application Server, then= place the context.xml in = - WEB-INF of your SP web ap= plication. - - - = -
- = -
- Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) - Configure jboss-idfed.xml in WEB-INF of your = - SP web application - = - - = - <JBossSP xmlns=3D"urn:jboss:identity-federation:config:1.0"= > - <IdentityURL>http://localhost:8080/idp</IdentityURL= > - <ServiceURL>http://localhost:8080/sales</ServiceURL= > - </JBossSP> - - - = - - In this configuration file, we define the URLs for the servi= ce provider and = - the identity provider. - -
- = -
- + + = + + JAXB2 Based Object Model for SAML and WS-Trust + JBoss Identity Federation contains an object model for SAMLv= 2 and WS-Trust v1.3 + applications. The object model is very useful for developers who wa= nt to build advanced + applications that are not fully supported by the Identity API from = the previous section. = + + + Object Model for SAML v2 + org.jboss.identity.federation.sam= l.v2 is + the package that contains the object model. + + + Object Model for WS-Trust v1.3 + org.jboss.identity.federation.ws.= trust is + the package that contains the object model. + + = + = + = --===============8364794611691600826==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 08:39:44 2009 Content-Type: multipart/mixed; boundary="===============7766609875079115001==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r271 - in idm/trunk: idm/src/main/java/org/jboss/identity/idm/impl/repository and 2 other directories. Date: Mon, 02 Feb 2009 08:39:44 -0500 Message-ID: --===============7766609875079115001== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-02 08:39:43 -0500 (Mon, 02 Feb 2009) New Revision: 271 Added: idm/trunk/idm/src/test/resources/jboss-cache-config.xml idm/trunk/parent/logging.properties Removed: idm/trunk/idm/src/test/resources/logging.properties Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/IdentitySt= oreCacheSupport.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCache= IdentityStoreWrapper.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repository/Abstr= actIdentityStoreRepository.java idm/trunk/idm/src/test/resources/organization-test-config.xml idm/trunk/parent/pom.xml Log: - add option to wrap any store in repository with cache Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/Ide= ntityStoreCacheSupport.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/IdentityS= toreCacheSupport.java 2009-02-02 06:07:32 UTC (rev 270) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/IdentityS= toreCacheSupport.java 2009-02-02 13:39:43 UTC (rev 271) @@ -317,7 +317,7 @@ = if (getLog().isLoggable(Level.FINER)) { - getLog().finer(this.toString() + "IdentityObject storred in cache= : " + io.getName() + "; " + io.getId()); + getLog().finer(this.toString() + "IdentityObject stored in cache:= " + io.getName() + "; " + io.getId()); } } = @@ -350,7 +350,7 @@ = if (getLog().isLoggable(Level.FINER)) { - getLog().finer(this.toString() + "IdentityObject storred in cache= with attributes map: " + io.getName() + "; " + io.getId() + getLog().finer(this.toString() + "IdentityObject stored in cache = with attributes map: " + io.getName() + "; " + io.getId() + "; type=3D" + io.getIdentityType().getName() ); } } Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBo= ssCacheIdentityStoreWrapper.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCach= eIdentityStoreWrapper.java 2009-02-02 06:07:32 UTC (rev 270) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCach= eIdentityStoreWrapper.java 2009-02-02 13:39:43 UTC (rev 271) @@ -48,6 +48,7 @@ import java.util.Collection; import java.util.Set; import java.util.logging.Logger; +import java.io.File; = /** * IdentityStore implementation that wraps another IdentityStore and uses = JBossCache to cache results. @@ -71,26 +72,16 @@ // with many updates it can add additional cost private boolean reloadAttributesToCacheOnUpdate =3D true; = - public JBossCacheIdentityStoreWrapper(IdentityStore identityStore) + public JBossCacheIdentityStoreWrapper(IdentityStore identityStore, Stri= ng cacheConfigurationFile) throws IdentityException { = this.identityStore =3D identityStore; = - Configuration config =3D new Configuration(); = - -// config.setTransactionManagerLookupClass( GenericTransactionManager= Lookup.class.getName() ); -// -// config.setIsolationLevel(IsolationLevel.READ_COMMITTED); -// -// config.setCacheMode(Configuration.CacheMode.LOCAL); -// -// config.setLockAcquisitionTimeout(15000); - CacheFactory factory =3D new DefaultCacheFactory(); = - this.cache =3D factory.createCache(config); + this.cache =3D factory.createCache(cacheConfigurationFile); = this.cache.start(); = Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repositor= y/AbstractIdentityStoreRepository.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repository/Abst= ractIdentityStoreRepository.java 2009-02-02 06:07:32 UTC (rev 270) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repository/Abst= ractIdentityStoreRepository.java 2009-02-02 13:39:43 UTC (rev 271) @@ -31,12 +31,14 @@ import org.jboss.identity.idm.spi.configuration.metadata.IdentityRepositor= yConfigurationMetaData; import org.jboss.identity.idm.spi.configuration.metadata.IdentityStoreMapp= ingMetaData; import org.jboss.identity.idm.exception.IdentityException; +import org.jboss.identity.idm.impl.cache.JBossCacheIdentityStoreWrapper; = import java.util.Set; import java.util.Map; import java.util.HashSet; import java.util.List; import java.util.HashMap; +import java.io.File; = /** * @author Boleslaw D= awidowicz @@ -52,8 +54,12 @@ protected IdentityStore defaultIdentityStore; = protected AttributeStore defaultAttributeStore; - = = + public static final String CACHE_OPTION =3D "cache"; + + public static final String CACHE_CONFIG_FILE_OPTION =3D "cache.config-f= ile"; + + public void bootstrap(IdentityRepositoryConfigurationMetaData configura= tionMD, Map bootstrappedIdentitySt= ores, Map bootstrappedAttribute= Stores) throws IdentityException @@ -70,6 +76,28 @@ if (isId !=3D null && bootstrappedIdentityStores.keySet().contains(i= sId)) { defaultIdentityStore =3D bootstrappedIdentityStores.get(isId); + + String cacheOption =3D configurationMD.getOptionSingleValue(CACHE= _OPTION); + + if (cacheOption !=3D null && cacheOption.equalsIgnoreCase("true")) + { + String cacheConfig =3D configurationMD.getOptionSingleValue(CA= CHE_CONFIG_FILE_OPTION); + + if (cacheConfig =3D=3D null) + { + throw new IdentityException(CACHE_CONFIG_FILE_OPTION + " is= missing in the repository configuration"); + } + + File cacheConfigFile =3D new File(cacheConfig); + + if(!cacheConfigFile.exists()) + { + throw new IdentityException("JBoss Cache config file specif= ied in option \"" + CACHE_CONFIG_FILE_OPTION + + "\" doesn't exist: " + cacheConfig); + } + + defaultIdentityStore =3D new JBossCacheIdentityStoreWrapper(de= faultIdentityStore, cacheConfig); + } } = for (IdentityStoreMappingMetaData identityStoreMappingMetaData : con= figurationMD.getIdentityStoreToIdentityObjectTypeMappings()) @@ -79,6 +107,28 @@ = IdentityStore store =3D bootstrappedIdentityStores.get(storeId); = + String cacheOption =3D identityStoreMappingMetaData.getOptionSing= leValue(CACHE_OPTION); + + if (cacheOption !=3D null && cacheOption.equalsIgnoreCase("true")) + { + String cacheConfig =3D identityStoreMappingMetaData.getOptionS= ingleValue(CACHE_CONFIG_FILE_OPTION); + + if (cacheConfig =3D=3D null) + { + throw new IdentityException(CACHE_CONFIG_FILE_OPTION + " is= missing in the repository identity-store-mapping configuration"); + } + + File cacheConfigFile =3D new File(cacheConfig); + + if(!cacheConfigFile.exists()) + { + throw new IdentityException("JBoss Cache config file specif= ied in option \"" + CACHE_CONFIG_FILE_OPTION + + "\" doesn't exist: " + cacheConfig); + } + + store =3D new JBossCacheIdentityStoreWrapper(store, cacheConfi= g); + } + if (store =3D=3D null) { throw new IdentityException("Mapped IdentityStore not availabl= e: " + storeId); Added: idm/trunk/idm/src/test/resources/jboss-cache-config.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/resources/jboss-cache-config.xml = (rev 0) +++ idm/trunk/idm/src/test/resources/jboss-cache-config.xml 2009-02-02 13:3= 9:43 UTC (rev 271) @@ -0,0 +1,5 @@ + + + + \ No newline at end of file Deleted: idm/trunk/idm/src/test/resources/logging.properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/resources/logging.properties 2009-02-02 06:07:32= UTC (rev 270) +++ idm/trunk/idm/src/test/resources/logging.properties 2009-02-02 13:39:43= UTC (rev 271) @@ -1,61 +0,0 @@ -# Properties file which configures the operation of the JDK -# logging facility. - -# The system will look for this config file, first using -# a System property specified at startup: -# -# >java -Djava.util.logging.config.file=3DmyLoggingConfigFilePath -# -# If this property is not specified, then the config file is -# retrieved from its default location at: -# -# JDK_HOME/jre/lib/logging.properties - -# Global logging properties. -# ------------------------------------------ -# The set of handlers to be loaded upon startup. -# Comma-separated list of class names. -# (? LogManager docs say no comma here, but JDK example has comma.) -handlers=3Djava.util.logging.FileHandler, java.util.logging.ConsoleHandler - -# Default global logging level. -# Loggers and Handlers may override this level -.level=3DFINER - -# Loggers -# ------------------------------------------ -# Loggers are usually attached to packages. -# Here, the level for each package is specified. -# The global level is used by default, so levels -# specified here simply act as an override. - -#myapp.ui.level=3DALL -#myapp.business.level=3DCONFIG -#myapp.data.level=3DSEVERE - -# Handlers -# ----------------------------------------- - -# --- ConsoleHandler --- -# Override of global logging level -java.util.logging.ConsoleHandler.level=3DFINER -java.util.logging.ConsoleHandler.formatter=3Djava.util.logging.SimpleForma= tter - -# --- FileHandler --- -# Override of global logging level -java.util.logging.FileHandler.level=3DALL - -# Naming style for the output file: -# (The output file is placed in the directory -# defined by the "user.home" System property.) -java.util.logging.FileHandler.pattern=3D%h/java%u.log - -# Limiting size of output file in bytes: -java.util.logging.FileHandler.limit=3D50000 - -# Number of output files to cycle through, by appending an -# integer to the base file name: -java.util.logging.FileHandler.count=3D1 - -# Style of output (Simple or XML): -java.util.logging.FileHandler.formatter=3Djava.util.logging.SimpleFormatter \ No newline at end of file Modified: idm/trunk/idm/src/test/resources/organization-test-config.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/resources/organization-test-config.xml 2009-02-0= 2 06:07:32 UTC (rev 270) +++ idm/trunk/idm/src/test/resources/organization-test-config.xml 2009-02-0= 2 13:39:43 UTC (rev 271) @@ -83,7 +83,16 @@ ORGANIZATION_UNIT DEPARTMENT - + + + + @@ -121,7 +130,16 @@ ORGANIZATION_UNIT OFFICE - + + + + Copied: idm/trunk/parent/logging.properties (from rev 260, idm/trunk/idm/sr= c/test/resources/logging.properties) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/parent/logging.properties (rev 0) +++ idm/trunk/parent/logging.properties 2009-02-02 13:39:43 UTC (rev 271) @@ -0,0 +1,63 @@ +# Properties file which configures the operation of the JDK +# logging facility. + +# The system will look for this config file, first using +# a System property specified at startup: +# +# >java -Djava.util.logging.config.file=3DmyLoggingConfigFilePath +# +# If this property is not specified, then the config file is +# retrieved from its default location at: +# +# JDK_HOME/jre/lib/logging.properties + +# Global logging properties. +# ------------------------------------------ +# The set of handlers to be loaded upon startup. +# Comma-separated list of class names. +# (? LogManager docs say no comma here, but JDK example has comma.) +handlers=3Djava.util.logging.FileHandler, java.util.logging.ConsoleHandler + +# Default global logging level. +# Loggers and Handlers may override this level +.level=3DSEVERE + +# Loggers +# ------------------------------------------ +# Loggers are usually attached to packages. +# Here, the level for each package is specified. +# The global level is used by default, so levels +# specified here simply act as an override. + +#myapp.ui.level=3DALL +#myapp.business.level=3DCONFIG +#myapp.data.level=3DSEVERE + +org.jboss.identity.idm.level=3DFINER + +# Handlers +# ----------------------------------------- + +# --- ConsoleHandler --- +# Override of global logging level +java.util.logging.ConsoleHandler.level=3DALL +java.util.logging.ConsoleHandler.formatter=3Djava.util.logging.SimpleForma= tter + +# --- FileHandler --- +# Override of global logging level +java.util.logging.FileHandler.level=3DALL + +# Naming style for the output file: +# (The output file is placed in the directory +# defined by the "user.home" System property.) +java.util.logging.FileHandler.pattern=3D%h/java%u.log + +# Limiting size of output file in bytes: +java.util.logging.FileHandler.limit=3D50000 + +# Number of output files to cycle through, by appending an +# integer to the base file name: +java.util.logging.FileHandler.count=3D1 + +# Style of output (Simple or XML): +java.util.logging.FileHandler.formatter=3Djava.util.logging.SimpleFormatter \ No newline at end of file Modified: idm/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/parent/pom.xml 2009-02-02 06:07:32 UTC (rev 270) +++ idm/trunk/parent/pom.xml 2009-02-02 13:39:43 UTC (rev 271) @@ -1,101 +1,107 @@ - - org.jboss - jboss-parent - 3 - - 4.0.0 - org.jboss.identity - idm-parent - pom - 1.0.0-SNAPSHOT - JBoss Identity IDM- Parent - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/idm= /trunk - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/idm/trunk - + + org.jboss + jboss-parent + 3 + + 4.0.0 + org.jboss.identity + idm-parent + pom + 1.0.0-SNAPSHOT + JBoss Identity IDM- Parent + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity is a cross-cutting project that handles id= entity needs for the JEMS projects + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/i= dm/trunk + scm:svn:https://svn.jboss.org/repos/jbossiden= tity/idm/trunk + = - - - - maven-release-plugin - - https://svn.jboss.org/repos/jbossidentity/tags - - - - - - - maven-surefire-plugin - - true - false - false - - **/*TestCase.java - - pertest - ${surefire.jvm.args} - false - false - - - - - + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/tag= s + + + + + + + maven-surefire-plugin + + true + false + false + + **/*TestCase.java + + pertest + ${surefire.jvm.args} + false + false + + + java.util.logging.config.file + ../parent/logging.properties + + + + + + + = - - - repository.jboss.org - JBoss Repository - default - http://repository.jboss.org/maven2/ - - false - - + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + = - - snapshots.jboss.org - JBoss Snapshots Repository - default - http://snapshots.jboss.org/maven2/ - - true - - - false - - - + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + = - - - - junit - junit - 3.8.1 - test - - - javax.persistence - persistence-api - 1.0 - - - + + + + junit + junit + 3.8.1 + test + + + javax.persistence + persistence-api + 1.0 + + + = --===============7766609875079115001==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:04:43 2009 Content-Type: multipart/mixed; boundary="===============7191120357209948865==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r272 - identity-federation/trunk/doc/UserGuide/src/main/docbook. Date: Mon, 02 Feb 2009 16:04:42 -0500 Message-ID: --===============7191120357209948865== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:04:42 -0500 (Mon, 02 Feb 2009) New Revision: 272 Modified: identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuide.xml Log: userguide Modified: identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuid= e.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuide.xml = 2009-02-02 13:39:43 UTC (rev 271) +++ identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuide.xml = 2009-02-02 21:04:42 UTC (rev 272) @@ -27,7 +27,8 @@ Identity based services or applications. = Part I 'Getting Started' introduces the federated identity - technologies that are provided in this product. + technologies that are provided in this product. It also indicates + the libraries required for the installation. = Part II 'Simple Usage' describes SAML v2 Web Browser based = Single Sign On (SSO). @@ -35,6 +36,10 @@ Part III 'Advanced Usage' describes SAML v2 Web Browser based SS= O = with advanced features such as Trust Management and XML Digital Signatures. + = + Part IV 'Trouble Shooting' section describes some basic + troubleshooting tips when things do not work the way they were intende= d. + = @@ -64,10 +69,51 @@ = + = + + Installation + + JBoss Identity Federation requires the following libraries + to be either downloaded separately or as part of the Java JDK + or as part of JBoss Application Server. + + + + JBoss Identity Federation Library + + + + JBoss XACML Library (jboss-xacml.jar and jboss-sunxacml.j= ar) + + + + JAXB V2 Library + + + + STAX API Library (a dependency for JAXB2) + + + + Activation API Library (a dependency for JAXB2) + + + + = + + Location for downloading the jars + + JBoss Maven Rep= ository + = + + = + + = + = + Simple Usage = - - Simple Usage - + + Web Single Sign On (SSO) In this chapter, we will look at usage of JBoss Identity Federation to help you obtain a platform to implement federated iden= tity based services (including centralized identity services @@ -392,6 +438,362 @@
= - +
-
+ = + + Advanced Usage (Trust Management) + + Web SSO - XML Signature Support + + In this chapter, we describe the configuration for Web SSO with = XML Signature Support. + = +
+ Configuring the Identity Provider + + The IDP needs to be configured to provide Web SSO with XML Signa= ture Support. + + = + + Check list for configuring the IDP + + Configure the IDP as a secure web application. + + Configure the web.xml to either allow FORM or BASIC= authentication. + + Configure the context.xml for IDP valves. + + Configure the jboss-idfed.xml for IDP configuration. + + + + = +
+ Configure the IDP Web Application Security + + Configure the web application security for IDP + Follow the web.xml security configuration for the IDP= from the previous section + "Simple Usage". + + +
+ = +
+ Configure the IDP Valves + Create a context.xml file for configuring = + the valves for the IDP. + + The context.xml file should look like: + + + <Context> + <Valve = + className + =3D"org.jboss.identity.federation.bindings.tomcat.idp.IDPR= edirectWithSignatureValve" = + /> + </Context> + + = + = + If the IDP is running in Apache Tomcat, then place the = context.xml in = + META-INF of your IDP web = application. + + + = + + If the IDP is running in JBoss Application Server, the= n place the context.xml in = + WEB-INF of your IDP web a= pplication. + + + = +
+ = +
+ Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) + Configure jboss-idfed.xml in WEB-INF of your = + IDP web application + + <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > + <IdentityURL>http://localhost:8080/idp-sig</Identit= yURL> + <Trust> + <Domains>localhost,jboss.com,jboss.org</Domains&= gt; + </Trust> + <KeyProvider = + ClassName=3D"org.jboss.identity.federation.bindings.tomca= t.KeyStoreKeyManager"> + <Auth Key=3D"KeyStoreURL" Value=3D"jbid_test_keystore.= jks" /> + <Auth Key=3D"KeyStorePass" Value=3D"store123" /> + <Auth Key=3D"SigningKeyPass" Value=3D"test123" /> + <Auth Key=3D"SigningKeyAlias" Value=3D"servercert" /&g= t; + <ValidatingAlias Key=3D"localhost" Value=3D"servercert= "/> + <ValidatingAlias Key=3D"127.0.0.1" Value=3D"servercert= "/> + </KeyProvider> + </JBossIDP> + + = + In this configuration file, you are providing the URL of= your IDP. = + This is the URL that gets added as the issuer in the outgoing = SAML2 assertions = + to the Service Providers. + + + Additionally, you can configure the = Trust + element to indicate which domains the IDP trusts. + + + You can configure a TrustKeyManager + implementation for the Signing (Private) Key and the Validatin= g (Public) Key + information. In this example, we have used the = + KeyStoreKeyManager that + stores the keys in a Java KeyStore. The Auth + element define the key value pair needed to authenticate again= st the = + TrustKeyManager implementat= ion. The + ValidatingAlias is a map = of the domains + that need to be validated against an alias where the public ke= y of the domains + are stored. + +
+ = + = +
+ Configure the Service Provider (SP) + + Check List for configuring the Service Provider. + + + Configure the SP as a secure FORM authentication b= ased web application. + + Configure the web.xml of the SP web application. + + Configure the context.xml for the SP valves. + + Configure the jboss-idfed.xml for the SP configura= tion. + + + = + = + The SP can be a JBoss Application Server or a Tomcat insta= nce. + + + You need to configure a web application as the Service Provider(= SP). = + + = +
+ Configure the SP Web Application Security + + Configure the web application security for SP + Follow the web.xml security configuration for the SP = from the previous section + "Simple Usage". + + +
+ = +
+ Configure the SP Valves + Create a context.xml file for configuring = + the valves for the SP. + + The context.xml file should look like: + + + = + <Context> + <Valve + className=3D + "org.jboss.identity.federation.bindings.tomcat.sp.SPRedirect= SignatureFormAuthenticator" = + /> + </Context> + + + = + = + If the SP is running in Apache Tomcat, then place the c= ontext.xml in = + META-INF of your SP web a= pplication. + + + = + + If the SP is running in JBoss Application Server, then= place the context.xml in = + WEB-INF of your SP web ap= plication. + + + = +
+ = +
+ Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) + Configure jboss-idfed.xml in WEB-INF of your = + IDP web application + + <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > + <IdentityURL>http://localhost:8080/idp-sig</Identit= yURL> + <Trust> + <Domains>localhost,jboss.com,jboss.org</Domains&= gt; + </Trust> + <KeyProvider = + ClassName=3D"org.jboss.identity.federation.bindings.tomca= t.KeyStoreKeyManager"> + <Auth Key=3D"KeyStoreURL" Value=3D"jbid_test_keystore.= jks" /> + <Auth Key=3D"KeyStorePass" Value=3D"store123" /> + <Auth Key=3D"SigningKeyPass" Value=3D"test123" /> + <Auth Key=3D"SigningKeyAlias" Value=3D"servercert" /&g= t; + <ValidatingAlias Key=3D"localhost" Value=3D"servercert= "/> + <ValidatingAlias Key=3D"127.0.0.1" Value=3D"servercert= "/> + </KeyProvider> + </JBossIDP> + + = + In this configuration file, we define the URLs for the s= ervice provider and = + the identity provider. + + + Additionally, you can configure the = Trust + element to indicate which domains the SP trusts. + + + You can configure a TrustKeyManager + implementation for the Signing (Private) Key and the Validatin= g (Public) Key + information. In this example, we have used the = + KeyStoreKeyManager that + stores the keys in a Java KeyStore. The Auth + element define the key value pair needed to authenticate again= st the = + TrustKeyManager implementat= ion. The + ValidatingAlias is a map = of the domains + that need to be validated against an alias where the public ke= y of the domains + are stored. + +
+ = + + + = + + Troubleshooting + +
+ Configuring Logging + + JBoss Identity Federation uses Apache log4j as the logging fra= mework. + +
+ Configuring Logging on Apache Tomcat + + Log4J jars and xml file + + Add a log4j.jar (from the Apache log4j Distribution) into t= he lib directory of + tomcat 6.x or server/lib of tomcat 5.5.x + + Also add a log4j.xml as shown below to the lib direc= tory. + + + = + + <?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> + +<!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> +<!-- = --> +<!-- Log4j Configuration = --> +<!-- = --> +<!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + +<!-- + | For more configuration information and examples see the Jakarta Log4j + | owebsite: http://jakarta.apache.org/log4j + --> + +<log4j:configuration xmlns:log4j=3D"http://jakarta.apache.org/log4j/" d= ebug=3D"false"> + + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + <!-- Preserve messages in a local file --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + + <!-- A time/date based rolling appender --> + <appender name=3D"FILE" class=3D"org.apache.log4j.DailyRollingFileAp= pender"> + <param name=3D"File" value=3D"../logs/server.log"/> + <param name=3D"Append" value=3D"false"/> + <!-- = + Set the threshold via a system property. Note this is parsed by l= og4j, + so the full JBoss system property format is not supported; e.g. + setting a default via ${jboss.server.log.threshold:WARN} will not= work. = + --> + <param name=3D"Threshold" value=3D"TRACE"/> + + <!-- Rollover at midnight each day --> + <param name=3D"DatePattern" value=3D"'.'yyyy-MM-dd"/> + + <!-- Rollover at the top of each hour + <param name=3D"DatePattern" value=3D"'.'yyyy-MM-dd-HH"/> + --> + + <layout class=3D"org.apache.log4j.PatternLayout"> + <!-- The default pattern: Date Priority [Category] (Thread) Me= ssage\n --> + <param name=3D"ConversionPattern" value=3D"%d %-5p [%c] (%t) %= m%n"/> + + <!-- The full pattern: Date MS Priority [Category] (Thread:NDC= ) Message\n + <param name=3D"ConversionPattern" value=3D"%d %-5r %-5p [%c] (= %t:%x) %m%n"/> + --> + </layout> + </appender> + + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --> + <!-- Append messages to the console --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --> + + <appender name=3D"CONSOLE" class=3D"org.apache.log4j.ConsoleAppender= "> + <param name=3D"Target" value=3D"System.out"/> + <param name=3D"Threshold" value=3D"INFO"/> + + <layout class=3D"org.apache.log4j.PatternLayout"> + <!-- The default pattern: Date Priority [Category] Message\n -= -> + <param name=3D"ConversionPattern" value=3D"%d{ABSOLUTE} %-5p [= %c{1}] %m%n"/> + </layout> + </appender> + + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + <!-- Limit categories --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + + <!-- Limit the org.apache category to INFO as its DEBUG is verbose -= -> + <category name=3D"org.apache"> + <priority value=3D"TRACE"/> + </category> + <category name=3D"org.jboss"> + <priority value=3D"TRACE"/> + </category> + = + <!-- Setup the Root category --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D --> + + <root> + <appender-ref ref=3D"CONSOLE"/> + <appender-ref ref=3D"FILE"/> + </root> + +</log4j:configuration> + = + = + + Location of the generated log file + + The generated log file will be server.log in the logs direc= tory. + + + = +
+ = +
+ Configuring logging in JBoss + + You can configure log4j in the conf directory of your JBoss se= rver (default, all etc) + + + Please refer to JBoss AS documentation on logging. + +
+ = +
+
+
+ \ No newline at end of file --===============7191120357209948865==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:05:21 2009 Content-Type: multipart/mixed; boundary="===============1321415465712959373==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r273 - in idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl: configuration/jaxb2 and 1 other directory. Date: Mon, 02 Feb 2009 16:05:20 -0500 Message-ID: --===============1321415465712959373== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-02 16:05:20 -0500 (Mon, 02 Feb 2009) New Revision: 273 Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/IdentitySess= ionFactoryImpl.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/ja= xb2/JAXB2IdentityConfiguration.java Log: patch from TomB. Pass configuration with resource Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/Ident= itySessionFactoryImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/IdentitySes= sionFactoryImpl.java 2009-02-02 21:04:42 UTC (rev 272) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/IdentitySes= sionFactoryImpl.java 2009-02-02 21:05:20 UTC (rev 273) @@ -45,6 +45,7 @@ = /** * @author Boleslaw D= awidowicz + * @author Tom Baeyens * @version : 0.1 $ */ public class IdentitySessionFactoryImpl implements IdentitySessionFactory @@ -70,6 +71,14 @@ = } = + public IdentitySessionFactoryImpl(String configResource) throws Excepti= on + { + IdentityConfigurationMetaData configMD =3D JAXB2IdentityConfiguratio= n.createConfigurationMetaData(configResource); + + realmMap =3D createSessionMap(configMD); + + } + private Map createSessionMap(IdentityConfigura= tionMetaData configMD) throws Exception { //TODO: some validation, sanity checks and error reporting Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configura= tion/jaxb2/JAXB2IdentityConfiguration.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/j= axb2/JAXB2IdentityConfiguration.java 2009-02-02 21:04:42 UTC (rev 272) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/j= axb2/JAXB2IdentityConfiguration.java 2009-02-02 21:05:20 UTC (rev 273) @@ -56,6 +56,9 @@ import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.InputStream; import java.util.List; import java.util.Map; import java.util.HashMap; @@ -65,6 +68,7 @@ = /** * @author Boleslaw D= awidowicz + * @author Tom Baeyens * @version : 0.1 $ */ public abstract class JAXB2IdentityConfiguration @@ -79,16 +83,43 @@ attributeTypes.add("binary"); } = + public static IdentityConfigurationMetaData createConfigurationMetaData= (File configFile) throws IdentityConfigurationException + { + if (configFile =3D=3D null) + { + throw new IllegalArgumentException("Identity config file is null"= ); + } + = + InputStream inputStream; + try + { + inputStream =3D new FileInputStream(configFile); + } catch (FileNotFoundException e) + { + throw new IllegalArgumentException("Identity config file "+config= File.getAbsolutePath()+" does not exist"); + } + return createConfigurationMetaData(inputStream); + } = - - public static IdentityConfigurationMetaData createConfigurationMetaData= (File xmlConfig) throws IdentityConfigurationException + public static IdentityConfigurationMetaData createConfigurationMetaData= (String configResource) throws IdentityConfigurationException { = - if (xmlConfig =3D=3D null || !xmlConfig.exists()) + ClassLoader classLoader =3D Thread.currentThread().getContextClassLo= ader(); + InputStream inputStream =3D classLoader.getResourceAsStream(configRe= source); + if (inputStream =3D=3D null) { - throw new IllegalArgumentException("File does not exist"); + throw new IllegalArgumentException("Resource "+configResource+" d= oes not exist"); } + return createConfigurationMetaData(inputStream); + } = + public static IdentityConfigurationMetaData createConfigurationMetaData= (InputStream configInputStream) throws IdentityConfigurationException + { + if (configInputStream =3D=3D null) + { + throw new IllegalArgumentException("no config resource"); + } + JAXBElement jiElement =3D null; = Object o =3D null; @@ -97,7 +128,7 @@ JAXBContext jaxbContext =3D JAXBContext.newInstance("org.jboss.id= entity.idm.impl.configuration.jaxb2.generated"); Unmarshaller unMarshaller =3D jaxbContext.createUnmarshaller(); = - jiElement =3D (JAXBElement)unMarshaller.unmars= hal(xmlConfig); + jiElement =3D (JAXBElement)unMarshaller.unmars= hal(configInputStream); } catch (JAXBException e) { --===============1321415465712959373==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:10:05 2009 Content-Type: multipart/mixed; boundary="===============1631534095754058868==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r274 - identity-federation/trunk/doc/DeveloperGuide/src/main/docbook. Date: Mon, 02 Feb 2009 16:10:05 -0500 Message-ID: --===============1631534095754058868== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:10:05 -0500 (Mon, 02 Feb 2009) New Revision: 274 Modified: identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/DeveloperG= uide.xml Log: update dev guide Modified: identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Dev= eloperGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Developer= Guide.xml 2009-02-02 21:05:20 UTC (rev 273) +++ identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Developer= Guide.xml 2009-02-02 21:10:05 UTC (rev 274) @@ -166,6 +166,4 @@ = - = - = --===============1631534095754058868==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:10:25 2009 Content-Type: multipart/mixed; boundary="===============0450662110904967084==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r275 - in identity-federation/trunk/doc: DeveloperGuide and 9 other directories. Date: Mon, 02 Feb 2009 16:10:25 -0500 Message-ID: --===============0450662110904967084== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:10:25 -0500 (Mon, 02 Feb 2009) New Revision: 275 Modified: identity-federation/trunk/doc/ identity-federation/trunk/doc/DeveloperGuide/ identity-federation/trunk/doc/DeveloperGuide/src/ identity-federation/trunk/doc/DeveloperGuide/src/main/ identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/ identity-federation/trunk/doc/UserGuide/ identity-federation/trunk/doc/UserGuide/src/ identity-federation/trunk/doc/UserGuide/src/main/ identity-federation/trunk/doc/UserGuide/src/main/docbook/ identity-federation/trunk/doc/UserGuide/src/main/docbook/images/ identity-federation/trunk/doc/images/ Log: recursive svn ignore target Property changes on: identity-federation/trunk/doc ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/DeveloperGuide ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/DeveloperGuide/src ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/DeveloperGuide/src/main ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/DeveloperGuide/src/main/= docbook ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/UserGuide ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/UserGuide/src ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/UserGuide/src/main ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/UserGuide/src/main/docbo= ok ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/UserGuide/src/main/docbo= ok/images ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse Property changes on: identity-federation/trunk/doc/images ___________________________________________________________________ Name: svn:ignore + target .settings .target-eclipse --===============0450662110904967084==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:36:56 2009 Content-Type: multipart/mixed; boundary="===============4927137055347569595==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r276 - in identity-federation/trunk/doc: UserGuide/src/main/docbook and 1 other directory. Date: Mon, 02 Feb 2009 16:36:56 -0500 Message-ID: --===============4927137055347569595== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:36:55 -0500 (Mon, 02 Feb 2009) New Revision: 276 Modified: identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/DeveloperG= uide.xml identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuide.xml Log: update resources in the guides Modified: identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Dev= eloperGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Developer= Guide.xml 2009-02-02 21:10:25 UTC (rev 275) +++ identity-federation/trunk/doc/DeveloperGuide/src/main/docbook/Developer= Guide.xml 2009-02-02 21:36:55 UTC (rev 276) @@ -32,6 +32,10 @@ available to you to create applications and services for your needs wi= th Federated Identity. = + = + Part IV 'Resources' provides additional resources. + + = = @@ -166,4 +170,18 @@ = + = + + Resources + + Resources on the Web + + JBossIdentity P= roject Page + + + JB= oss Identity Design Forum + + + Modified: identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuid= e.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuide.xml = 2009-02-02 21:10:25 UTC (rev 275) +++ identity-federation/trunk/doc/UserGuide/src/main/docbook/UserGuide.xml = 2009-02-02 21:36:55 UTC (rev 276) @@ -37,9 +37,12 @@ with advanced features such as Trust Management and XML Digital Signatures. = - Part IV 'Trouble Shooting' section describes some basic + Part IV 'Trouble Shooting' describes some basic troubleshooting tips when things do not work the way they were intende= d. + = + Part V 'Resources' provides additional resources. + = @@ -796,4 +799,19 @@
+ = + + Resources + + Resources on the Web + + JBossIdentity P= roject Page + + + + JBoss Identity Design Forum + + + \ No newline at end of file --===============4927137055347569595==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:46:37 2009 Content-Type: multipart/mixed; boundary="===============8804049610049357119==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r277 - identity-federation/trunk/parent. Date: Mon, 02 Feb 2009 16:46:36 -0500 Message-ID: --===============8804049610049357119== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:46:36 -0500 (Mon, 02 Feb 2009) New Revision: 277 Modified: identity-federation/trunk/parent/pom.xml Log: update JBossXACML dep Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 21:36:55 UTC (rev 2= 76) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 21:46:36 UTC (rev 2= 77) @@ -113,7 +113,7 @@ org.jboss.security jboss-xacml-saml - 2.0.3-SNAPSHOT + 2.0.3.alpha javax.persistence --===============8804049610049357119==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:52:41 2009 Content-Type: multipart/mixed; boundary="===============3862884561613073632==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r278 - in identity-federation/trunk: assembly and 9 other directories. Date: Mon, 02 Feb 2009 16:52:41 -0500 Message-ID: --===============3862884561613073632== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:52:41 -0500 (Mon, 02 Feb 2009) New Revision: 278 Modified: identity-federation/trunk/assembly/pom.xml identity-federation/trunk/doc/DeveloperGuide/pom.xml identity-federation/trunk/doc/UserGuide/pom.xml identity-federation/trunk/doc/pom.xml identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-core/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/parent/pom.xml identity-federation/trunk/pom.xml Log: [maven-release-plugin] prepare release 1.0.0.alpha1 Modified: identity-federation/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-02 21:46:36 UTC (rev= 277) +++ identity-federation/trunk/assembly/pom.xml 2009-02-02 21:52:41 UTC (rev= 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/doc/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 21:46:3= 6 UTC (rev 277) +++ identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 21:52:4= 1 UTC (rev 278) @@ -1,10 +1,8 @@ - + org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../../parent = @@ -12,13 +10,13 @@ = org.jboss.identity.federation Developer-Guide-${translation} - 1.0.0-SNAPSHOT + 1.0.0.alpha1 jdocbook Developer Guide (${translation}) - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/iden= tity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/iden= tity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identit= y-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/t= ags/1.0.0.alpha1 = = @@ -90,4 +88,4 @@ en-US = - + \ No newline at end of file Modified: identity-federation/trunk/doc/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 21:46:36 UTC= (rev 277) +++ identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 21:52:41 UTC= (rev 278) @@ -1,11 +1,9 @@ - + = org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../../parent = @@ -13,13 +11,13 @@ = org.jboss.identity.federation User-Guide-${translation} - 1.0.0-SNAPSHOT + 1.0.0.alpha1 jdocbook User Guide (${translation}) - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/iden= tity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/iden= tity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identit= y-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/t= ags/1.0.0.alpha1 = @@ -90,4 +88,4 @@ en-US = - + \ No newline at end of file Modified: identity-federation/trunk/doc/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/pom.xml 2009-02-02 21:46:36 UTC (rev 277) +++ identity-federation/trunk/doc/pom.xml 2009-02-02 21:52:41 UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent = Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 21:46:36= UTC (rev 277) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 21:52:41= UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -132,7 +132,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -141,4 +141,4 @@ - + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 21:46:36 = UTC (rev 277) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 21:52:41 = UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 @@ -106,7 +106,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -115,4 +115,4 @@ - + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 21:46:36= UTC (rev 277) +++ identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 21:52:41= UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 @@ -101,7 +101,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -110,4 +110,4 @@ - + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 21:46:3= 6 UTC (rev 277) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 21:52:4= 1 UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 @@ -123,7 +123,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -132,4 +132,4 @@ - + \ No newline at end of file Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 21:46= :36 UTC (rev 277) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 21:52= :41 UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 @@ -100,7 +100,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -109,4 +109,4 @@ - + \ No newline at end of file Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 21:46:36 UTC (rev 2= 77) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 21:52:41 UTC (rev 2= 78) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-fed-parent pom - 1.0.0-SNAPSHOT + 1.0.0.alpha1 JBoss Identity Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/trunk + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/tag= s/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 = Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-02 21:46:36 UTC (rev 277) +++ identity-federation/trunk/pom.xml 2009-02-02 21:52:41 UTC (rev 278) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 parent 4.0.0 --===============3862884561613073632==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:54:32 2009 Content-Type: multipart/mixed; boundary="===============3982462853300173511==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r279 - identity-federation. Date: Mon, 02 Feb 2009 16:54:32 -0500 Message-ID: --===============3982462853300173511== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:54:32 -0500 (Mon, 02 Feb 2009) New Revision: 279 Added: identity-federation/branches/ Log: JBID-38: branches dir --===============3982462853300173511==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 16:54:48 2009 Content-Type: multipart/mixed; boundary="===============6005476711266578037==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r280 - identity-federation. Date: Mon, 02 Feb 2009 16:54:48 -0500 Message-ID: --===============6005476711266578037== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 16:54:48 -0500 (Mon, 02 Feb 2009) New Revision: 280 Added: identity-federation/tags/ Log: JBID-38: tags dir --===============6005476711266578037==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:01:53 2009 Content-Type: multipart/mixed; boundary="===============0120810793543707475==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r281 - in identity-federation/trunk: assembly and 8 other directories. Date: Mon, 02 Feb 2009 17:01:53 -0500 Message-ID: --===============0120810793543707475== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:01:52 -0500 (Mon, 02 Feb 2009) New Revision: 281 Modified: identity-federation/trunk/assembly/pom.xml identity-federation/trunk/doc/DeveloperGuide/pom.xml identity-federation/trunk/doc/UserGuide/pom.xml identity-federation/trunk/doc/pom.xml identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-core/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/pom.xml Log: JBID-38: putback SNAPSHOT for botched release Modified: identity-federation/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-02 21:54:48 UTC (rev= 280) +++ identity-federation/trunk/assembly/pom.xml 2009-02-02 22:01:52 UTC (rev= 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/doc/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 21:54:4= 8 UTC (rev 280) +++ identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:01:5= 2 UTC (rev 281) @@ -2,15 +2,13 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../../parent = 4.0.0 - org.jboss.identity.federation Developer-Guide-${translation} - 1.0.0.alpha1 jdocbook Developer Guide (${translation}) @@ -88,4 +86,4 @@ en-US = - \ No newline at end of file + Modified: identity-federation/trunk/doc/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 21:54:48 UTC= (rev 280) +++ identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:01:52 UTC= (rev 281) @@ -3,7 +3,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../../parent = @@ -11,7 +11,6 @@ = org.jboss.identity.federation User-Guide-${translation} - 1.0.0.alpha1 jdocbook User Guide (${translation}) @@ -88,4 +87,4 @@ en-US = - \ No newline at end of file + Modified: identity-federation/trunk/doc/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/pom.xml 2009-02-02 21:54:48 UTC (rev 280) +++ identity-federation/trunk/doc/pom.xml 2009-02-02 22:01:52 UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent = Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 21:54:48= UTC (rev 280) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 22:01:52= UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent 4.0.0 @@ -141,4 +141,4 @@ - \ No newline at end of file + Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 21:54:48 = UTC (rev 280) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 22:01:52 = UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent 4.0.0 @@ -115,4 +115,4 @@ - \ No newline at end of file + Modified: identity-federation/trunk/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 21:54:48= UTC (rev 280) +++ identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 22:01:52= UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent 4.0.0 @@ -110,4 +110,4 @@ - \ No newline at end of file + Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 21:54:4= 8 UTC (rev 280) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 22:01:5= 2 UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent 4.0.0 @@ -132,4 +132,4 @@ - \ No newline at end of file + Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 21:54= :48 UTC (rev 280) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:01= :52 UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT ../parent 4.0.0 @@ -109,4 +109,4 @@ - \ No newline at end of file + Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-02 21:54:48 UTC (rev 280) +++ identity-federation/trunk/pom.xml 2009-02-02 22:01:52 UTC (rev 281) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0-SNAPSHOT parent 4.0.0 --===============0120810793543707475==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:05:46 2009 Content-Type: multipart/mixed; boundary="===============7344940959165090874==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r282 - identity-federation/trunk/parent. Date: Mon, 02 Feb 2009 17:05:46 -0500 Message-ID: --===============7344940959165090874== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:05:46 -0500 (Mon, 02 Feb 2009) New Revision: 282 Modified: identity-federation/trunk/parent/pom.xml Log: JBID-38: putback SNAPSHOT for botched release Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 22:01:52 UTC (rev 2= 81) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 22:05:46 UTC (rev 2= 82) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-fed-parent pom - 1.0.0.alpha1 + 1.0.0-SNAPSHOT JBoss Identity Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects --===============7344940959165090874==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:08:36 2009 Content-Type: multipart/mixed; boundary="===============6933942922984524522==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r283 - in identity-federation/trunk: assembly and 9 other directories. Date: Mon, 02 Feb 2009 17:08:36 -0500 Message-ID: --===============6933942922984524522== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:08:35 -0500 (Mon, 02 Feb 2009) New Revision: 283 Modified: identity-federation/trunk/assembly/pom.xml identity-federation/trunk/doc/DeveloperGuide/pom.xml identity-federation/trunk/doc/UserGuide/pom.xml identity-federation/trunk/doc/pom.xml identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-core/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/parent/pom.xml identity-federation/trunk/pom.xml Log: [maven-release-plugin] prepare release 1.0.0.alpha1 Modified: identity-federation/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-02 22:05:46 UTC (rev= 282) +++ identity-federation/trunk/assembly/pom.xml 2009-02-02 22:08:35 UTC (rev= 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/doc/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:05:4= 6 UTC (rev 282) +++ identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:08:3= 5 UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../../parent = Modified: identity-federation/trunk/doc/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:05:46 UTC= (rev 282) +++ identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:08:35 UTC= (rev 283) @@ -3,7 +3,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../../parent = Modified: identity-federation/trunk/doc/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/pom.xml 2009-02-02 22:05:46 UTC (rev 282) +++ identity-federation/trunk/doc/pom.xml 2009-02-02 22:08:35 UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent = Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 22:05:46= UTC (rev 282) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 22:08:35= UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 22:05:46 = UTC (rev 282) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 22:08:35 = UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 22:05:46= UTC (rev 282) +++ identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 22:08:35= UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 22:05:4= 6 UTC (rev 282) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 22:08:3= 5 UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:05= :46 UTC (rev 282) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:08= :35 UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 22:05:46 UTC (rev 2= 82) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 22:08:35 UTC (rev 2= 83) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-fed-parent pom - 1.0.0-SNAPSHOT + 1.0.0.alpha1 JBoss Identity Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-02 22:05:46 UTC (rev 282) +++ identity-federation/trunk/pom.xml 2009-02-02 22:08:35 UTC (rev 283) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 parent 4.0.0 --===============6933942922984524522==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:13:41 2009 Content-Type: multipart/mixed; boundary="===============7990981983590245940==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r284 - in identity-federation/trunk: doc/UserGuide and 2 other directories. Date: Mon, 02 Feb 2009 17:13:40 -0500 Message-ID: --===============7990981983590245940== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:13:40 -0500 (Mon, 02 Feb 2009) New Revision: 284 Modified: identity-federation/trunk/doc/DeveloperGuide/pom.xml identity-federation/trunk/doc/UserGuide/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/parent/pom.xml Log: JBID-38: fix the urls Modified: identity-federation/trunk/doc/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:08:3= 5 UTC (rev 283) +++ identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:13:4= 0 UTC (rev 284) @@ -12,9 +12,9 @@ jdocbook Developer Guide (${translation}) - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidentit= y/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/t= ags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-federation/tags/1.0.0.alpha1 = = Modified: identity-federation/trunk/doc/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:08:35 UTC= (rev 283) +++ identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:13:40 UTC= (rev 284) @@ -14,9 +14,9 @@ jdocbook User Guide (${translation}) - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidentit= y/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/t= ags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-federation/tags/1.0.0.alpha1 = Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:08= :35 UTC (rev 283) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:13= :40 UTC (rev 284) @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 22:08:35 UTC (rev 2= 83) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 22:13:40 UTC (rev 2= 84) @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/tag= s/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 = --===============7990981983590245940==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:22:15 2009 Content-Type: multipart/mixed; boundary="===============7151429352098658600==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r285 - identity-federation/trunk/parent. Date: Mon, 02 Feb 2009 17:22:15 -0500 Message-ID: --===============7151429352098658600== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:22:15 -0500 (Mon, 02 Feb 2009) New Revision: 285 Modified: identity-federation/trunk/parent/pom.xml Log: JBID-38: fix tag url Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 22:13:40 UTC (rev 2= 84) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 22:22:15 UTC (rev 2= 85) @@ -32,7 +32,7 @@ maven-release-plugin - https://svn.jboss.org/repos/jbossidentity/tags + https://svn.jboss.org/repos/jbossidentity/identity-fe= deration/tags --===============7151429352098658600==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:22:35 2009 Content-Type: multipart/mixed; boundary="===============7285671286065475295==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r286 - in identity-federation/tags: 1.0.0.alpha1 and 10 other directories. Date: Mon, 02 Feb 2009 17:22:35 -0500 Message-ID: --===============7285671286065475295== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:22:35 -0500 (Mon, 02 Feb 2009) New Revision: 286 Added: identity-federation/tags/1.0.0.alpha1/ identity-federation/tags/1.0.0.alpha1/assembly/pom.xml identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml identity-federation/tags/1.0.0.alpha1/doc/pom.xml identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml identity-federation/tags/1.0.0.alpha1/parent/pom.xml identity-federation/tags/1.0.0.alpha1/pom.xml Removed: identity-federation/tags/1.0.0.alpha1/assembly/pom.xml identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml identity-federation/tags/1.0.0.alpha1/doc/pom.xml identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml identity-federation/tags/1.0.0.alpha1/parent/pom.xml identity-federation/tags/1.0.0.alpha1/pom.xml Log: [maven-release-plugin] copy for tag 1.0.0.alpha1 Copied: identity-federation/tags/1.0.0.alpha1 (from rev 276, identity-feder= ation/trunk) Deleted: identity-federation/tags/1.0.0.alpha1/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-02 21:36:55 UTC (rev= 276) +++ identity-federation/tags/1.0.0.alpha1/assembly/pom.xml 2009-02-02 22:22= :35 UTC (rev 286) @@ -1,63 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - org.jboss.identity - jboss-identity-fed - pom - JBoss Identity Federation- Assembly - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity Federation - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - = - - - - org.apache.maven.plugins - maven-assembly-plugin - 2.1 - - - package - - attached - - - - - - - JBoss Identity - ${project.version} - Red Hat Middleware LLC - JBoss Identity - ${project.version} - org.jboss.security - Red Hat Middleware LLC - http://labs.jboss.org/portal/jbosssecuri= ty/ - - - - bin.xml - sources.xml - - - false - - - - = - Copied: identity-federation/tags/1.0.0.alpha1/assembly/pom.xml (from rev 28= 3, identity-federation/trunk/assembly/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/assembly/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/assembly/pom.xml 2009-02-02 22:22= :35 UTC (rev 286) @@ -0,0 +1,63 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + org.jboss.identity + jboss-identity-fed + pom + JBoss Identity Federation- Assembly + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity Federation + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.1 + + + package + + attached + + + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssecuri= ty/ + + + + bin.xml + sources.xml + + + false + + + + = + Deleted: identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 21:36:5= 5 UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml 2009-0= 2-02 22:22:35 UTC (rev 286) @@ -1,93 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../../parent - - - 4.0.0 - - org.jboss.identity.federation - Developer-Guide-${translation} - 1.0.0-SNAPSHOT - jdocbook - Developer Guide (${translation}) - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/iden= tity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/iden= tity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identit= y-federation/trunk - - - - - - - org.jboss.maven.plugins - maven-jdocbook-plugin - 2.0.0 - true - - - org.jboss - jbossorg-docbook-xslt - 1.1.0 - - - org.jboss - jbossorg-jdocbook-style - 1.1.0 - jdocbook-style - - - - DeveloperGuide.xml - - ${basedir}/src/main/docbook - - ${basedir}/../images/*.png - - - - - - pdf - classpath:/xslt/org/jboss/= pdf.xsl - DeveloperGuide.pdf - - - html - classpath:/xslt/org/jboss/xhtml.xsl - index.html - - - html_single - classpath:/xslt/org/jboss/= xhtml-single.xsl - index.html - - - eclipse - classpath:/xslt/org/jboss/= eclipse.xsl - index.html - - - - true - saxon - - - 1.72.0 - - - - - - - - en-US - = - Copied: identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml (f= rom rev 284, identity-federation/trunk/doc/DeveloperGuide/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/doc/DeveloperGuide/pom.xml 2009-0= 2-02 22:22:35 UTC (rev 286) @@ -0,0 +1,89 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../../parent + + + 4.0.0 + org.jboss.identity.federation + Developer-Guide-${translation} + jdocbook + Developer Guide (${translation}) + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-federation/tags/1.0.0.alpha1 + + + + + + + org.jboss.maven.plugins + maven-jdocbook-plugin + 2.0.0 + true + + + org.jboss + jbossorg-docbook-xslt + 1.1.0 + + + org.jboss + jbossorg-jdocbook-style + 1.1.0 + jdocbook-style + + + + DeveloperGuide.xml + + ${basedir}/src/main/docbook + + ${basedir}/../images/*.png + + + + + + pdf + classpath:/xslt/org/jboss/= pdf.xsl + DeveloperGuide.pdf + + + html + classpath:/xslt/org/jboss/xhtml.xsl + index.html + + + html_single + classpath:/xslt/org/jboss/= xhtml-single.xsl + index.html + + + eclipse + classpath:/xslt/org/jboss/= eclipse.xsl + index.html + + + + true + saxon + + + 1.72.0 + + + + + + + + en-US + = + Deleted: identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 21:36:55 UTC= (rev 276) +++ identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml 2009-02-02 = 22:22:35 UTC (rev 286) @@ -1,93 +0,0 @@ - - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../../parent - - - 4.0.0 - - org.jboss.identity.federation - User-Guide-${translation} - 1.0.0-SNAPSHOT - jdocbook - User Guide (${translation}) - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/iden= tity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/iden= tity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identit= y-federation/trunk - - - - - - org.jboss.maven.plugins - maven-jdocbook-plugin - 2.0.0 - true - - - org.jboss - jbossorg-docbook-xslt - 1.1.0 - - - org.jboss - jbossorg-jdocbook-style - 1.1.0 - jdocbook-style - - - - UserGuide.xml - - ${basedir}/src/main/docbook - - ${basedir}/../images/*.png - - - - - - pdf - classpath:/xslt/org/jboss/= pdf.xsl - UserGuide.pdf - - - html - classpath:/xslt/org/jboss/xhtml.xsl - index.html - - - html_single - classpath:/xslt/org/jboss/= xhtml-single.xsl - index.html - - - eclipse - classpath:/xslt/org/jboss/= eclipse.xsl - index.html - - - - true - saxon - - - 1.72.0 - - - - - - - - en-US - = - Copied: identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml (from r= ev 284, identity-federation/trunk/doc/UserGuide/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/doc/UserGuide/pom.xml 2009-02-02 = 22:22:35 UTC (rev 286) @@ -0,0 +1,90 @@ + + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../../parent + + + 4.0.0 + + org.jboss.identity.federation + User-Guide-${translation} + jdocbook + User Guide (${translation}) + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-federation/tags/1.0.0.alpha1 + + + + + + org.jboss.maven.plugins + maven-jdocbook-plugin + 2.0.0 + true + + + org.jboss + jbossorg-docbook-xslt + 1.1.0 + + + org.jboss + jbossorg-jdocbook-style + 1.1.0 + jdocbook-style + + + + UserGuide.xml + + ${basedir}/src/main/docbook + + ${basedir}/../images/*.png + + + + + + pdf + classpath:/xslt/org/jboss/= pdf.xsl + UserGuide.pdf + + + html + classpath:/xslt/org/jboss/xhtml.xsl + index.html + + + html_single + classpath:/xslt/org/jboss/= xhtml-single.xsl + index.html + + + eclipse + classpath:/xslt/org/jboss/= eclipse.xsl + index.html + + + + true + saxon + + + 1.72.0 + + + + + + + + en-US + = + Deleted: identity-federation/tags/1.0.0.alpha1/doc/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/pom.xml 2009-02-02 21:36:55 UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/doc/pom.xml 2009-02-02 22:22:35 U= TC (rev 286) @@ -1,20 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - - 4.0.0 - org.jboss.identity.federation.docs - jboss-identity-federation-docs - pom - JBoss Identity Federation Docs - http://www.jboss.com/products/jbossidentity - JBoss Identity Federation Documentation - - UserGuide - DeveloperGuide - - Copied: identity-federation/tags/1.0.0.alpha1/doc/pom.xml (from rev 283, id= entity-federation/trunk/doc/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/doc/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/doc/pom.xml 2009-02-02 22:22:35 U= TC (rev 286) @@ -0,0 +1,20 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + + 4.0.0 + org.jboss.identity.federation.docs + jboss-identity-federation-docs + pom + JBoss Identity Federation Docs + http://www.jboss.com/products/jbossidentity + JBoss Identity Federation Documentation + + UserGuide + DeveloperGuide + + Deleted: identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 21:36:55= UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml 2009-02= -02 22:22:35 UTC (rev 286) @@ -1,144 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-bindings - jar - JBoss Identity Federation Server Bindings - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity OpenSAML contains the foundation for Federa= ted Identity Needs. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - org.jboss.identity - jboss-identity-fed-model - ${project.version} - - - org.jboss.identity - jboss-identity-fed-api - ${project.version} - - - javax.servlet - servlet-api - 2.4 - - - org.apache.tomcat - catalina - 6.0.18 - - - org.apache.tomcat - coyote - 6.0.18 - test - - - apache-tomcat - tomcat-util - 5.5.12 - test - - - apache-tomcat - naming-resources - 5.5.12 - test - - - apache-tomcat - tomcat-http - 5.5.12 - test - - - apache-logging - commons-logging-api - 1.0.3 - test - - - apache-modeler - commons-modeler - 1.1patch - test - - - sun-jaf - activation - 1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml (fr= om rev 283, identity-federation/trunk/identity-bindings/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/identity-bindings/pom.xml 2009-02= -02 22:22:35 UTC (rev 286) @@ -0,0 +1,144 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-identity-bindings + jar + JBoss Identity Federation Server Bindings + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity OpenSAML contains the foundation for Federa= ted Identity Needs. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-fed-model + ${project.version} + + + org.jboss.identity + jboss-identity-fed-api + ${project.version} + + + javax.servlet + servlet-api + 2.4 + + + org.apache.tomcat + catalina + 6.0.18 + + + org.apache.tomcat + coyote + 6.0.18 + test + + + apache-tomcat + tomcat-util + 5.5.12 + test + + + apache-tomcat + naming-resources + 5.5.12 + test + + + apache-tomcat + tomcat-http + 5.5.12 + test + + + apache-logging + commons-logging-api + 1.0.3 + test + + + apache-modeler + commons-modeler + 1.1patch + test + + + sun-jaf + activation + 1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + Deleted: identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 21:36:55 = UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml 2009-02-= 02 22:22:35 UTC (rev 286) @@ -1,118 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-fed-api - jar - JBoss Identity Federation Consolidated API - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity Federation API contains the API to be used = by the users of JBoss Identity Federation. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - org.jboss.identity - jboss-identity-fed-model - ${project.version} - - - org.jboss.identity - jboss-identity-fed-core - ${project.version} - - - sun-jaxb - jaxb-api - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml (fro= m rev 283, identity-federation/trunk/identity-fed-api/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/identity-fed-api/pom.xml 2009-02-= 02 22:22:35 UTC (rev 286) @@ -0,0 +1,118 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-identity-fed-api + jar + JBoss Identity Federation Consolidated API + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity Federation API contains the API to be used = by the users of JBoss Identity Federation. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-fed-model + ${project.version} + + + org.jboss.identity + jboss-identity-fed-core + ${project.version} + + + sun-jaxb + jaxb-api + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + Deleted: identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 21:36:55= UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml 2009-02= -02 22:22:35 UTC (rev 286) @@ -1,113 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-fed-core - jar - JBoss Identity Federation Core - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity Federation Core contains the core infrastru= cture code - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - org.jboss.identity - jboss-identity-fed-model - ${project.version} - - - sun-jaxb - jaxb-api - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml (fr= om rev 283, identity-federation/trunk/identity-fed-core/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/identity-fed-core/pom.xml 2009-02= -02 22:22:35 UTC (rev 286) @@ -0,0 +1,113 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-identity-fed-core + jar + JBoss Identity Federation Core + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity Federation Core contains the core infrastru= cture code + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-fed-model + ${project.version} + + + sun-jaxb + jaxb-api + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + Deleted: identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 21:36:5= 5 UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml 2009-0= 2-02 22:22:35 UTC (rev 286) @@ -1,135 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-fed-model - jar - JBoss Identity Federation Model - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity Federation Model contains the JAXB2 model.<= /description> - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - org.jboss.identity - jboss-identity-xmlsec-model - ${project.version} - - - apache-log4j - log4j - - - apache-xmlsec - xmlsec - - - apache-logging - commons-logging-api - - - org.jboss.security - jboss-xacml-saml - - - sun-jaxb - jaxb-api - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - apache-xalan - serializer - 2.7.0.patch01-brew - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml (f= rom rev 283, identity-federation/trunk/identity-fed-model/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/identity-fed-model/pom.xml 2009-0= 2-02 22:22:35 UTC (rev 286) @@ -0,0 +1,135 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-identity-fed-model + jar + JBoss Identity Federation Model + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity Federation Model contains the JAXB2 model.<= /description> + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-xmlsec-model + ${project.version} + + + apache-log4j + log4j + + + apache-xmlsec + xmlsec + + + apache-logging + commons-logging-api + + + org.jboss.security + jboss-xacml-saml + + + sun-jaxb + jaxb-api + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + apache-xalan + serializer + 2.7.0.patch01-brew + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + Deleted: identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 21:36= :55 UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml 2009= -02-02 22:22:35 UTC (rev 286) @@ -1,112 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-xmlsec-model - jar - JBoss Identity Federation XML Security Model - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity Federation XML Security Model contains the = JAXB2 model for W3C XML Signature and XML Encryption specifications. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/jbossidentity/ide= ntity-federation/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/identi= ty-federation/trunk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - apache-log4j - log4j - - - sun-jaxb - jaxb-api - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml = (from rev 284, identity-federation/trunk/identity-xmlsecmodel/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/identity-xmlsecmodel/pom.xml 2009= -02-02 22:22:35 UTC (rev 286) @@ -0,0 +1,112 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-identity-xmlsec-model + jar + JBoss Identity Federation XML Security Model + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity Federation XML Security Model contains the = JAXB2 model for W3C XML Signature and XML Encryption specifications. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + apache-log4j + log4j + + + sun-jaxb + jaxb-api + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + Deleted: identity-federation/tags/1.0.0.alpha1/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 21:36:55 UTC (rev 2= 76) +++ identity-federation/tags/1.0.0.alpha1/parent/pom.xml 2009-02-02 22:22:3= 5 UTC (rev 286) @@ -1,131 +0,0 @@ - - - org.jboss - jboss-parent - 4 - - 4.0.0 - org.jboss.identity - jboss-identity-fed-parent - pom - 1.0.0-SNAPSHOT - JBoss Identity Federation- Parent - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/trunk - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/trunk - - = - - - - maven-release-plugin - - https://svn.jboss.org/repos/jbossidentity/tags - - - - - - - maven-surefire-plugin - - true - false - true - - **/**TestCase.java - - pertest - ${surefire.jvm.args} - false - false - - - - - - = - - - repository.jboss.org - JBoss Repository - default - http://repository.jboss.org/maven2/ - - false - - - - - snapshots.jboss.org - JBoss Snapshots Repository - default - http://snapshots.jboss.org/maven2/ - - true - - - false - - - - = - - - - org.apache.maven.plugins - maven-war-plugin - 2.0.2 - - - junit - junit - 4.4 - test - - - apache-log4j - log4j - 1.2.14 - - - apache-xmlsec - xmlsec - 1.3.0 - - - apache-logging - commons-logging-api - 1.0.3 - - - org.jboss.security - jboss-xacml-saml - 2.0.3-SNAPSHOT - - - javax.persistence - persistence-api - 1.0 - - - sun-jaxb - jaxb-api - 2.1.9 - - - - - Copied: identity-federation/tags/1.0.0.alpha1/parent/pom.xml (from rev 285,= identity-federation/trunk/parent/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/parent/pom.xml = (rev 0) +++ identity-federation/tags/1.0.0.alpha1/parent/pom.xml 2009-02-02 22:22:3= 5 UTC (rev 286) @@ -0,0 +1,131 @@ + + + org.jboss + jboss-parent + 4 + + 4.0.0 + org.jboss.identity + jboss-identity-fed-parent + pom + 1.0.0.alpha1 + JBoss Identity Federation- Parent + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + + = + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/identity-fe= deration/tags + + + + + + + maven-surefire-plugin + + true + false + true + + **/**TestCase.java + + pertest + ${surefire.jvm.args} + false + false + + + + + + = + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + + + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + + = + + + + org.apache.maven.plugins + maven-war-plugin + 2.0.2 + + + junit + junit + 4.4 + test + + + apache-log4j + log4j + 1.2.14 + + + apache-xmlsec + xmlsec + 1.3.0 + + + apache-logging + commons-logging-api + 1.0.3 + + + org.jboss.security + jboss-xacml-saml + 2.0.3.alpha + + + javax.persistence + persistence-api + 1.0 + + + sun-jaxb + jaxb-api + 2.1.9 + + + + + Deleted: identity-federation/tags/1.0.0.alpha1/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-02 21:36:55 UTC (rev 276) +++ identity-federation/tags/1.0.0.alpha1/pom.xml 2009-02-02 22:22:35 UTC (= rev 286) @@ -1,26 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0-SNAPSHOT - parent - - 4.0.0 - org.jboss.identity - jboss-identity-fed-pom - pom - JBoss Identity Federation- Aggregator - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity Federation is the federated identity projec= t for JEMS projects - - - parent - identity-xmlsecmodel - identity-fed-model - identity-fed-core - identity-fed-api - identity-bindings - doc - assembly - - Copied: identity-federation/tags/1.0.0.alpha1/pom.xml (from rev 283, identi= ty-federation/trunk/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/tags/1.0.0.alpha1/pom.xml (= rev 0) +++ identity-federation/tags/1.0.0.alpha1/pom.xml 2009-02-02 22:22:35 UTC (= rev 286) @@ -0,0 +1,26 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1 + parent + + 4.0.0 + org.jboss.identity + jboss-identity-fed-pom + pom + JBoss Identity Federation- Aggregator + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity Federation is the federated identity projec= t for JEMS projects + + + parent + identity-xmlsecmodel + identity-fed-model + identity-fed-core + identity-fed-api + identity-bindings + doc + assembly + + --===============7285671286065475295==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:22:49 2009 Content-Type: multipart/mixed; boundary="===============0142479212213112602==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r287 - in identity-federation/trunk: assembly and 9 other directories. Date: Mon, 02 Feb 2009 17:22:49 -0500 Message-ID: --===============0142479212213112602== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:22:49 -0500 (Mon, 02 Feb 2009) New Revision: 287 Modified: identity-federation/trunk/assembly/pom.xml identity-federation/trunk/doc/DeveloperGuide/pom.xml identity-federation/trunk/doc/UserGuide/pom.xml identity-federation/trunk/doc/pom.xml identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-core/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/parent/pom.xml identity-federation/trunk/pom.xml Log: [maven-release-plugin] prepare for next development iteration Modified: identity-federation/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-02 22:22:35 UTC (rev= 286) +++ identity-federation/trunk/assembly/pom.xml 2009-02-02 22:22:49 UTC (rev= 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/doc/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:22:3= 5 UTC (rev 286) +++ identity-federation/trunk/doc/DeveloperGuide/pom.xml 2009-02-02 22:22:4= 9 UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../../parent = Modified: identity-federation/trunk/doc/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:22:35 UTC= (rev 286) +++ identity-federation/trunk/doc/UserGuide/pom.xml 2009-02-02 22:22:49 UTC= (rev 287) @@ -3,7 +3,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../../parent = Modified: identity-federation/trunk/doc/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/doc/pom.xml 2009-02-02 22:22:35 UTC (rev 286) +++ identity-federation/trunk/doc/pom.xml 2009-02-02 22:22:49 UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent = Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 22:22:35= UTC (rev 286) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-02 22:22:49= UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 22:22:35 = UTC (rev 286) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-02 22:22:49 = UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 22:22:35= UTC (rev 286) +++ identity-federation/trunk/identity-fed-core/pom.xml 2009-02-02 22:22:49= UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 22:22:3= 5 UTC (rev 286) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-02 22:22:4= 9 UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:22= :35 UTC (rev 286) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-02 22:22= :49 UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-02 22:22:35 UTC (rev 2= 86) +++ identity-federation/trunk/parent/pom.xml 2009-02-02 22:22:49 UTC (rev 2= 87) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-fed-parent pom - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT JBoss Identity Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-02 22:22:35 UTC (rev 286) +++ identity-federation/trunk/pom.xml 2009-02-02 22:22:49 UTC (rev 287) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT parent 4.0.0 --===============0142479212213112602==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:25:41 2009 Content-Type: multipart/mixed; boundary="===============1280639260706091354==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r288 - xmlkey. Date: Mon, 02 Feb 2009 17:25:41 -0500 Message-ID: --===============1280639260706091354== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:25:41 -0500 (Mon, 02 Feb 2009) New Revision: 288 Added: xmlkey/branches/ Log: JBID-38: branches --===============1280639260706091354==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:25:53 2009 Content-Type: multipart/mixed; boundary="===============3301084209355648901==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r289 - xmlkey. Date: Mon, 02 Feb 2009 17:25:53 -0500 Message-ID: --===============3301084209355648901== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:25:53 -0500 (Mon, 02 Feb 2009) New Revision: 289 Added: xmlkey/tags/ Log: JBID-38: tags --===============3301084209355648901==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:29:13 2009 Content-Type: multipart/mixed; boundary="===============6240307057717111596==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r290 - in xmlkey/trunk/xkms: src and 21 other directories. Date: Mon, 02 Feb 2009 17:29:13 -0500 Message-ID: --===============6240307057717111596== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:29:13 -0500 (Mon, 02 Feb 2009) New Revision: 290 Modified: xmlkey/trunk/xkms/ xmlkey/trunk/xkms/src/ xmlkey/trunk/xkms/src/main/ xmlkey/trunk/xkms/src/main/java/ xmlkey/trunk/xkms/src/main/java/org/ xmlkey/trunk/xkms/src/main/java/org/jboss/ xmlkey/trunk/xkms/src/main/java/org/jboss/identity/ xmlkey/trunk/xkms/src/main/java/org/jboss/identity/xkms/ xmlkey/trunk/xkms/src/main/java/org/jboss/identity/xkms/v2/ xmlkey/trunk/xkms/src/main/java/org/jboss/identity/xkms/v2/model/ xmlkey/trunk/xkms/src/main/resources/ xmlkey/trunk/xkms/src/main/resources/schema/ xmlkey/trunk/xkms/src/main/resources/schema/v2/ xmlkey/trunk/xkms/src/test/ xmlkey/trunk/xkms/src/test/java/ xmlkey/trunk/xkms/src/test/java/org/ xmlkey/trunk/xkms/src/test/java/org/jboss/ xmlkey/trunk/xkms/src/test/java/org/jboss/test/ xmlkey/trunk/xkms/src/test/java/org/jboss/test/identity/ xmlkey/trunk/xkms/src/test/java/org/jboss/test/identity/xkms/ xmlkey/trunk/xkms/src/test/java/org/jboss/test/identity/xkms/v2/ xmlkey/trunk/xkms/src/test/java/org/jboss/test/identity/xkms/v2/model/ xmlkey/trunk/xkms/src/test/resources/ Log: revursive svn ignore Property changes on: xmlkey/trunk/xkms ___________________________________________________________________ Name: svn:ignore - target + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java/org ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java/org/jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java/org/jboss/identity ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java/org/jboss/identity/xkms ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java/org/jboss/identity/xkm= s/v2 ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/java/org/jboss/identity/xkm= s/v2/model ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/resources/schema ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/main/resources/schema/v2 ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org/jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org/jboss/test ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org/jboss/test/identity ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org/jboss/test/identit= y/xkms ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org/jboss/test/identit= y/xkms/v2 ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/java/org/jboss/test/identit= y/xkms/v2/model ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/xkms/src/test/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata --===============6240307057717111596==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:29:28 2009 Content-Type: multipart/mixed; boundary="===============9184974974712049562==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r291 - in xmlkey/trunk/skms: src and 23 other directories. Date: Mon, 02 Feb 2009 17:29:28 -0500 Message-ID: --===============9184974974712049562== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:29:28 -0500 (Mon, 02 Feb 2009) New Revision: 291 Modified: xmlkey/trunk/skms/ xmlkey/trunk/skms/src/ xmlkey/trunk/skms/src/main/ xmlkey/trunk/skms/src/main/java/ xmlkey/trunk/skms/src/main/java/org/ xmlkey/trunk/skms/src/main/java/org/jboss/ xmlkey/trunk/skms/src/main/java/org/jboss/identity/ xmlkey/trunk/skms/src/main/java/org/jboss/identity/skms/ xmlkey/trunk/skms/src/main/java/org/jboss/identity/skms/v1/ xmlkey/trunk/skms/src/main/java/org/jboss/identity/skms/v1/model/ xmlkey/trunk/skms/src/main/resources/ xmlkey/trunk/skms/src/main/resources/schema/ xmlkey/trunk/skms/src/main/resources/schema/ekmi/ xmlkey/trunk/skms/src/test/ xmlkey/trunk/skms/src/test/java/ xmlkey/trunk/skms/src/test/java/org/ xmlkey/trunk/skms/src/test/java/org/jboss/ xmlkey/trunk/skms/src/test/java/org/jboss/test/ xmlkey/trunk/skms/src/test/java/org/jboss/test/identity/ xmlkey/trunk/skms/src/test/java/org/jboss/test/identity/skms/ xmlkey/trunk/skms/src/test/java/org/jboss/test/identity/skms/v1/ xmlkey/trunk/skms/src/test/resources/ xmlkey/trunk/skms/src/test/resources/ekmi/ xmlkey/trunk/skms/src/test/resources/ekmi/v1/ xmlkey/trunk/skms/src/test/resources/ekmi/v1/xml/ Log: revursive svn ignore Property changes on: xmlkey/trunk/skms ___________________________________________________________________ Name: svn:ignore - target + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java/org ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java/org/jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java/org/jboss/identity ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java/org/jboss/identity/skms ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java/org/jboss/identity/skm= s/v1 ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/java/org/jboss/identity/skm= s/v1/model ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/resources/schema ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/main/resources/schema/ekmi ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java/org ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java/org/jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java/org/jboss/test ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java/org/jboss/test/identity ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java/org/jboss/test/identit= y/skms ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/java/org/jboss/test/identit= y/skms/v1 ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/resources/ekmi ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/resources/ekmi/v1 ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/skms/src/test/resources/ekmi/v1/xml ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata --===============9184974974712049562==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:29:41 2009 Content-Type: multipart/mixed; boundary="===============0574360223234742833==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r292 - in xmlkey/trunk/common: src and 8 other directories. Date: Mon, 02 Feb 2009 17:29:40 -0500 Message-ID: --===============0574360223234742833== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:29:40 -0500 (Mon, 02 Feb 2009) New Revision: 292 Modified: xmlkey/trunk/common/ xmlkey/trunk/common/src/ xmlkey/trunk/common/src/main/ xmlkey/trunk/common/src/main/java/ xmlkey/trunk/common/src/main/java/org/ xmlkey/trunk/common/src/main/java/org/jboss/ xmlkey/trunk/common/src/main/java/org/jboss/identity/ xmlkey/trunk/common/src/main/java/org/jboss/identity/xmlkey/ xmlkey/trunk/common/src/main/java/org/jboss/identity/xmlkey/common/ xmlkey/trunk/common/src/main/resources/ Log: revursive svn ignore Property changes on: xmlkey/trunk/common ___________________________________________________________________ Name: svn:ignore - target + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/java/org ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/java/org/jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/java/org/jboss/identity ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/java/org/jboss/identity/x= mlkey ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/java/org/jboss/identity/x= mlkey/common ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata Property changes on: xmlkey/trunk/common/src/main/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata --===============0574360223234742833==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:30:11 2009 Content-Type: multipart/mixed; boundary="===============4686574420611072292==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r293 - xmlkey/trunk. Date: Mon, 02 Feb 2009 17:30:11 -0500 Message-ID: --===============4686574420611072292== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:30:11 -0500 (Mon, 02 Feb 2009) New Revision: 293 Modified: xmlkey/trunk/ Log: svn ign Property changes on: xmlkey/trunk ___________________________________________________________________ Name: svn:ignore + target target-eclipse .settings .metadata --===============4686574420611072292==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:32:44 2009 Content-Type: multipart/mixed; boundary="===============5519214032406500237==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r294 - in xmlkey/trunk: xkms and 1 other directory. Date: Mon, 02 Feb 2009 17:32:43 -0500 Message-ID: --===============5519214032406500237== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:32:43 -0500 (Mon, 02 Feb 2009) New Revision: 294 Modified: xmlkey/trunk/skms/pom.xml xmlkey/trunk/xkms/pom.xml Log: upd dep Modified: xmlkey/trunk/skms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/skms/pom.xml 2009-02-02 22:30:11 UTC (rev 293) +++ xmlkey/trunk/skms/pom.xml 2009-02-02 22:32:43 UTC (rev 294) @@ -51,7 +51,7 @@ org.jboss.identity jboss-identity-xmlsec-model - ${project.version} + 1.0.0.alpha1 apache-log4j Modified: xmlkey/trunk/xkms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/xkms/pom.xml 2009-02-02 22:30:11 UTC (rev 293) +++ xmlkey/trunk/xkms/pom.xml 2009-02-02 22:32:43 UTC (rev 294) @@ -51,7 +51,7 @@ org.jboss.identity jboss-identity-xmlsec-model - ${project.version} + 1.0.0.alpha1 org.jboss.identity --===============5519214032406500237==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:35:51 2009 Content-Type: multipart/mixed; boundary="===============0243660924335660322==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r295 - in xmlkey/trunk: assembly and 4 other directories. Date: Mon, 02 Feb 2009 17:35:51 -0500 Message-ID: --===============0243660924335660322== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:35:51 -0500 (Mon, 02 Feb 2009) New Revision: 295 Modified: xmlkey/trunk/assembly/pom.xml xmlkey/trunk/common/pom.xml xmlkey/trunk/parent/pom.xml xmlkey/trunk/pom.xml xmlkey/trunk/skms/pom.xml xmlkey/trunk/xkms/pom.xml Log: [maven-release-plugin] prepare release 1.0.0.alpha1 Modified: xmlkey/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/assembly/pom.xml 2009-02-02 22:32:43 UTC (rev 294) +++ xmlkey/trunk/assembly/pom.xml 2009-02-02 22:35:51 UTC (rev 295) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 Modified: xmlkey/trunk/common/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/common/pom.xml 2009-02-02 22:32:43 UTC (rev 294) +++ xmlkey/trunk/common/pom.xml 2009-02-02 22:35:51 UTC (rev 295) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xmlkey= /trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= xmlkey/tags/1.0.0.alpha1 @@ -104,7 +104,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -113,4 +113,4 @@ - + \ No newline at end of file Modified: xmlkey/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/parent/pom.xml 2009-02-02 22:32:43 UTC (rev 294) +++ xmlkey/trunk/parent/pom.xml 2009-02-02 22:35:51 UTC (rev 295) @@ -8,7 +8,7 @@ org.jboss.identity jboss-xmlkey-parent pom - 1.0.0-SNAPSHOT + 1.0.0.alpha1 JBoss XMLKey Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss XMLKey is an implementation of XML Based Key Managem= ent @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/trunk + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 = Modified: xmlkey/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/pom.xml 2009-02-02 22:32:43 UTC (rev 294) +++ xmlkey/trunk/pom.xml 2009-02-02 22:35:51 UTC (rev 295) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 parent 4.0.0 Modified: xmlkey/trunk/skms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/skms/pom.xml 2009-02-02 22:32:43 UTC (rev 294) +++ xmlkey/trunk/skms/pom.xml 2009-02-02 22:35:51 UTC (rev 295) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xmlkey= /trunk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= xmlkey/tags/1.0.0.alpha1 @@ -113,7 +113,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -122,4 +122,4 @@ - + \ No newline at end of file Modified: xmlkey/trunk/xkms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/xkms/pom.xml 2009-02-02 22:32:43 UTC (rev 294) +++ xmlkey/trunk/xkms/pom.xml 2009-02-02 22:35:51 UTC (rev 295) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0-SNAPSHOT + 1.0.0.alpha1 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xkms/t= runk + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentity/xmlkey/tags/1= .0.0.alpha1 @@ -119,7 +119,7 @@ -breakiterator -windowtitle "${project.name} ${project.version} API Reference" -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." -link http://java.sun.com/javase/6/docs/api/ -sourceclasspath ${project.build.outputDirectory} @@ -128,4 +128,4 @@ - + \ No newline at end of file --===============0243660924335660322==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:35:56 2009 Content-Type: multipart/mixed; boundary="===============7165140294240648456==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r296 - in xmlkey/tags: 1.0.0.alpha1 and 5 other directories. Date: Mon, 02 Feb 2009 17:35:56 -0500 Message-ID: --===============7165140294240648456== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:35:56 -0500 (Mon, 02 Feb 2009) New Revision: 296 Added: xmlkey/tags/1.0.0.alpha1/ xmlkey/tags/1.0.0.alpha1/assembly/ xmlkey/tags/1.0.0.alpha1/assembly/pom.xml xmlkey/tags/1.0.0.alpha1/common/ xmlkey/tags/1.0.0.alpha1/common/pom.xml xmlkey/tags/1.0.0.alpha1/parent/ xmlkey/tags/1.0.0.alpha1/parent/pom.xml xmlkey/tags/1.0.0.alpha1/pom.xml xmlkey/tags/1.0.0.alpha1/skms/ xmlkey/tags/1.0.0.alpha1/skms/pom.xml xmlkey/tags/1.0.0.alpha1/xkms/ xmlkey/tags/1.0.0.alpha1/xkms/pom.xml Removed: xmlkey/tags/1.0.0.alpha1/assembly/ xmlkey/tags/1.0.0.alpha1/assembly/pom.xml xmlkey/tags/1.0.0.alpha1/common/ xmlkey/tags/1.0.0.alpha1/common/pom.xml xmlkey/tags/1.0.0.alpha1/parent/ xmlkey/tags/1.0.0.alpha1/parent/pom.xml xmlkey/tags/1.0.0.alpha1/pom.xml xmlkey/tags/1.0.0.alpha1/skms/ xmlkey/tags/1.0.0.alpha1/skms/pom.xml xmlkey/tags/1.0.0.alpha1/xkms/ xmlkey/tags/1.0.0.alpha1/xkms/pom.xml Log: [maven-release-plugin] copy for tag 1.0.0.alpha1 Copied: xmlkey/tags/1.0.0.alpha1 (from rev 293, xmlkey/trunk) Copied: xmlkey/tags/1.0.0.alpha1/assembly (from rev 292, xmlkey/trunk/assem= bly) Deleted: xmlkey/tags/1.0.0.alpha1/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/assembly/pom.xml 2009-02-02 22:29:40 UTC (rev 292) +++ xmlkey/tags/1.0.0.alpha1/assembly/pom.xml 2009-02-02 22:35:56 UTC (rev = 296) @@ -1,63 +0,0 @@ - - - org.jboss.identity - jboss-xmlkey-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - org.jboss.identity - jboss-xmlkey - pom - JBoss XMLKey- Assembly - http://labs.jboss.org/portal/jbosssecurity/ - JBoss XMLKey - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - = - - - - org.apache.maven.plugins - maven-assembly-plugin - 2.1 - - - package - - attached - - - - - - - JBoss Identity - ${project.version} - Red Hat Middleware LLC - JBoss Identity - ${project.version} - org.jboss.security - Red Hat Middleware LLC - http://labs.jboss.org/portal/jbosssecuri= ty/ - - - - bin.xml - sources.xml - - - false - - - - = - Copied: xmlkey/tags/1.0.0.alpha1/assembly/pom.xml (from rev 295, xmlkey/tru= nk/assembly/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/tags/1.0.0.alpha1/assembly/pom.xml (rev = 0) +++ xmlkey/tags/1.0.0.alpha1/assembly/pom.xml 2009-02-02 22:35:56 UTC (rev = 296) @@ -0,0 +1,63 @@ + + + org.jboss.identity + jboss-xmlkey-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + org.jboss.identity + jboss-xmlkey + pom + JBoss XMLKey- Assembly + http://labs.jboss.org/portal/jbosssecurity/ + JBoss XMLKey + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.1 + + + package + + attached + + + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssecuri= ty/ + + + + bin.xml + sources.xml + + + false + + + + = + Copied: xmlkey/tags/1.0.0.alpha1/common (from rev 292, xmlkey/trunk/common) Deleted: xmlkey/tags/1.0.0.alpha1/common/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/common/pom.xml 2009-02-02 22:29:40 UTC (rev 292) +++ xmlkey/tags/1.0.0.alpha1/common/pom.xml 2009-02-02 22:35:56 UTC (rev 29= 6) @@ -1,116 +0,0 @@ - - - org.jboss.identity - jboss-xmlkey-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-xmlkey-common - jar - JBoss xmlkey-common - http://labs.jboss.org/portal/jbosssecurity/ - JBoss XKMS. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xmlkey= /trunk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - apache-log4j - log4j - - - apache-xmlsec - xmlsec - - - sun-jaxb - jaxb-api - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: xmlkey/tags/1.0.0.alpha1/common/pom.xml (from rev 295, xmlkey/trunk= /common/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/tags/1.0.0.alpha1/common/pom.xml (rev 0) +++ xmlkey/tags/1.0.0.alpha1/common/pom.xml 2009-02-02 22:35:56 UTC (rev 29= 6) @@ -0,0 +1,116 @@ + + + org.jboss.identity + jboss-xmlkey-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-xmlkey-common + jar + JBoss xmlkey-common + http://labs.jboss.org/portal/jbosssecurity/ + JBoss XKMS. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= xmlkey/tags/1.0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + apache-log4j + log4j + + + apache-xmlsec + xmlsec + + + sun-jaxb + jaxb-api + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + \ No newline at end of file Copied: xmlkey/tags/1.0.0.alpha1/parent (from rev 292, xmlkey/trunk/parent) Deleted: xmlkey/tags/1.0.0.alpha1/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/parent/pom.xml 2009-02-02 22:29:40 UTC (rev 292) +++ xmlkey/tags/1.0.0.alpha1/parent/pom.xml 2009-02-02 22:35:56 UTC (rev 29= 6) @@ -1,115 +0,0 @@ - - - org.jboss - jboss-parent - 4 - - 4.0.0 - org.jboss.identity - jboss-xmlkey-parent - pom - 1.0.0-SNAPSHOT - JBoss XMLKey Federation- Parent - http://labs.jboss.org/portal/jbosssecurity/ - JBoss XMLKey is an implementation of XML Based Key Managem= ent - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/trunk - - = - - - - maven-release-plugin - - https://svn.jboss.org/repos/jbossidentity/xmlkey/tags= - - - - - - - maven-surefire-plugin - - true - false - true - - **/**TestCase.java - - pertest - ${surefire.jvm.args} - false - false - - - - - - = - - - repository.jboss.org - JBoss Repository - default - http://repository.jboss.org/maven2/ - - false - - - - - snapshots.jboss.org - JBoss Snapshots Repository - default - http://snapshots.jboss.org/maven2/ - - true - - - false - - - - = - - - - junit - junit - 4.4 - test - - - apache-log4j - log4j - 1.2.14 - - - sun-jaxb - jaxb-api - 2.1.9 - - - sun-jaxb - jaxb-impl - 2.1.9 - - - apache-xmlsec - xmlsec - 1.3.0 - - - - Copied: xmlkey/tags/1.0.0.alpha1/parent/pom.xml (from rev 295, xmlkey/trunk= /parent/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/tags/1.0.0.alpha1/parent/pom.xml (rev 0) +++ xmlkey/tags/1.0.0.alpha1/parent/pom.xml 2009-02-02 22:35:56 UTC (rev 29= 6) @@ -0,0 +1,115 @@ + + + org.jboss + jboss-parent + 4 + + 4.0.0 + org.jboss.identity + jboss-xmlkey-parent + pom + 1.0.0.alpha1 + JBoss XMLKey Federation- Parent + http://labs.jboss.org/portal/jbosssecurity/ + JBoss XMLKey is an implementation of XML Based Key Managem= ent + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + + = + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/xmlkey/tags= + + + + + + + maven-surefire-plugin + + true + false + true + + **/**TestCase.java + + pertest + ${surefire.jvm.args} + false + false + + + + + + = + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + + + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + + = + + + + junit + junit + 4.4 + test + + + apache-log4j + log4j + 1.2.14 + + + sun-jaxb + jaxb-api + 2.1.9 + + + sun-jaxb + jaxb-impl + 2.1.9 + + + apache-xmlsec + xmlsec + 1.3.0 + + + + Deleted: xmlkey/tags/1.0.0.alpha1/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/pom.xml 2009-02-02 22:30:11 UTC (rev 293) +++ xmlkey/tags/1.0.0.alpha1/pom.xml 2009-02-02 22:35:56 UTC (rev 296) @@ -1,23 +0,0 @@ - - - org.jboss.identity - jboss-xmlkey-parent - 1.0.0-SNAPSHOT - parent - - 4.0.0 - org.jboss.identity - jboss-xmlkey-pom - pom - JBoss XMLKey- Aggregator - http://labs.jboss.org/portal/jbosssecurity/ - JBoss XMLKey is a project for XML Based Key Management - - - parent - common - xkms - skms - assembly - - Copied: xmlkey/tags/1.0.0.alpha1/pom.xml (from rev 295, xmlkey/trunk/pom.xm= l) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/tags/1.0.0.alpha1/pom.xml (rev 0) +++ xmlkey/tags/1.0.0.alpha1/pom.xml 2009-02-02 22:35:56 UTC (rev 296) @@ -0,0 +1,23 @@ + + + org.jboss.identity + jboss-xmlkey-parent + 1.0.0.alpha1 + parent + + 4.0.0 + org.jboss.identity + jboss-xmlkey-pom + pom + JBoss XMLKey- Aggregator + http://labs.jboss.org/portal/jbosssecurity/ + JBoss XMLKey is a project for XML Based Key Management + + + parent + common + xkms + skms + assembly + + Copied: xmlkey/tags/1.0.0.alpha1/skms (from rev 292, xmlkey/trunk/skms) Deleted: xmlkey/tags/1.0.0.alpha1/skms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/skms/pom.xml 2009-02-02 22:29:40 UTC (rev 292) +++ xmlkey/tags/1.0.0.alpha1/skms/pom.xml 2009-02-02 22:35:56 UTC (rev 296) @@ -1,125 +0,0 @@ - - - org.jboss.identity - jboss-xmlkey-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-skms - jar - JBoss skms - http://labs.jboss.org/portal/jbosssecurity/ - JBoss SKMS. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xmlkey= /trunk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - org.jboss.identity - jboss-identity-xmlsec-model - ${project.version} - - - apache-log4j - log4j - - - apache-xmlsec - xmlsec - - - sun-jaxb - jaxb-api - - - sun-jaxb - jaxb-impl - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: xmlkey/tags/1.0.0.alpha1/skms/pom.xml (from rev 295, xmlkey/trunk/s= kms/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/tags/1.0.0.alpha1/skms/pom.xml (rev 0) +++ xmlkey/tags/1.0.0.alpha1/skms/pom.xml 2009-02-02 22:35:56 UTC (rev 296) @@ -0,0 +1,125 @@ + + + org.jboss.identity + jboss-xmlkey-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-skms + jar + JBoss skms + http://labs.jboss.org/portal/jbosssecurity/ + JBoss SKMS. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= xmlkey/tags/1.0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-xmlsec-model + 1.0.0.alpha1 + + + apache-log4j + log4j + + + apache-xmlsec + xmlsec + + + sun-jaxb + jaxb-api + + + sun-jaxb + jaxb-impl + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + \ No newline at end of file Copied: xmlkey/tags/1.0.0.alpha1/xkms (from rev 292, xmlkey/trunk/xkms) Deleted: xmlkey/tags/1.0.0.alpha1/xkms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/xkms/pom.xml 2009-02-02 22:29:40 UTC (rev 292) +++ xmlkey/tags/1.0.0.alpha1/xkms/pom.xml 2009-02-02 22:35:56 UTC (rev 296) @@ -1,131 +0,0 @@ - - - org.jboss.identity - jboss-xmlkey-parent - 1.0.0-SNAPSHOT - ../parent - - 4.0.0 - jboss-xkms - jar - JBoss xkms - http://labs.jboss.org/portal/jbosssecurity/ - JBoss XKMS. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk - scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xkms/t= runk - - - - - maven-surefire-plugin - 2.4.3 - - true - false - false - - **/**TestCase.java - - pertest - -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed - false - false - - - - - - - - org.jboss.identity - jboss-identity-xmlsec-model - ${project.version} - - - org.jboss.identity - jboss-xmlkey-common - ${project.version} - - - apache-log4j - log4j - - - apache-xmlsec - xmlsec - - - sun-jaxb - jaxb-api - - - sun-jaxb - jaxb-impl - test - - - stax - stax-api - 1.0 - - - sun-jaf - activation - 1.1 - test - - - codehaus-stax - stax - 1.1.1 - test - - - junit - junit - test - - - = - - - - org.apache.maven.plugins - maven-javadoc-plugin - - org.jboss.apiviz.APIviz - - org.jboss.apiviz - apiviz - 1.2.5.GA - - - -charset UTF-8 - -docencoding UTF-8 - -version - -author - -breakiterator - -windowtitle "${project.name} ${project.version} API Reference" - -doctitle "${project.name} ${project.version} API Reference" - -bottom "Copyright © ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." - -link http://java.sun.com/javase/6/docs/api/ - -sourceclasspath ${project.build.outputDirectory} - - UTF-8 - - - - - Copied: xmlkey/tags/1.0.0.alpha1/xkms/pom.xml (from rev 295, xmlkey/trunk/x= kms/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/tags/1.0.0.alpha1/xkms/pom.xml (rev 0) +++ xmlkey/tags/1.0.0.alpha1/xkms/pom.xml 2009-02-02 22:35:56 UTC (rev 296) @@ -0,0 +1,131 @@ + + + org.jboss.identity + jboss-xmlkey-parent + 1.0.0.alpha1 + ../parent + + 4.0.0 + jboss-xkms + jar + JBoss xkms + http://labs.jboss.org/portal/jbosssecurity/ + JBoss XKMS. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentity/xmlkey/tags/1= .0.0.alpha1 + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-xmlsec-model + 1.0.0.alpha1 + + + org.jboss.identity + jboss-xmlkey-common + ${project.version} + + + apache-log4j + log4j + + + apache-xmlsec + xmlsec + + + sun-jaxb + jaxb-api + + + sun-jaxb + jaxb-impl + test + + + stax + stax-api + 1.0 + + + sun-jaf + activation + 1.1 + test + + + codehaus-stax + stax + 1.1.1 + test + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + \ No newline at end of file --===============7165140294240648456==-- From jboss-identity-commits at lists.jboss.org Mon Feb 2 17:36:03 2009 Content-Type: multipart/mixed; boundary="===============8054679696258907401==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r297 - in xmlkey/trunk: assembly and 4 other directories. Date: Mon, 02 Feb 2009 17:36:03 -0500 Message-ID: --===============8054679696258907401== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-02 17:36:02 -0500 (Mon, 02 Feb 2009) New Revision: 297 Modified: xmlkey/trunk/assembly/pom.xml xmlkey/trunk/common/pom.xml xmlkey/trunk/parent/pom.xml xmlkey/trunk/pom.xml xmlkey/trunk/skms/pom.xml xmlkey/trunk/xkms/pom.xml Log: [maven-release-plugin] prepare for next development iteration Modified: xmlkey/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/assembly/pom.xml 2009-02-02 22:35:56 UTC (rev 296) +++ xmlkey/trunk/assembly/pom.xml 2009-02-02 22:36:02 UTC (rev 297) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 Modified: xmlkey/trunk/common/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/common/pom.xml 2009-02-02 22:35:56 UTC (rev 296) +++ xmlkey/trunk/common/pom.xml 2009-02-02 22:36:02 UTC (rev 297) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= xmlkey/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk + scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xmlkey= /trunk Modified: xmlkey/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/parent/pom.xml 2009-02-02 22:35:56 UTC (rev 296) +++ xmlkey/trunk/parent/pom.xml 2009-02-02 22:36:02 UTC (rev 297) @@ -8,7 +8,7 @@ org.jboss.identity jboss-xmlkey-parent pom - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT JBoss XMLKey Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss XMLKey is an implementation of XML Based Key Managem= ent @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/trunk = Modified: xmlkey/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/pom.xml 2009-02-02 22:35:56 UTC (rev 296) +++ xmlkey/trunk/pom.xml 2009-02-02 22:36:02 UTC (rev 297) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT parent 4.0.0 Modified: xmlkey/trunk/skms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/skms/pom.xml 2009-02-02 22:35:56 UTC (rev 296) +++ xmlkey/trunk/skms/pom.xml 2009-02-02 22:36:02 UTC (rev 297) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= xmlkey/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk + scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xmlkey= /trunk Modified: xmlkey/trunk/xkms/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xmlkey/trunk/xkms/pom.xml 2009-02-02 22:35:56 UTC (rev 296) +++ xmlkey/trunk/xkms/pom.xml 2009-02-02 22:36:02 UTC (rev 297) @@ -2,7 +2,7 @@ org.jboss.identity jboss-xmlkey-parent - 1.0.0.alpha1 + 1.0.0.alpha1-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/xmlkey/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidentity/xmlkey/tags/1= .0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/xml= key/trunk + scm:svn:https://svn.jboss.org/jbossidentity/xml= key/trunk + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/xkms/t= runk --===============8054679696258907401==-- From jboss-identity-commits at lists.jboss.org Tue Feb 3 05:32:26 2009 Content-Type: multipart/mixed; boundary="===============4722491563403957909==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r298 - in idm/trunk/idm/src: test/java/org/jboss/identity/idm/impl and 1 other directories. Date: Tue, 03 Feb 2009 05:32:26 -0500 Message-ID: --===============4722491563403957909== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-03 05:32:25 -0500 (Tue, 03 Feb 2009) New Revision: 298 Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreImpl.java idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/HibernateTestSup= port.java idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreTestCase.java idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateTestBase.java Log: - improve how HibernateEntityManagerFactory is constructetd in Hibernate st= ore Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-02 22:36:02 UTC (rev 297) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-03 10:32:25 UTC (rev 298) @@ -171,13 +171,14 @@ = supportedFeatures =3D new FeaturesMetaDataImpl(configurationMD, supp= ortedIdentityObjectSearchControls, true, new HashSet()); = - String persistenceUnit =3D configurationMD.getOptionSingleValue(PERS= ISTENCE_UNIT); = String populateMembershipTypes =3D configurationMD.getOptionSingleVa= lue(POPULATE_MEMBERSHIP_TYPES); String populateIdentityObjectTypes =3D configurationMD.getOptionSing= leValue(POPULATE_IDENTITY_OBJECT_TYPES); = - HibernateEntityManager em =3D bootstrapHibernateEntityManager(persis= tenceUnit); + emFactory =3D bootstrapHibernateEntityManager(configurationMD); = + HibernateEntityManager em =3D (HibernateEntityManager)emFactory.crea= teEntityManager(); + // Attribute mappings - helper structures = for (IdentityObjectTypeMetaData identityObjectTypeMetaData : configu= rationMD.getSupportedIdentityTypes()) @@ -300,17 +301,18 @@ } = // this is separate method to allow easier testing - protected HibernateEntityManager bootstrapHibernateEntityManager(String= persistenceUnit) throws IdentityException + protected HibernateEntityManagerFactory bootstrapHibernateEntityManager= (IdentityStoreConfigurationMetaData configurationMD) throws IdentityExcepti= on { + + String persistenceUnit =3D configurationMD.getOptionSingleValue(PERS= ISTENCE_UNIT); + = if (persistenceUnit =3D=3D null) { throw new IdentityException("Persistence Unit not defined for Ide= ntityStore: " + getId()); } = - emFactory =3D (HibernateEntityManagerFactory)Persistence.createEntit= yManagerFactory(persistenceUnit); + return (HibernateEntityManagerFactory)Persistence.createEntityManage= rFactory(persistenceUnit); = - return (HibernateEntityManager)emFactory.createEntityManager(); - } = = Modified: idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/Hibernate= TestSupport.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/HibernateTestSu= pport.java 2009-02-02 22:36:02 UTC (rev 297) +++ idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/HibernateTestSu= pport.java 2009-02-03 10:32:25 UTC (rev 298) @@ -61,7 +61,12 @@ return em; } = + public HibernateEntityManagerFactory getHibernateEntityManagerFactory() + { + return emFactory; + } = + public void start() throws Exception { try { logger.info("Starting in-memory HSQL database for unit tests"); Modified: idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreTestCase.java 2009-02-02 22:36:02 UTC (rev 297) +++ idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreTestCase.java 2009-02-03 10:32:25 UTC (rev 298) @@ -38,6 +38,7 @@ import org.jboss.identity.idm.impl.api.SimpleAttribute; import org.jboss.identity.idm.exception.IdentityException; import org.hibernate.ejb.HibernateEntityManager; +import org.hibernate.ejb.HibernateEntityManagerFactory; = import java.util.Map; import java.io.File; @@ -91,9 +92,9 @@ } = @Override - protected HibernateEntityManager bootstrapHibernateEntityManager(= String persistenceUnit) throws IdentityException + protected HibernateEntityManagerFactory bootstrapHibernateEntityM= anager(IdentityStoreConfigurationMetaData configurationMD) throws IdentityE= xception { - return em; + return emFactory; } = }; Modified: idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateTestBase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateTestBase.java 2009-02-02 22:36:02 UTC (rev 297) +++ idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateTestBase.java 2009-02-03 10:32:25 UTC (rev 298) @@ -27,6 +27,7 @@ import java.util.logging.Logger; = import org.hibernate.ejb.HibernateEntityManager; +import org.hibernate.ejb.HibernateEntityManagerFactory; import org.jboss.identity.idm.impl.store.hibernate.HibernateModelTestCase; import org.jboss.identity.idm.impl.HibernateTestSupport; = @@ -42,7 +43,11 @@ = protected HibernateEntityManager em; = + protected HibernateEntityManagerFactory emFactory; = + + + public HibernateTestBase(String testName) { super(testName); } @@ -51,6 +56,7 @@ protected void setUp() throws Exception { super.setUp(); hibernateSupport.start(); + emFactory =3D hibernateSupport.getHibernateEntityManagerFactory(); em =3D hibernateSupport.getHibernateEntityManager(); } = --===============4722491563403957909==-- From jboss-identity-commits at lists.jboss.org Tue Feb 3 07:54:59 2009 Content-Type: multipart/mixed; boundary="===============7486183611293287284==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r299 - in idm/trunk: idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate and 2 other directories. Date: Tue, 03 Feb 2009 07:54:58 -0500 Message-ID: --===============7486183611293287284== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-03 07:54:58 -0500 (Tue, 03 Feb 2009) New Revision: 299 Modified: idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/example/DB= TestCase.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateIdentityObject.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateIdentityObjectRelationship.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateIdentityObjectRelationshipName.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateIdentityObjectRelationshipType.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateIdentityObjectType.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateRealm.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreImpl.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreSessionImpl.java idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreTestCase.java Log: - Make HibernateIdentityStoreImpl use SessionFactory instead of HibernateEn= tityManagerFactory Modified: idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/exa= mple/DBTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/example/D= BTestCase.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/example/D= BTestCase.java 2009-02-03 12:54:58 UTC (rev 299) @@ -26,6 +26,7 @@ import java.util.Random; import java.util.Map; import java.util.Arrays; +import java.util.Collection; import java.io.File; = import org.jboss.identity.idm.api.IdentitySessionFactory; @@ -36,6 +37,7 @@ import org.jboss.identity.idm.api.RoleType; import org.jboss.identity.idm.api.AttributeDescription; import org.jboss.identity.idm.api.Attribute; +import org.jboss.identity.idm.api.IdentitySearchControl; import org.jboss.identity.idm.impl.api.IdentitySessionFactoryImpl; import org.jboss.identity.idm.impl.api.SimpleAttribute; import org.jboss.identity.idm.impl.api.model.SimpleGroupType; @@ -75,6 +77,10 @@ IdentitySession identitySession =3D identitySessionFactory.createIde= ntitySession("realm://JBossIdentityExample/SampleRealm"); identitySession.beginTransaction(); = + Collection identities =3D identitySession + .getPersistenceManager() + .findIdentity((IdentitySearchControl[])null); + GroupType ORGANIZATION =3D new SimpleGroupType("ORGANIZATION"); GroupType GROUP =3D new SimpleGroupType("GROUP"); = Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateIdentityObject.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObject.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObject.java 2009-02-03 12:54:58 UTC (rev 299) @@ -54,34 +54,52 @@ * @author Boleslaw D= awidowicz * @version : 0.1 $ */ -(a)NamedQueries({ - @NamedQuery( - name =3D "findIdentityObjectByNameAndType", - query =3D "select o from HibernateIdentityObject o where o.realm lik= e :realm and o.name like :name and o.identityType.name like :typeName" - ), - @NamedQuery( - name =3D "findIdentityObjectsByType", - query =3D "select o from HibernateIdentityObject o where o.name like= :nameFilter and o.realm like :realm and o.identityType.name like :typeName" - ), - @NamedQuery( - name =3D "findIdentityObjectsByTypeOrderedByNameAsc", - query =3D "select o from HibernateIdentityObject o where o.name like= :nameFilter and o.realm like :realm and o.identityType.name like :typeName= " + - "order by o.name asc" - ), - @NamedQuery( - name =3D "findIdentityObjectsByTypeOrderedByNameDesc", - query =3D "select o from HibernateIdentityObject o where o.name like= :nameFilter and o.realm like :realm and o.identityType.name like :typeName= " + - "order by o.name desc" - ), - @NamedQuery( - name =3D "countIdentityObjectsByType", - query =3D "select count(o.id) from HibernateIdentityObject o where o= .realm like :realm and o.identityType.name like :typeName" - ) - }) +//@NamedQueries({ +// @NamedQuery( +// name =3D "findIdentityObjectByNameAndType", +// query =3D "select o from HibernateIdentityObject o where o.realm l= ike :realm and o.name like :name and o.identityType.name like :typeName" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectsByType", +// query =3D "select o from HibernateIdentityObject o where o.name li= ke :nameFilter and o.realm like :realm and o.identityType.name like :typeNa= me" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectsByTypeOrderedByNameAsc", +// query =3D "select o from HibernateIdentityObject o where o.name li= ke :nameFilter and o.realm like :realm and o.identityType.name like :typeNa= me " + +// "order by o.name asc" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectsByTypeOrderedByNameDesc", +// query =3D "select o from HibernateIdentityObject o where o.name li= ke :nameFilter and o.realm like :realm and o.identityType.name like :typeNa= me " + +// "order by o.name desc" +// ), +// @NamedQuery( +// name =3D "countIdentityObjectsByType", +// query =3D "select count(o.id) from HibernateIdentityObject o where= o.realm like :realm and o.identityType.name like :typeName" +// ) +// }) @Entity @Table(name =3D "identity_obj", uniqueConstraints =3D {@UniqueConstraint(c= olumnNames =3D {"NAME", "IDENTITY_TYPE", "REALM"})}) public class HibernateIdentityObject implements IdentityObject { + public static final String findIdentityObjectByNameAndType =3D + "select o from HibernateIdentityObject o where o.realm like :realm a= nd o.name like :name and o.identityType.name like :typeName"; + + public static final String findIdentityObjectsByType =3D + "select o from HibernateIdentityObject o where o.name like :nameFilt= er and o.realm like :realm and o.identityType.name like :typeName"; + + public static final String findIdentityObjectsByTypeOrderedByNameAsc = =3D + "select o from HibernateIdentityObject o where o.name like :nameFilt= er and o.realm like :realm and o.identityType.name like :typeName " + + "order by o.name asc"; + + public static final String findIdentityObjectsByTypeOrderedByNameDesc = =3D + "select o from HibernateIdentityObject o where o.name like :nameFilt= er and o.realm like :realm and o.identityType.name like :typeName " + + "order by o.name desc"; + + public static final String countIdentityObjectsByType =3D + "select count(o.id) from HibernateIdentityObject o where o.realm lik= e :realm and o.identityType.name like :typeName"; + + @Id @GeneratedValue private Long id; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateIdentityObjectRelationship.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectRelationship.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectRelationship.java 2009-02-03 12:54:58 UTC (rev 299) @@ -42,21 +42,27 @@ * @author Boleslaw D= awidowicz * @version : 0.1 $ */ -(a)NamedQueries({ - @NamedQuery( - name =3D "findIdentityObjectRelationshipsByType", - query =3D "select r from HibernateIdentityObjectRelationship r where= r.type.name like :typeName" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNamesByType", - query =3D "select r.name from HibernateIdentityObjectRelationship r = where r.type.name like :typeName" - ) - }) +//@NamedQueries({ +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipsByType", +// query =3D "select r from HibernateIdentityObjectRelationship r whe= re r.type.name like :typeName" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNamesByType", +// query =3D "select r.name from HibernateIdentityObjectRelationship = r where r.type.name like :typeName" +// ) +// }) @Entity @Table(name=3D"identity_relationship", uniqueConstraints =3D {@UniqueConst= raint(columnNames =3D {"NAME", "TYPE", "FROM_IDENTITY", "TO_IDENTITY"})}) public class HibernateIdentityObjectRelationship implements IdentityObject= Relationship { + public static final String findIdentityObjectRelationshipsByType =3D + "select r from HibernateIdentityObjectRelationship r where r.type.na= me like :typeName"; = + public static final String findIdentityObjectRelationshipNamesByType = =3D + "select r.name from HibernateIdentityObjectRelationship r where r.typ= e.name like :typeName"; + + @Id @GeneratedValue private Long id; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateIdentityObjectRelationshipName.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectRelationshipName.java 2009-02-03 10:32:25 UTC (rev = 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectRelationshipName.java 2009-02-03 12:54:58 UTC (rev = 299) @@ -39,44 +39,75 @@ */ @Entity @Table(name=3D"identity_relationship_name", uniqueConstraints =3D {@Unique= Constraint(columnNames =3D {"NAME", "REALM"})}) -(a)NamedQueries({ - @NamedQuery( - name =3D "findIdentityObjectRelationshipNameByName", - query =3D "select rn from HibernateIdentityObjectRelationshipName rn= where rn.name like :name and rn.realm like :realm" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNames", - query =3D "select rn.name from HibernateIdentityObjectRelationshipNa= me rn where rn.name like :nameFilter and rn.realm like :realm" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNamesOrderedByNameAsc", - query =3D "select rn.name from HibernateIdentityObjectRelationshipNa= me rn where rn.name like :nameFilter and rn.realm like :realm " + - "order by rn.name asc" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNamesOrderedByNameDesc", - query =3D "select rn.name from HibernateIdentityObjectRelationshipNa= me rn where rn.name like :nameFilter and rn.realm like :realm " + - "order by rn.name desc" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNamesForIdentityObject", - query =3D "select r.name.name from HibernateIdentityObjectRelationsh= ip r where " + - "r.fromIdentityObject like :identityObject or r.toIdentityObject = like :identityObject" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNamesForIdentityObjectOrdere= dByNameAsc", - query =3D "select r.name.name from HibernateIdentityObjectRelationsh= ip r where " + +//@NamedQueries({ +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNameByName", +// query =3D "select rn from HibernateIdentityObjectRelationshipName = rn where rn.name like :name and rn.realm like :realm" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNames", +// query =3D "select rn.name from HibernateIdentityObjectRelationship= Name rn where rn.name like :nameFilter and rn.realm like :realm" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNamesOrderedByNameAsc", +// query =3D "select rn.name from HibernateIdentityObjectRelationship= Name rn where rn.name like :nameFilter and rn.realm like :realm " + +// "order by rn.name asc" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNamesOrderedByNameDesc", +// query =3D "select rn.name from HibernateIdentityObjectRelationship= Name rn where rn.name like :nameFilter and rn.realm like :realm " + +// "order by rn.name desc" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNamesForIdentityObject", +// query =3D "select r.name.name from HibernateIdentityObjectRelation= ship r where " + +// "r.fromIdentityObject like :identityObject or r.toIdentityObjec= t like :identityObject" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNamesForIdentityObjectOrde= redByNameAsc", +// query =3D "select r.name.name from HibernateIdentityObjectRelation= ship r where " + +// "r.fromIdentityObject like :identityObject or r.toIdentityObjec= t like :identityObject " + +// "order by r.name.name asc" +// ), +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipNamesForIdentityObjectOrde= reByNameDesc", +// query =3D "select r.name.name from HibernateIdentityObjectRelation= ship r where " + +// "r.fromIdentityObject like :identityObject or r.toIdentityObjec= t like :identityObject " + +// "order by r.name.name desc") +//}) +public class HibernateIdentityObjectRelationshipName +{ + + public static final String findIdentityObjectRelationshipNameByName =3D + "select rn from HibernateIdentityObjectRelationshipName rn where rn.= name like :name and rn.realm like :realm"; + + public static final String findIdentityObjectRelationshipNames =3D + "select rn.name from HibernateIdentityObjectRelationshipName rn wher= e rn.name like :nameFilter and rn.realm like :realm"; + + public static final String findIdentityObjectRelationshipNamesOrderedBy= NameAsc =3D + "select rn.name from HibernateIdentityObjectRelationshipName rn wher= e rn.name like :nameFilter and rn.realm like :realm " + + "order by rn.name asc"; + + public static final String findIdentityObjectRelationshipNamesOrderedBy= NameDesc =3D + "select rn.name from HibernateIdentityObjectRelationshipName rn wher= e rn.name like :nameFilter and rn.realm like :realm " + + "order by rn.name desc"; + + public static final String findIdentityObjectRelationshipNamesForIdenti= tyObject =3D + "select r.name.name from HibernateIdentityObjectRelationship r where= " + + "r.fromIdentityObject like :identityObject or r.toIdentityObject = like :identityObject"; + + public static final String findIdentityObjectRelationshipNamesForIdenti= tyObjectOrderedByNameAsc =3D + "select r.name.name from HibernateIdentityObjectRelationship r where= " + "r.fromIdentityObject like :identityObject or r.toIdentityObject = like :identityObject " + - "order by r.name.name asc" - ), - @NamedQuery( - name =3D "findIdentityObjectRelationshipNamesForIdentityObjectOrdere= ByNameDesc", - query =3D "select r.name.name from HibernateIdentityObjectRelationsh= ip r where " + + "order by r.name.name asc"; + + public static final String findIdentityObjectRelationshipNamesForIdenti= tyObjectOrdereByNameDesc =3D + "select r.name.name from HibernateIdentityObjectRelationship r where= " + "r.fromIdentityObject like :identityObject or r.toIdentityObject = like :identityObject " + - "order by r.name.name desc") -}) -public class HibernateIdentityObjectRelationshipName -{ + "order by r.name.name desc"; + + + @Id @GeneratedValue private Long id; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateIdentityObjectRelationshipType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectRelationshipType.java 2009-02-03 10:32:25 UTC (rev = 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectRelationshipType.java 2009-02-03 12:54:58 UTC (rev = 299) @@ -36,17 +36,21 @@ * @author Boleslaw D= awidowicz * @version : 0.1 $ */ -(a)NamedQueries({ - @NamedQuery( - name =3D "findIdentityObjectRelationshipTypeByName", - query =3D "select t from HibernateIdentityObjectRelationshipType t w= here t.name like :name" - ) - }) +//@NamedQueries({ +// @NamedQuery( +// name =3D "findIdentityObjectRelationshipTypeByName", +// query =3D "select t from HibernateIdentityObjectRelationshipType t= where t.name like :name" +// ) +// }) @Entity @Table(name =3D "identity_relationship_type") public class HibernateIdentityObjectRelationshipType implements IdentityOb= jectRelationshipType { = + public static final String findIdentityObjectRelationshipTypeByName =3D + "select t from HibernateIdentityObjectRelationshipType t where t.na= me like :name"; + + @Id @GeneratedValue private Long id; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateIdentityObjectType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectType.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObjectType.java 2009-02-03 12:54:58 UTC (rev 299) @@ -46,6 +46,10 @@ @Table(name =3D "identity_obj_type") public class HibernateIdentityObjectType implements IdentityObjectType { + + public static final String findIdentityObjectTypeByName =3D + "select t from HibernateIdentityObjectType t where t.name like :name= "; + @Id @GeneratedValue private Long id; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateRealm.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateRealm.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateRealm.java 2009-02-03 12:54:58 UTC (rev 299) @@ -41,17 +41,20 @@ * @author Boleslaw D= awidowicz * @version : 0.1 $ */ -(a)NamedQueries({ - @NamedQuery( - name =3D "findIRealmByName", - query =3D "select o from HibernateRealm o where o.name like :name" - ) -}) +//@NamedQueries({ +// @NamedQuery( +// name =3D "findIRealmByName", +// query =3D "select o from HibernateRealm o where o.name like :name" +// ) +//}) @Entity @Table(name =3D "identity_realm", uniqueConstraints =3D {@UniqueConstraint= (columnNames =3D {"NAME"})}) public class HibernateRealm { = + public static final String findIRealmByName =3D + "select o from HibernateRealm o where o.name like :name"; + @Id @GeneratedValue private Long id; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-03 12:54:58 UTC (rev 299) @@ -33,12 +33,11 @@ import java.util.Map; import java.util.Set; = -import javax.persistence.NoResultException; -import javax.persistence.Persistence; -import javax.persistence.Query; - import org.hibernate.Criteria; import org.hibernate.HibernateException; +import org.hibernate.Session; +import org.hibernate.Query; +import org.hibernate.SessionFactory; import org.hibernate.criterion.Restrictions; import org.hibernate.ejb.HibernateEntityManager; import org.hibernate.ejb.HibernateEntityManagerFactory; @@ -76,6 +75,10 @@ import org.jboss.identity.idm.spi.store.IdentityStoreInvocationContext; import org.jboss.identity.idm.spi.store.IdentityStoreSession; = +import javax.persistence.Persistence; +import javax.naming.InitialContext; +import javax.naming.NamingException; + /** * @author Boleslaw D= awidowicz * @version : 0.1 $ @@ -104,6 +107,8 @@ = public static final String PERSISTENCE_UNIT =3D "persistenceUnit"; = + public static final String HIBERNATE_SESSION_FACTORY_JNDI_NAME =3D "hib= ernateSessionFactoryJNDIName"; + public static final String POPULATE_MEMBERSHIP_TYPES =3D "populateRelat= ionshipTypes"; = public static final String POPULATE_IDENTITY_OBJECT_TYPES =3D "populate= IdentityObjectTypes"; @@ -122,7 +127,7 @@ = private FeaturesMetaData supportedFeatures; = - private HibernateEntityManagerFactory emFactory; + private SessionFactory sessionFactory; = private boolean isRealmAware =3D false; = @@ -175,9 +180,9 @@ String populateMembershipTypes =3D configurationMD.getOptionSingleVa= lue(POPULATE_MEMBERSHIP_TYPES); String populateIdentityObjectTypes =3D configurationMD.getOptionSing= leValue(POPULATE_IDENTITY_OBJECT_TYPES); = - emFactory =3D bootstrapHibernateEntityManager(configurationMD); + sessionFactory =3D bootstrapHibernateSessionFactory(configurationMD); = - HibernateEntityManager em =3D (HibernateEntityManager)emFactory.crea= teEntityManager(); + Session hibernateSession =3D sessionFactory.openSession(); = // Attribute mappings - helper structures = @@ -217,7 +222,7 @@ = try { - populateRelationshipTypes(em, memberships.toArray(new String[m= emberships.size()])); + populateRelationshipTypes(hibernateSession, memberships.toArra= y(new String[memberships.size()])); } catch (Exception e) { @@ -238,7 +243,7 @@ = try { - populateObjectTypes(em, types.toArray(new String[types.size()]= )); + populateObjectTypes(hibernateSession, types.toArray(new String= [types.size()])); } catch (Exception e) { @@ -251,7 +256,7 @@ { try { - populateCredentialTypes(em, supportedCredentialTypes.toArray(n= ew String[supportedCredentialTypes.size()])); + populateCredentialTypes(hibernateSession, supportedCredentialT= ypes.toArray(new String[supportedCredentialTypes.size()])); } catch (Exception e) { @@ -280,12 +285,12 @@ try { = - em.getTransaction().begin(); + hibernateSession.getTransaction().begin(); = - realm =3D (HibernateRealm)em.getSession(). + realm =3D (HibernateRealm)hibernateSession. createCriteria(HibernateRealm.class).add(Restrictions.eq("name= ", DEFAULT_REALM_NAME)).uniqueResult(); = - em.getTransaction().commit(); + hibernateSession.getTransaction().commit(); = } catch (HibernateException e) @@ -295,24 +300,48 @@ = if (realm =3D=3D null) { - addRealm(em, DEFAULT_REALM_NAME); + addRealm(hibernateSession, DEFAULT_REALM_NAME); } = + hibernateSession.flush(); + } = - // this is separate method to allow easier testing - protected HibernateEntityManagerFactory bootstrapHibernateEntityManager= (IdentityStoreConfigurationMetaData configurationMD) throws IdentityExcepti= on + protected SessionFactory bootstrapHibernateSessionFactory(IdentityStore= ConfigurationMetaData configurationMD) throws IdentityException { = + String sfJNDIName =3D configurationMD.getOptionSingleValue(HIBERNATE= _SESSION_FACTORY_JNDI_NAME); String persistenceUnit =3D configurationMD.getOptionSingleValue(PERS= ISTENCE_UNIT); - = - if (persistenceUnit =3D=3D null) + + if (sfJNDIName !=3D null) { - throw new IdentityException("Persistence Unit not defined for Ide= ntityStore: " + getId()); + try + { + return (SessionFactory)new InitialContext().lookup(sfJNDIName); + } + catch (NamingException e) + { + throw new IdentityException("Cannot obtain hibernate SessionFa= ctory from provided JNDI name: " + sfJNDIName, e); + } } + else if (persistenceUnit !=3D null) + { = - return (HibernateEntityManagerFactory)Persistence.createEntityManage= rFactory(persistenceUnit); + try + { + return ((HibernateEntityManagerFactory)Persistence.createEntit= yManagerFactory(persistenceUnit)).getSessionFactory(); + } + catch (Exception e) + { + throw new IdentityException("Cannot obtain hibernate SessionFa= ctory using provided persistence unit name: "+ persistenceUnit, e); + } = + } + + throw new IdentityException("Cannot obtain hibernate SessionFactory.= None of supported options specified: " + + HIBERNATE_SESSION_FACTORY_JNDI_NAME + ", " + PERSISTENCE_UNIT); + + } = = @@ -320,7 +349,7 @@ { try { - return new HibernateIdentityStoreSessionImpl((HibernateEntityMana= ger)emFactory.createEntityManager()); + return new HibernateIdentityStoreSessionImpl(sessionFactory.openS= ession()); } catch (Exception e) { @@ -361,16 +390,16 @@ = checkIOType(identityObjectType); = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session session =3D getHibernateSession(ctx); = - HibernateRealm realm =3D getRealm(em, ctx); + HibernateRealm realm =3D getRealm(session, ctx); = // Check if object with a given name and type is not present already - List results =3D em.createNamedQuery("findIdentityObjectByNameAnd= Type") + List results =3D session.createQuery(HibernateIdentityObject.find= IdentityObjectByNameAndType) .setParameter("realm", realm) .setParameter("name", name) .setParameter("typeName", identityObjectType.getName()) - .getResultList(); + .list(); = if (results.size() !=3D 0) { @@ -393,7 +422,7 @@ = try { - getHibernateEntityManager(ctx).persist(io); + getHibernateSession(ctx).persist(io); } catch (Exception e) { @@ -408,7 +437,7 @@ { HibernateIdentityObject hibernateObject =3D safeGet(ctx, identity); = - HibernateEntityManager hem =3D getHibernateEntityManager(ctx); + Session hibernateSession =3D getHibernateSession(ctx); = try { @@ -418,7 +447,7 @@ relationship.getFromIdentityObject().getFromRelationships().re= move(relationship); relationship.getToIdentityObject().getToRelationships().remove= (relationship); = - hem.remove(relationship); + hibernateSession.delete(relationship); } = for (HibernateIdentityObjectRelationship relationship : hibernate= Object.getToRelationships()) @@ -426,10 +455,10 @@ relationship.getFromIdentityObject().getFromRelationships().re= move(relationship); relationship.getToIdentityObject().getToRelationships().remove= (relationship); = - hem.remove(relationship); + hibernateSession.delete(relationship); } = - hem.remove(hibernateObject); + hibernateSession.delete(hibernateObject); } catch (Exception e) { @@ -443,16 +472,16 @@ = HibernateIdentityObjectType jpaType =3D getHibernateIdentityObjectTy= pe(ctx, identityType); = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session hibernateSession =3D getHibernateSession(ctx); = int count; try { - count =3D ((Number)em - .createNamedQuery("countIdentityObjectsByType") + count =3D ((Number)hibernateSession + .createQuery(HibernateIdentityObject.countIdentityObjectsByTyp= e) .setParameter("typeName", jpaType.getName()) - .setParameter("realm", getRealm(em, ctx)) - .getSingleResult()).intValue(); + .setParameter("realm", getRealm(hibernateSession, ctx)) + .uniqueResult()).intValue(); } catch (Exception e) { @@ -476,16 +505,16 @@ = HibernateIdentityObject hibernateObject =3D null; = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = try { - hibernateObject =3D (HibernateIdentityObject)getHibernateEntityMa= nager(ctx). - createNamedQuery("findIdentityObjectByNameAndType") + hibernateObject =3D (HibernateIdentityObject)getHibernateSession(= ctx). + createQuery(HibernateIdentityObject.findIdentityObjectByNameAn= dType) .setParameter("realm", getRealm(em, ctx)) .setParameter("name", name) .setParameter("typeName", hibernateType.getName()) - .getSingleResult(); + .uniqueResult(); } catch (Exception e) { @@ -506,7 +535,7 @@ = try { - hibernateObject =3D getHibernateEntityManager(ctx).find(Hibernate= IdentityObject.class, new Long(id)); + hibernateObject =3D (HibernateIdentityObject)getHibernateSession(= ctx).get(HibernateIdentityObject.class, new Long(id)); } catch(Exception e) { @@ -559,7 +588,7 @@ = List results; = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session hibernateSession =3D getHibernateSession(ctx); = try { @@ -570,16 +599,16 @@ { if (sortSearchControl.isAscending()) { - q =3D em.createNamedQuery("findIdentityObjectsByTypeOrdered= ByNameAsc"); + q =3D hibernateSession.createQuery(HibernateIdentityObject.= findIdentityObjectsByTypeOrderedByNameAsc); } else { - q =3D em.createNamedQuery("findIdentityObjectsByTypeOrdered= ByNameDesc"); + q =3D hibernateSession.createQuery(HibernateIdentityObject.= findIdentityObjectsByTypeOrderedByNameDesc); } } else { - q =3D em.createNamedQuery("findIdentityObjectsByType"); + q =3D hibernateSession.createQuery(HibernateIdentityObject.fin= dIdentityObjectsByType); } = if (pageSearchControl !=3D null) @@ -592,7 +621,7 @@ = } = - q.setParameter("realm", getRealm(em, ctx)) + q.setParameter("realm", getRealm(hibernateSession, ctx)) .setParameter("typeName", hibernateType.getName()); = if (nameFilterSearchControl !=3D null) @@ -606,7 +635,7 @@ = = = - results =3D (List)q.getResultList(); + results =3D (List)q.list(); = } catch (Exception e) @@ -725,7 +754,7 @@ = = = - q =3D getHibernateEntityManager(ctx).getSession().createQuery(hql= String.toString()) + q =3D getHibernateSession(ctx).createQuery(hqlString.toString()) .setParameter("relType", relationshipType.getName()) .setParameter("identity",hibernateObject); = @@ -798,7 +827,7 @@ "beetween: [ " + fromIO.getIdentityType().getName() + " ] and = [ " + toIO.getIdentityType().getName() + " ]"); } = - org.hibernate.Query query =3D getHibernateEntityManager(ctx).getSess= ion().createQuery(QUERY_RELATIONSHIP_BY_FROM_TO_TYPE_NAME) + org.hibernate.Query query =3D getHibernateSession(ctx).createQuery(Q= UERY_RELATIONSHIP_BY_FROM_TO_TYPE_NAME) .setParameter("fromIO", fromIO) .setParameter("toIO", toIO) .setParameter("typeName", type.getName()) @@ -816,7 +845,10 @@ if (name !=3D null) { = - HibernateIdentityObjectRelationshipName relationshipName =3D (Hib= ernateIdentityObjectRelationshipName)getHibernateEntityManager(ctx).getSess= ion().createCriteria(HibernateIdentityObjectRelationshipName.class).add(Res= trictions.eq("name", name)).uniqueResult(); + HibernateIdentityObjectRelationshipName relationshipName =3D + (HibernateIdentityObjectRelationshipName)getHibernateSession(c= tx). + createCriteria(HibernateIdentityObjectRelationshipName.clas= s).add(Restrictions.eq("name", name)). + uniqueResult(); = if (relationshipName =3D=3D null) { @@ -830,7 +862,7 @@ relationship =3D new HibernateIdentityObjectRelationship(type, fr= omIO, toIO); } = - getHibernateEntityManager(ctx).persist(relationship); + getHibernateSession(ctx).persist(relationship); = return relationship; = @@ -856,21 +888,24 @@ = if (name =3D=3D null) { - query =3D getHibernateEntityManager(ctx).getSession().createQuery= (QUERY_RELATIONSHIP_BY_FROM_TO_TYPE) + query =3D getHibernateSession(ctx).createQuery(QUERY_RELATIONSHIP= _BY_FROM_TO_TYPE) .setParameter("fromIO", fromIO) .setParameter("toIO", toIO) .setParameter("typeName", type.getName()); } else { - HibernateIdentityObjectRelationshipName relationshipName =3D (Hib= ernateIdentityObjectRelationshipName)getHibernateEntityManager(ctx).getSess= ion().createCriteria(HibernateIdentityObjectRelationshipName.class).add(Res= trictions.eq("name", name)).uniqueResult(); + HibernateIdentityObjectRelationshipName relationshipName =3D + (HibernateIdentityObjectRelationshipName)getHibernateSession(c= tx) + .createCriteria(HibernateIdentityObjectRelationshipName.cla= ss).add(Restrictions.eq("name", name)) + .uniqueResult(); = if (relationshipName =3D=3D null) { throw new IdentityException("Relationship name not present in = the store"); } = - query =3D getHibernateEntityManager(ctx).getSession().createQuery= (QUERY_RELATIONSHIP_BY_FROM_TO_TYPE_NAME) + query =3D getHibernateSession(ctx).createQuery(QUERY_RELATIONSHIP= _BY_FROM_TO_TYPE_NAME) .setParameter("fromIO", fromIO) .setParameter("toIO", toIO) .setParameter("typeName", type.getName()) @@ -889,7 +924,7 @@ = fromIO.getFromRelationships().remove(relationship); toIO.getToRelationships().remove(relationship); - getHibernateEntityManager(ctx).remove(relationship); + getHibernateSession(ctx).delete(relationship); = } = @@ -898,7 +933,7 @@ HibernateIdentityObject hio1 =3D safeGet(ctx, identity1); HibernateIdentityObject hio2 =3D safeGet(ctx, identity2); = - org.hibernate.Query query =3D getHibernateEntityManager(ctx).getSess= ion().createQuery(QUERY_RELATIONSHIP_BY_IDENTITIES) + org.hibernate.Query query =3D getHibernateSession(ctx).createQuery(Q= UERY_RELATIONSHIP_BY_IDENTITIES) .setParameter("IO1", hio1) .setParameter("IO2", hio2); = @@ -913,7 +948,7 @@ { relationship.getFromIdentityObject().getFromRelationships().re= move(relationship); relationship.getToIdentityObject().getToRelationships().remove= (relationship); - getHibernateEntityManager(ctx).remove(relationship); + getHibernateSession(ctx).delete(relationship); } } } @@ -931,11 +966,11 @@ = if (relationshipType =3D=3D null) { - query =3D getHibernateEntityManager(ctx).getSession().createQuery= (QUERY_RELATIONSHIP_BY_FROM_TO); + query =3D getHibernateSession(ctx).createQuery(QUERY_RELATIONSHIP= _BY_FROM_TO); } else { - query =3D getHibernateEntityManager(ctx).getSession().createQuery= (QUERY_RELATIONSHIP_BY_FROM_TO_TYPE) + query =3D getHibernateSession(ctx).createQuery(QUERY_RELATIONSHIP= _BY_FROM_TO_TYPE) .setParameter("typeName", relationshipType.getName()); = } @@ -959,7 +994,7 @@ HibernateIdentityObject hio =3D safeGet(ctx, identity); = = - Criteria criteria =3D getHibernateEntityManager(ctx).getSession().cr= eateCriteria(HibernateIdentityObjectRelationship.class); + Criteria criteria =3D getHibernateSession(ctx).createCriteria(Hibern= ateIdentityObjectRelationship.class); = if (type !=3D null) { @@ -1002,13 +1037,13 @@ throw new IllegalArgumentException("name is null"); } = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = HibernateRealm realm =3D getRealm(em, ctx); = try { - HibernateIdentityObjectRelationshipName hiorn =3D (HibernateIdent= ityObjectRelationshipName)em.getSession().createCriteria(HibernateIdentityO= bjectRelationshipName.class) + HibernateIdentityObjectRelationshipName hiorn =3D (HibernateIdent= ityObjectRelationshipName)em.createCriteria(HibernateIdentityObjectRelation= shipName.class) .add(Restrictions.eq("name", name)).add(Restrictions.eq("realm= ", realm)).uniqueResult(); = if (hiorn !=3D null) @@ -1017,7 +1052,7 @@ } = hiorn =3D new HibernateIdentityObjectRelationshipName(name, realm= ); - getHibernateEntityManager(ctx).persist(hiorn); + getHibernateSession(ctx).persist(hiorn); = } catch (Exception e) @@ -1036,12 +1071,12 @@ throw new IllegalArgumentException("name is null"); } = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = = try { - HibernateIdentityObjectRelationshipName hiorn =3D (HibernateIdent= ityObjectRelationshipName)em.getSession().createCriteria(HibernateIdentityO= bjectRelationshipName.class) + HibernateIdentityObjectRelationshipName hiorn =3D (HibernateIdent= ityObjectRelationshipName)em.createCriteria(HibernateIdentityObjectRelation= shipName.class) .add(Restrictions.eq("name", name)).add(Restrictions.eq("realm= ", getRealm(em, ctx))).uniqueResult(); = if (hiorn =3D=3D null) @@ -1049,7 +1084,7 @@ throw new IdentityException("Relationship name doesn't exist"); } = - getHibernateEntityManager(ctx).remove(hiorn); + getHibernateSession(ctx).delete(hiorn); = } catch (Exception e) @@ -1066,7 +1101,7 @@ = Set names =3D null; = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = checkControls(controls); = @@ -1107,16 +1142,16 @@ { if (sortSearchControl.isAscending()) { - q =3D em.createNamedQuery("findIdentityObjectRelationshipNa= mesOrderedByNameAsc"); + q =3D em.createQuery(HibernateIdentityObjectRelationshipNam= e.findIdentityObjectRelationshipNamesOrderedByNameAsc); } else { - q =3D em.createNamedQuery("findIdentityObjectRelationshipNa= mesOrderedByNameDesc"); + q =3D em.createQuery(HibernateIdentityObjectRelationshipNam= e.findIdentityObjectRelationshipNamesOrderedByNameDesc); } } else { - q =3D em.createNamedQuery("findIdentityObjectRelationshipNames= "); + q =3D em.createQuery(HibernateIdentityObjectRelationshipName.f= indIdentityObjectRelationshipNames); } = q.setParameter("realm", getRealm(em, ctx)); @@ -1140,7 +1175,7 @@ } } = - List results =3D (List)q.getResultList(); + List results =3D (List)q.list(); = names =3D new HashSet(results); = @@ -1165,7 +1200,7 @@ = HibernateIdentityObject hibernateObject =3D safeGet(ctx, identity); = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = checkControls(controls); = @@ -1195,16 +1230,16 @@ { if (sortSearchControl.isAscending()) { - q =3D em.createNamedQuery("findIdentityObjectRelationshipNa= mesForIdentityObjectOrderedByNameAsc"); + q =3D em.createQuery(HibernateIdentityObjectRelationshipNam= e.findIdentityObjectRelationshipNamesForIdentityObjectOrderedByNameAsc); } else { - q =3D em.createNamedQuery("findIdentityObjectRelationshipNa= mesForIdentityObjectOrderedByNameDesc"); + q =3D em.createQuery(HibernateIdentityObjectRelationshipNam= e.findIdentityObjectRelationshipNamesForIdentityObjectOrdereByNameDesc); } } else { - q =3D em.createNamedQuery("findIdentityObjectRelationshipNames= ForIdentityObject"); + q =3D em.createQuery(HibernateIdentityObjectRelationshipName.f= indIdentityObjectRelationshipNamesForIdentityObject); } = q.setParameter("identityObject", hibernateObject); @@ -1218,7 +1253,7 @@ } } = - List results =3D (List)q.getResultList(); + List results =3D (List)q.list(); = names =3D new HashSet(results); = @@ -1685,7 +1720,7 @@ = HibernateIdentityObject hibernateObject =3D safeGet(ctx, identityObj= ect); = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = if (supportedFeatures.isCredentialSupported(hibernateObject.getIdent= ityType(),credential.getType())) { @@ -1749,24 +1784,24 @@ public void addIdentityObjectType(IdentityStoreInvocationContext ctx, I= dentityObjectType type) throws IdentityException { HibernateIdentityObjectType hibernateType =3D new HibernateIdentityO= bjectType(type); - getHibernateEntityManager(ctx).persist(hibernateType); + getHibernateSession(ctx).persist(hibernateType); } = = public void addIdentityObjectRelationshipType(IdentityStoreInvocationCo= ntext ctx, IdentityObjectRelationshipType type) throws IdentityException { HibernateIdentityObjectRelationshipType hibernateType =3D new Hibern= ateIdentityObjectRelationshipType(type); - getHibernateEntityManager(ctx).persist(hibernateType); + getHibernateSession(ctx).persist(hibernateType); } = = - protected HibernateEntityManager getHibernateEntityManager(IdentityStor= eInvocationContext ctx) throws IdentityException + protected Session getHibernateSession(IdentityStoreInvocationContext ct= x) throws IdentityException { try { - return (HibernateEntityManager)ctx.getIdentityStoreSession().getS= essionContext(); + return ((Session)ctx.getIdentityStoreSession().getSessionContext(= )); } - catch (IdentityException e) + catch (Exception e) { throw new IdentityException("Cannot obtain HibernateEntityManager= ", e); } @@ -1814,18 +1849,19 @@ = HibernateIdentityObjectType hibernateType =3D null; = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = = try { - hibernateType =3D (HibernateIdentityObjectType)em.createNamedQuer= y("findIdentityObjectTypeByName") + hibernateType =3D (HibernateIdentityObjectType)em. + createQuery(HibernateIdentityObjectType.findIdentityObjectType= ByName) .setParameter("name", type.getName()) - .getSingleResult() ; + .uniqueResult() ; } - catch (NoResultException e) + catch (HibernateException e) { - throw new IdentityException("IdentityObjectType[" + type.getName(= ) + "] not present in the store."); + throw new IdentityException("IdentityObjectType[" + type.getName(= ) + "] not present in the store.", e); } = return hibernateType; @@ -1836,16 +1872,16 @@ = HibernateIdentityObject hibernateObject =3D null; = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = = try { - hibernateObject =3D (HibernateIdentityObject)em.createNamedQuery(= "findIdentityObjectByNameAndType") + hibernateObject =3D (HibernateIdentityObject)em.createQuery(Hiber= nateIdentityObject.findIdentityObjectByNameAndType) .setParameter("name", io.getName()) .setParameter("typeName", io.getIdentityType().getName()) .setParameter("realm", getRealm(em, ctx)) - .getSingleResult(); + .uniqueResult(); } catch (Exception e) { @@ -1860,13 +1896,14 @@ = HibernateIdentityObjectRelationshipType relationshipType =3D null; = - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = try { - relationshipType =3D (HibernateIdentityObjectRelationshipType)em.= createNamedQuery("findIdentityObjectRelationshipTypeByName") + relationshipType =3D (HibernateIdentityObjectRelationshipType)em. + createQuery(HibernateIdentityObjectRelationshipType.findIdenti= tyObjectRelationshipTypeByName) .setParameter("name", iot.getName()) - .getSingleResult(); + .uniqueResult(); } catch (Exception e) { @@ -1878,13 +1915,13 @@ = private HibernateIdentityObjectCredentialType getHibernateIdentityObjec= tCredentialType(IdentityStoreInvocationContext ctx, IdentityObjectCredentia= lType credentialType) throws IdentityException { - HibernateEntityManager em =3D getHibernateEntityManager(ctx); + Session em =3D getHibernateSession(ctx); = HibernateIdentityObjectCredentialType hibernateType =3D null; = try { - hibernateType =3D (HibernateIdentityObjectCredentialType)em.getS= ession(). + hibernateType =3D (HibernateIdentityObjectCredentialType)em. createCriteria(HibernateIdentityObjectCredentialType.class)= .add(Restrictions.eq("name", credentialType.getName())).uniqueResult(); } catch (HibernateException e) @@ -1896,87 +1933,87 @@ = } = - public void populateObjectTypes(HibernateEntityManager em, String[] typ= eNames) throws Exception + public void populateObjectTypes(Session hibernateSession, String[] type= Names) throws Exception { = - em.getTransaction().begin(); + hibernateSession.getTransaction().begin(); = for (String typeName : typeNames) { = //Check if present = - HibernateIdentityObjectType hibernateType =3D (HibernateIdentityO= bjectType)em.getSession(). + HibernateIdentityObjectType hibernateType =3D (HibernateIdentityO= bjectType)hibernateSession. createCriteria(HibernateIdentityObjectType.class).add(Restrict= ions.eq("name", typeName)).uniqueResult(); = if (hibernateType =3D=3D null) { hibernateType =3D new HibernateIdentityObjectType(typeName); - em.persist(hibernateType); + hibernateSession.persist(hibernateType); } = } = - em.getTransaction().commit(); + hibernateSession.getTransaction().commit(); = } = - public void populateRelationshipTypes(HibernateEntityManager em, String= [] typeNames) throws Exception + public void populateRelationshipTypes(Session hibernateSession, String[= ] typeNames) throws Exception { = - em.getTransaction().begin(); + hibernateSession.getTransaction().begin(); = for (String typeName : typeNames) { - HibernateIdentityObjectRelationshipType hibernateType =3D (Hibern= ateIdentityObjectRelationshipType)em.getSession(). + HibernateIdentityObjectRelationshipType hibernateType =3D (Hibern= ateIdentityObjectRelationshipType)hibernateSession. createCriteria(HibernateIdentityObjectRelationshipType.class).= add(Restrictions.eq("name", typeName)).uniqueResult(); = if (hibernateType =3D=3D null) { hibernateType =3D new HibernateIdentityObjectRelationshipType(= typeName); - em.persist(hibernateType); + hibernateSession.persist(hibernateType); } = } = - em.getTransaction().commit(); + hibernateSession.getTransaction().commit(); } = = - public void populateCredentialTypes(HibernateEntityManager em, String[]= typeNames) throws Exception + public void populateCredentialTypes(Session hibernateSession, String[] = typeNames) throws Exception { = - em.getTransaction().begin(); + hibernateSession.getTransaction().begin(); = for (String typeName : typeNames) { - HibernateIdentityObjectCredentialType hibernateType =3D (Hibernat= eIdentityObjectCredentialType)em.getSession(). + HibernateIdentityObjectCredentialType hibernateType =3D (Hibernat= eIdentityObjectCredentialType)hibernateSession. createCriteria(HibernateIdentityObjectCredentialType.class).ad= d(Restrictions.eq("name", typeName)).uniqueResult(); = if (hibernateType =3D=3D null) { hibernateType =3D new HibernateIdentityObjectCredentialType(ty= peName); - em.persist(hibernateType); + hibernateSession.persist(hibernateType); } = } = - em.getTransaction().commit(); + hibernateSession.getTransaction().commit(); } = = = - public void addRealm(HibernateEntityManager em, String realmName) throw= s IdentityException + public void addRealm(Session hibernateSession, String realmName) throws= IdentityException { = try { - em.getTransaction().begin(); + hibernateSession.getTransaction().begin(); = HibernateRealm realm =3D new HibernateRealm(realmName); - em.persist(realm); + hibernateSession.persist(realm); = - em.getTransaction().commit(); + hibernateSession.getTransaction().commit(); = } catch (Exception e) @@ -1986,7 +2023,7 @@ } = = - public HibernateRealm getRealm(HibernateEntityManager em, IdentityStore= InvocationContext ctx) throws IdentityException + public HibernateRealm getRealm(Session hibernateSession, IdentityStoreI= nvocationContext ctx) throws IdentityException { if (ctx.getRealmId() =3D=3D null) { @@ -1998,7 +2035,7 @@ // If store is not realm aware return null to create/get objects acc= essible from other realms = if (!isRealmAware()) { - realm =3D (HibernateRealm)em.getSession(). + realm =3D (HibernateRealm)hibernateSession. createCriteria(HibernateRealm.class).add(Restrictions.eq("name", = DEFAULT_REALM_NAME)).uniqueResult(); = if (realm =3D=3D null) @@ -2009,7 +2046,7 @@ } else { - realm =3D (HibernateRealm)em.getSession(). + realm =3D (HibernateRealm)hibernateSession. createCriteria(HibernateRealm.class).add(Restrictions.eq("name= ", ctx.getRealmId())).uniqueResult(); = = @@ -2017,7 +2054,7 @@ if (realm =3D=3D null) { HibernateRealm newRealm =3D new HibernateRealm(ctx.getRealmId(= )); - em.persist(newRealm); + hibernateSession.persist(newRealm); return newRealm; } } Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreSessionImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreSessionImpl.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreSessionImpl.java 2009-02-03 12:54:58 UTC (rev 299) @@ -24,8 +24,8 @@ = import org.jboss.identity.idm.spi.store.IdentityStoreSession; import org.jboss.identity.idm.exception.IdentityException; +import org.hibernate.Session; import org.hibernate.ejb.HibernateEntityManagerFactory; -import org.hibernate.ejb.HibernateEntityManager; = import javax.persistence.Persistence; = @@ -38,42 +38,42 @@ public class HibernateIdentityStoreSessionImpl implements IdentityStoreSes= sion { = - private final HibernateEntityManager hem; + private final Session hibernateSession; = - public HibernateIdentityStoreSessionImpl(HibernateEntityManager hem) + public HibernateIdentityStoreSessionImpl(Session hibernateSession) { - this.hem =3D hem; + this.hibernateSession =3D hibernateSession; } = public HibernateIdentityStoreSessionImpl(String persistenceUnit) { HibernateEntityManagerFactory emFactory =3D (HibernateEntityManagerF= actory)Persistence.createEntityManagerFactory(persistenceUnit); - hem =3D (HibernateEntityManager)emFactory.createEntityManager(); + hibernateSession =3D emFactory.getSessionFactory().openSession(); } = public Object getSessionContext() { - return hem; + return hibernateSession; } = public void close() throws IdentityException { - hem.close(); + hibernateSession.close(); } = public void save() throws IdentityException { - hem.flush(); + hibernateSession.flush(); } = public void clear() throws IdentityException { - hem.clear(); + hibernateSession.clear(); } = public boolean isOpen() { - return hem.isOpen(); + return hibernateSession.isOpen(); } = public boolean isTransactionSupported() @@ -83,21 +83,21 @@ = public void startTransaction() { - hem.getTransaction().begin(); + hibernateSession.getTransaction().begin(); } = public void commitTransaction() { - hem.getTransaction().commit(); + hibernateSession.getTransaction().commit(); } = public void rollbackTransaction() { - hem.getTransaction().rollback(); + hibernateSession.getTransaction().rollback(); } = public boolean isTransactionActive() { - return hem.getTransaction().isActive(); + return hibernateSession.getTransaction().isActive(); } } Modified: idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreTestCase.java 2009-02-03 10:32:25 UTC (rev 298) +++ idm/trunk/idm/src/test/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreTestCase.java 2009-02-03 12:54:58 UTC (rev 299) @@ -39,6 +39,8 @@ import org.jboss.identity.idm.exception.IdentityException; import org.hibernate.ejb.HibernateEntityManager; import org.hibernate.ejb.HibernateEntityManagerFactory; +import org.hibernate.Session; +import org.hibernate.SessionFactory; = import java.util.Map; import java.io.File; @@ -86,15 +88,15 @@ store =3D new HibernateIdentityStoreImpl("HibernateTestStore") { = - protected HibernateEntityManager getHibernateEntityManager(Identi= tyStoreInvocationContext ctx) + protected Session getHibernateSession(IdentityStoreInvocationCont= ext ctx) { - return em; + return em.getSession(); } = @Override - protected HibernateEntityManagerFactory bootstrapHibernateEntityM= anager(IdentityStoreConfigurationMetaData configurationMD) throws IdentityE= xception + protected SessionFactory bootstrapHibernateSessionFactory(Identit= yStoreConfigurationMetaData configurationMD) throws IdentityException { - return emFactory; + return emFactory.getSessionFactory(); } = }; --===============7486183611293287284==-- From jboss-identity-commits at lists.jboss.org Tue Feb 3 09:16:12 2009 Content-Type: multipart/mixed; boundary="===============8397874938221067789==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r300 - in idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl: model/hibernate and 4 other directories. Date: Tue, 03 Feb 2009 09:16:11 -0500 Message-ID: --===============8397874938221067789== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-03 09:16:11 -0500 (Tue, 03 Feb 2009) New Revision: 300 Added: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCache= AttributeStoreWrapper.java Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/IdentitySt= oreCacheSupport.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCache= IdentityStoreWrapper.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate/= HibernateIdentityObject.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/ldap/LDAPI= dentityObjectImpl.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repository/Abstr= actIdentityStoreRepository.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreImpl.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/types/SimpleIden= tityObject.java Log: ++ for caching Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/Ide= ntityStoreCacheSupport.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/IdentityS= toreCacheSupport.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/IdentityS= toreCacheSupport.java 2009-02-03 14:16:11 UTC (rev 300) @@ -42,8 +42,10 @@ import java.util.HashSet; = /** + * Helper class providing caching support for IdentityStore. Stores search= methods results using hash from a set of used + * IdentityObjectSearchControl objects as a key. * = * - * TODO: update the structure... + * TODO: update cache tree structure documentation to all used nodes/keys.= .. * Cache structure: * * CACHE_ROOT (real) @@ -80,10 +82,7 @@ public abstract class IdentityStoreCacheSupport { = - // TODO: more logging... = - - // Node paths - + //Structure public static final String JBID_ROOT_NODE =3D "/jboss_id_idm"; = public static final String OBJECT_TYPES_NODE =3D JBID_ROOT_NODE + "/obj= ect_types"; @@ -561,6 +560,13 @@ = node.put(NODE_SEARCH_RESULTS_KEY, results); = + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationship sear= ch stored in cache: fromIdentity" + + fromIdentity.toString() + "; toIdentity=3D" + toIdentity.toStr= ing() + = + "; relationshipType=3D" + relationshipType.getName() ) ; + } + } = = @@ -574,6 +580,13 @@ = if (node !=3D null) { + if (node.getKeys().contains(NODE_SEARCH_RESULTS_KEY) && getLog().= isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationship s= earch found in cache: fromIdentity" + + fromIdentity.toString() + "; toIdentity=3D" + toIdentity.to= String() + + "; relationshipType=3D" + relationshipType.getName() ) ; + } + return (Set)node.get(NODE_SEARCH_RESU= LTS_KEY); } return null; @@ -591,6 +604,16 @@ = node.put(NODE_SEARCH_RESULTS_KEY, results); = + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationship sear= ch stored in cache: " + + "identity" + identity.toString() + + "; relationshipType=3D" + relationshipType.getName() + + "; parent=3D" + parent + + "; named=3D" + named + + "; name=3D" + name) ; + } + } = = @@ -604,11 +627,23 @@ Fqn fqn =3D createRelationshipsComplexSearchFqn(identity, relationsh= ipType, parent, named, name); Node node =3D getCache().getRoot().getChild(fqn); = + Set results =3D null; + if (node !=3D null) { - return (Set)node.get(NODE_SEARCH_RESU= LTS_KEY); + results =3D (Set)node.get(NODE_SEARCH= _RESULTS_KEY); + + if (results !=3D null && getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationship s= earch found in cache: " + + "identity" + identity.toString() + + "; relationshipType=3D" + relationshipType.getName() + + "; parent=3D" + parent + + "; named=3D" + named + + "; name=3D" + name) ; + } } - return null; + return results; = } = @@ -620,6 +655,11 @@ = // It can be in any result in the type searches removeNodeChildren(OBJECT_TYPES_SEARCH_NODE); + + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObject searches invalid= ated in cache: identityObject=3D" + io.toString()); + } } = protected void putIdentityObjectCountIntoCache(IdentityObjectType ident= ityType, int count) @@ -629,6 +669,13 @@ = node.put(NODE_OBJECT_KEY, count); = + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectType count search= strored in cache: " + + "identityObjectType=3D" + identityType.getName() + + "; count=3D" + count); + } + } = protected int getIdentityObjectCountFromCache(IdentityObjectType identi= tyType) @@ -639,7 +686,17 @@ = if (node !=3D null && node.getKeys().contains(NODE_OBJECT_KEY)) { - return (Integer)(node.get(NODE_OBJECT_KEY)); + int count =3D (Integer)(node.get(NODE_OBJECT_KEY)); + + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectType count sea= rch result found in cache: " + + "identityObjectType=3D" + identityType.getName() + + "; count=3D" + count); + } + + return count; + } // -1 means nothing in cache return -1; @@ -652,6 +709,12 @@ Node node =3D getCache().getRoot().addChild(fqn); = node.remove(NODE_OBJECT_KEY); + + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectType count search= result invalidated in cache: " + + "identityObjectType=3D" + identityType.getName()); + } } = protected void invalidateCachedRelationshipSearches(IdentityObject from= Identity, @@ -685,6 +748,13 @@ fqn =3D Fqn.fromElements(RELATIONSHIPS_SEARCH_COMPLEX_NODE, toName, = false, relationshipType.getName(), relNameElement); getCache().getRoot().removeChild(fqn); = + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationship sear= ch result invalidated in cache: fromIdentity" + + fromIdentity.toString() + "; toIdentity=3D" + toIdentity.toStr= ing() + + "; relationshipType=3D" + relationshipType.getName() ) ; + } + } = protected void invalidateCachedRelationshipSearches(IdentityObject iden= tity1, IdentityObject identity2, boolean named) @@ -716,6 +786,13 @@ getCache().getRoot().removeChild(Fqn.fromElements(fqn, childName,= name2)); } = + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationship sear= ch result invalidated in cache for: identity1" + + identity1.toString() + "; identity2=3D" + identity2.toString()= + + "; named=3D" + named ) ; + } + } = protected void invalidateRelationshipNameSearches(String name) @@ -724,6 +801,12 @@ = removeNodeChildren(RELATIONSHIP_NAMES_SEARCH_ALL_NODE); removeNodeChildren(RELATIONSHIP_NAMES_SEARCH_IO_NODE); + + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationshipName = search results invalidated in cache: name" + + name ) ; + } } = = @@ -737,6 +820,12 @@ = node.put(NODE_SEARCH_RESULTS_KEY, results); = + if (getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationshipName = search results invalidated in cache: controls hash=3D" + + getControlsHash(controls)) ; + } + } = protected Set getRelationshipNamesSearchFromCache(IdentityObjec= tSearchControl[] controls) @@ -748,9 +837,18 @@ = if (node !=3D null) { - return (Set)node.get(NODE_SEARCH_RESULTS_KEY); + Set results =3D (Set)node.get(NODE_SEARCH_RESULTS= _KEY); + + if (results !=3D null && getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationshipNa= me search result found in cache: controls hash=3D" + + getControlsHash(controls)) ; + } + + return results; } = + return null; } = @@ -765,6 +863,13 @@ = node.put(NODE_SEARCH_RESULTS_KEY, results); = + if (results !=3D null && getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationshipName = search result stored in cache: " + + "controls hash=3D" + getControlsHash(controls) + + "identity=3D" + identity.toString()) ; + } + } = protected Set getRelationshipNamesSearchFromCache(IdentityObjec= t identity, IdentityObjectSearchControl[] controls) @@ -777,7 +882,16 @@ = if (node !=3D null) { - return (Set)node.get(NODE_SEARCH_RESULTS_KEY); + Set results =3D (Set)node.get(NODE_SEARCH_RESULTS= _KEY); + + if (results !=3D null && getLog().isLoggable(Level.FINER)) + { + getLog().finer(this.toString() + "IdentityObjectRelationshipNa= me search result found in cache: " + + "controls hash=3D" + getControlsHash(controls) + + "identity=3D" + identity.toString()) ; + } + + return results; } return null; } Added: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossC= acheAttributeStoreWrapper.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCach= eAttributeStoreWrapper.java (rev 0) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCach= eAttributeStoreWrapper.java 2009-02-03 14:16:11 UTC (rev 300) @@ -0,0 +1,218 @@ +/* +* JBoss, a division of Red Hat +* Copyright 2006, Red Hat Middleware, LLC, and individual contributors as = indicated +* by the @authors tag. See the copyright.txt 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.idm.impl.cache; + +import org.jboss.identity.idm.spi.store.AttributeStore; +import org.jboss.identity.idm.spi.store.IdentityStoreInvocationContext; +import org.jboss.identity.idm.spi.store.IdentityStoreSession; +import org.jboss.identity.idm.spi.model.IdentityObjectType; +import org.jboss.identity.idm.spi.model.IdentityObjectAttribute; +import org.jboss.identity.idm.spi.model.IdentityObject; +import org.jboss.identity.idm.spi.configuration.metadata.IdentityObjectAtt= ributeMetaData; +import org.jboss.identity.idm.exception.IdentityException; +import org.jboss.cache.Cache; +import org.jboss.cache.CacheFactory; +import org.jboss.cache.DefaultCacheFactory; + +import java.util.logging.Logger; +import java.util.Set; +import java.util.Map; + +/** + * @author Boleslaw D= awidowicz + * @version : 0.1 $ + */ +public class JBossCacheAttributeStoreWrapper extends IdentityStoreCacheSup= port implements AttributeStore +{ + + private static Logger log =3D Logger.getLogger(JBossCacheAttributeStore= Wrapper.class.getName()); + + private final AttributeStore attributeStore; + + protected final Cache cache; + + // if update/add/remove operation on attributes should result in getAtt= ributes() query to store new set in cache + // with many updates it can add additional cost + private boolean reloadAttributesToCacheOnUpdate =3D true; + + + public JBossCacheAttributeStoreWrapper(AttributeStore attributeStore, S= tring cacheConfigurationFile) + { + this.attributeStore =3D attributeStore; + + CacheFactory factory =3D new DefaultCacheFactory(); + + this.cache =3D factory.createCache(cacheConfigurationFile); + + this.cache.start(); + + } + + public String getId() + { + return attributeStore.getId(); + } + + public IdentityStoreSession createIdentityStoreSession() throws Identit= yException + { + return attributeStore.createIdentityStoreSession(); + } + + public Set getSupportedAttributeNames(IdentityStoreInvocationCo= ntext invocationContext, + IdentityObjectType identi= tyType) throws IdentityException + { + // Doesn't need to be cached + return attributeStore.getSupportedAttributeNames(invocationContext, = identityType); + } + + public Map getAttributesMetaDa= ta(IdentityStoreInvocationContext invocationContext, + = IdentityObjectType identityType) + { + // Doesn't need to be cached + return attributeStore.getAttributesMetaData(invocationContext, ident= ityType); + } + + public Map getAttributes(IdentityStore= InvocationContext invocationContext, + IdentityObjec= t identity) throws IdentityException + { + Map results =3D getAttributesFromCa= che(identity.getName(), identity.getIdentityType()); + + if (results =3D=3D null) + { + results =3D attributeStore.getAttributes(invocationContext, ident= ity); + + if (results !=3D null && results.size() > 0) + { + putIntoCache(identity, results); + } + } + + return results; + } + + public IdentityObjectAttribute getAttribute(IdentityStoreInvocationCont= ext invocationContext, + IdentityObject identity, + String name) throws Identit= yException + { + Map results =3D getAttributesFromCa= che(identity.getName(), identity.getIdentityType()); + + if (results !=3D null && results.containsKey(name)) + { + return results.get(name); + } + else + { + return attributeStore.getAttribute(invocationContext, identity, n= ame); + + //TODO: add this attribute to the node map + } + + } + + public void updateAttributes(IdentityStoreInvocationContext invocationC= tx, + IdentityObject identity, + IdentityObjectAttribute[] attributes) thro= ws IdentityException + { + attributeStore.updateAttributes(invocationCtx, identity, attributes); + + removeAttributesFromCache(identity); + + if (reloadAttributesToCacheOnUpdate) + { + Map results =3D attributeStore.g= etAttributes(invocationCtx, identity); + + if (results !=3D null && results.size() > 0) + { + putIntoCache(identity, results); + } + } + else + { + // update attributes in node map directly + } + + } + + public void addAttributes(IdentityStoreInvocationContext invocationCtx, + IdentityObject identity, + IdentityObjectAttribute[] attributes) throws = IdentityException + { + attributeStore.addAttributes(invocationCtx, identity, attributes); + + removeAttributesFromCache(identity); + + if (reloadAttributesToCacheOnUpdate) + { + Map results =3D attributeStore.g= etAttributes(invocationCtx, identity); + + if (results !=3D null && results.size() > 0) + { + putIntoCache(identity, results); + } + } + else + { + // add attributes in node map directly + } + } + + public void removeAttributes(IdentityStoreInvocationContext invocationC= tx, + IdentityObject identity, + String[] attributeNames) throws IdentityEx= ception + { + attributeStore.removeAttributes(invocationCtx, identity, attributeNa= mes); + + removeAttributesFromCache(identity); + + if (reloadAttributesToCacheOnUpdate) + { + Map results =3D attributeStore.g= etAttributes(invocationCtx, identity); + + if (results !=3D null && results.size() > 0) + { + putIntoCache(identity, results); + } + } + else + { + // remove attributes in node map directly + } + } + + protected Logger getLog() + { + return log; + } + + protected Cache getCache() + { + return cache; + } + + @Override + public String toString() + { + return "JBossCacheAttributeStoreWrapper (AttributeStore=3D" + attrib= uteStore.getId() + ")"; + } + +} Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBo= ssCacheIdentityStoreWrapper.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCach= eIdentityStoreWrapper.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/cache/JBossCach= eIdentityStoreWrapper.java 2009-02-03 14:16:11 UTC (rev 300) @@ -56,7 +56,7 @@ * @author Boleslaw D= awidowicz * @version : 0.1 $ */ -public class JBossCacheIdentityStoreWrapper extends IdentityStoreCacheSupp= ort implements IdentityStore +public class JBossCacheIdentityStoreWrapper extends JBossCacheAttributeSto= reWrapper implements IdentityStore { = private static Logger log =3D Logger.getLogger(JBossCacheIdentityStoreW= rapper.class.getName()); @@ -66,25 +66,14 @@ = private final IdentityStore identityStore; = - private final Cache cache; - - // if update/add/remove operation on attributes should result in getAtt= ributes() query to store new set in cache - // with many updates it can add additional cost - private boolean reloadAttributesToCacheOnUpdate =3D true; - public JBossCacheIdentityStoreWrapper(IdentityStore identityStore, Stri= ng cacheConfigurationFile) throws IdentityException { + super(identityStore, cacheConfigurationFile); = this.identityStore =3D identityStore; = - Configuration config =3D new Configuration(); = - CacheFactory factory =3D new DefaultCacheFactory(); = - this.cache =3D factory.createCache(cacheConfigurationFile); - - this.cache.start(); - initResidentNodes(identityStore.getSupportedFeatures().getSupportedI= dentityObjectTypes(), identityStore.getSupportedFeatures().getSupportedRelationshipType= s()); = @@ -100,16 +89,8 @@ identityStore.bootstrap(configurationMD); } = - public String getId() - { - return identityStore.getId(); - } + = = - public IdentityStoreSession createIdentityStoreSession() throws Identit= yException - { - return identityStore.createIdentityStoreSession(); - } - public FeaturesMetaData getSupportedFeatures() { return identityStore.getSupportedFeatures(); @@ -418,137 +399,8 @@ identityStore.updateCredential(ctx, identityObject, credential); } = - public Set getSupportedAttributeNames(IdentityStoreInvocationCo= ntext invocationContext, - IdentityObjectType identi= tyType) throws IdentityException - { - // Doesn't need to be cached - return identityStore.getSupportedAttributeNames(invocationContext, i= dentityType); - } = - public Map getAttributesMetaDa= ta(IdentityStoreInvocationContext invocationContext, - = IdentityObjectType identityType) - { - // Doesn't need to be cached - return identityStore.getAttributesMetaData(invocationContext, identi= tyType); - } = - public Map getAttributes(IdentityStore= InvocationContext invocationContext, - IdentityObjec= t identity) throws IdentityException - { - Map results =3D getAttributesFromCa= che(identity.getName(), identity.getIdentityType()); - - if (results =3D=3D null) - { - results =3D identityStore.getAttributes(invocationContext, identi= ty); - - if (results !=3D null && results.size() > 0) - { - putIntoCache(identity, results); - } - } - - return results; - } - - public IdentityObjectAttribute getAttribute(IdentityStoreInvocationCont= ext invocationContext, - IdentityObject identity, - String name) throws Identit= yException - { - Map results =3D getAttributesFromCa= che(identity.getName(), identity.getIdentityType()); - - if (results !=3D null && results.containsKey(name)) - { - return results.get(name); - } - else - { - return identityStore.getAttribute(invocationContext, identity, na= me); - - //TODO: add this attribute to the node map - } - - } - - public void updateAttributes(IdentityStoreInvocationContext invocationC= tx, - IdentityObject identity, - IdentityObjectAttribute[] attributes) thro= ws IdentityException - { - identityStore.updateAttributes(invocationCtx, identity, attributes); - - removeAttributesFromCache(identity); - - if (reloadAttributesToCacheOnUpdate) - { - Map results =3D identityStore.ge= tAttributes(invocationCtx, identity); - - if (results !=3D null && results.size() > 0) - { - putIntoCache(identity, results); - } - } - else - { - // update attributes in node map directly - } - = - } - - public void addAttributes(IdentityStoreInvocationContext invocationCtx, - IdentityObject identity, - IdentityObjectAttribute[] attributes) throws = IdentityException - { - identityStore.addAttributes(invocationCtx, identity, attributes); - - removeAttributesFromCache(identity); - - if (reloadAttributesToCacheOnUpdate) - { - Map results =3D identityStore.ge= tAttributes(invocationCtx, identity); - - if (results !=3D null && results.size() > 0) - { - putIntoCache(identity, results); - } - } - else - { - // add attributes in node map directly - } - } - - public void removeAttributes(IdentityStoreInvocationContext invocationC= tx, - IdentityObject identity, - String[] attributeNames) throws IdentityEx= ception - { - identityStore.removeAttributes(invocationCtx, identity, attributeNam= es); - - removeAttributesFromCache(identity); - - if (reloadAttributesToCacheOnUpdate) - { - Map results =3D identityStore.ge= tAttributes(invocationCtx, identity); - - if (results !=3D null && results.size() > 0) - { - putIntoCache(identity, results); - } - } - else - { - // remove attributes in node map directly - } - } - - protected Logger getLog() - { - return log; - } - - protected Cache getCache() - { - return cache; - } - @Override public String toString() { Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hib= ernate/HibernateIdentityObject.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObject.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/hibernate= /HibernateIdentityObject.java 2009-02-03 14:16:11 UTC (rev 300) @@ -320,4 +320,10 @@ { = } + + @Override + public String toString() + { + return "IdentityObject[id=3D" + getId() + "; name=3D" + getName() += "; type=3D" + getIdentityType().getName() + "]"; + } } Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/lda= p/LDAPIdentityObjectImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/ldap/LDAP= IdentityObjectImpl.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/model/ldap/LDAP= IdentityObjectImpl.java 2009-02-03 14:16:11 UTC (rev 300) @@ -78,4 +78,10 @@ { = } + + @Override + public String toString() + { + return "IdentityObject[id=3D" + getId() + "; name=3D" + getName() += "; type=3D" + getIdentityType().getName() + "]"; + } } Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repositor= y/AbstractIdentityStoreRepository.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repository/Abst= ractIdentityStoreRepository.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/repository/Abst= ractIdentityStoreRepository.java 2009-02-03 14:16:11 UTC (rev 300) @@ -71,6 +71,8 @@ if (asId !=3D null && bootstrappedAttributeStores.keySet().contains(= asId)) { defaultAttributeStore =3D bootstrappedAttributeStores.get(asId); + + //TODO: cache wrap support } = if (isId !=3D null && bootstrappedIdentityStores.keySet().contains(i= sId)) Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-03 14:16:11 UTC (rev 300) @@ -39,7 +39,6 @@ import org.hibernate.Query; import org.hibernate.SessionFactory; import org.hibernate.criterion.Restrictions; -import org.hibernate.ejb.HibernateEntityManager; import org.hibernate.ejb.HibernateEntityManagerFactory; import org.jboss.identity.idm.exception.IdentityException; import org.jboss.identity.idm.impl.api.AttributeFilterSearchControl; Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/types/Sim= pleIdentityObject.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/types/SimpleIde= ntityObject.java 2009-02-03 12:54:58 UTC (rev 299) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/types/SimpleIde= ntityObject.java 2009-02-03 14:16:11 UTC (rev 300) @@ -83,4 +83,10 @@ { = } + + @Override + public String toString() + { + return "IdentityObject[id=3D" + getId() + "; name=3D" + getName() += "; type=3D" + getIdentityType().getName() + "]"; + } } \ No newline at end of file --===============8397874938221067789==-- From jboss-identity-commits at lists.jboss.org Tue Feb 3 13:32:36 2009 Content-Type: multipart/mixed; boundary="===============4197082222643971296==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r304 - idm/trunk/idm. Date: Tue, 03 Feb 2009 13:32:35 -0500 Message-ID: --===============4197082222643971296== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-03 13:32:35 -0500 (Tue, 03 Feb 2009) New Revision: 304 Modified: idm/trunk/idm/.classpath Log: fix classpath for eclipse Modified: idm/trunk/idm/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/.classpath 2009-02-03 16:24:44 UTC (rev 303) +++ idm/trunk/idm/.classpath 2009-02-03 18:32:35 UTC (rev 304) @@ -13,5 +13,6 @@ + --===============4197082222643971296==-- From jboss-identity-commits at lists.jboss.org Tue Feb 3 13:42:58 2009 Content-Type: multipart/mixed; boundary="===============6258284226261727858==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r305 - idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/jaxb2. Date: Tue, 03 Feb 2009 13:42:58 -0500 Message-ID: --===============6258284226261727858== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-03 13:42:58 -0500 (Tue, 03 Feb 2009) New Revision: 305 Added: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/ja= xb2/SecurityActions.java Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/ja= xb2/JAXB2IdentityConfiguration.java Log: JBID-44: priv blocks Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configura= tion/jaxb2/JAXB2IdentityConfiguration.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/j= axb2/JAXB2IdentityConfiguration.java 2009-02-03 18:32:35 UTC (rev 304) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/j= axb2/JAXB2IdentityConfiguration.java 2009-02-03 18:42:58 UTC (rev 305) @@ -104,7 +104,7 @@ public static IdentityConfigurationMetaData createConfigurationMetaData= (String configResource) throws IdentityConfigurationException { = - ClassLoader classLoader =3D Thread.currentThread().getContextClassLo= ader(); + ClassLoader classLoader =3D SecurityActions.getContextClassLoader(); InputStream inputStream =3D classLoader.getResourceAsStream(configRe= source); if (inputStream =3D=3D null) { Added: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuratio= n/jaxb2/SecurityActions.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/j= axb2/SecurityActions.java (rev 0) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/configuration/j= axb2/SecurityActions.java 2009-02-03 18:42:58 UTC (rev 305) @@ -0,0 +1,49 @@ +/* + * 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.idm.impl.configuration.jaxb2; + +import java.security.AccessController; +import java.security.PrivilegedAction; + +/** + * Privileged Blocks + * @author Anil.Saldhana(a)redhat.com + * @since Feb 3, 2009 + */ +class SecurityActions +{ + /** + * Get the Thread Context CL + * @return + */ + static ClassLoader getContextClassLoader() + { + return AccessController.doPrivileged(new PrivilegedAction() + { + public ClassLoader run() + { + return Thread.currentThread().getContextClassLoader(); + } + }); + } + +} \ No newline at end of file --===============6258284226261727858==-- From jboss-identity-commits at lists.jboss.org Wed Feb 4 18:04:09 2009 Content-Type: multipart/mixed; boundary="===============4429684957546902495==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r306 - in identity-federation/trunk/identity-fed-api/src: test/java/org/jboss/test/identity/federation/api/saml/v2 and 1 other directory. Date: Wed, 04 Feb 2009 18:04:06 -0500 Message-ID: --===============4429684957546902495== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-04 18:04:06 -0500 (Wed, 04 Feb 2009) New Revision: 306 Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/util/XMLEncryptionUtil.java identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/= identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java Log: JBID-47: xml enc util Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/util/XMLEncryptionUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java (re= v 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-04 23:04:06 UTC (re= v 306) @@ -0,0 +1,203 @@ +/* + * 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 javax.crypto.SecretKey; + +import org.apache.xml.security.encryption.EncryptedData; +import org.apache.xml.security.encryption.EncryptedKey; +import org.apache.xml.security.encryption.XMLCipher; +import org.apache.xml.security.keys.KeyInfo; +import org.apache.xml.security.utils.EncryptionConstants; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + +/** + * XML Encryption Util + * Note: 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 TRIPLEDES =3D "http://www.w3.org/2001/04/xml= enc#tripledes-cbc"; + = + public static final String AES_128 =3D "http://www.w3.org/2001/04/xmlen= c#aes128-cbc"; + = + public static final String AES_256 =3D "http://www.w3.org/2001/04/xmlen= c#aes256-cbc"; + = + public static final String AES_192 =3D "http://www.w3.org/2001/04/xmlen= c#aes192-cbc"; + = + public static final String RSA_v1dot5 =3D "http://www.w3.org/2001/04/xm= lenc#rsa-1_5"; + = + public static final String RSA_OAEP =3D "http://www.w3.org/2001/04/xmle= nc#rsa-oaep-mgf1p"; + = + public static final String DIFFIE_HELLMAN =3D "http://www.w3.org/2001/0= 4/xmlenc#dh"; + = + public static final String TRIPLEDES_KeyWrap =3D "http://www.w3.org/200= 1/04/xmlenc#kw-tripledes"; + = + public static final String AES_128_KeyWrap =3D "http://www.w3.org/2001/= 04/xmlenc#kw-aes128"; + = + public static final String AES_256_KeyWrap =3D "http://www.w3.org/2001/= 04/xmlenc#kw-aes256"; + = + public static final String AES_192_KeyWrap =3D "http://www.w3.org/2001/= 04/xmlenc#kw-aes192"; + = + public static final String SHA1 =3D "http://www.w3.org/2000/09/xmldsig#= sha1"; + = + public static final String SHA256 =3D "http://www.w3.org/2001/04/xmlenc= #sha256"; + = + public static final String SHA512 =3D "http://www.w3.org/2001/04/xmlenc= #sha512"; + = + public static final String RIPEMD_160 =3D "http://www.w3.org/2001/04/xm= lenc#ripemd160"; + = + public static final String XML_DSIG =3D "http://www.w3.org/2000/09/xmld= sig#"; + = + public static final String N14C_XML =3D "http://www.w3.org/TR/2001/REC-= xml-c14n-20010315"; + = + public static final String N14C_XML_WITH_COMMENTS =3D "http://www.w3.or= g/TR/2001/REC-xml-c14n-20010315#WithComments"; + = + public static final String EXCL_XML_N14C =3D "http://www.w3.org/2001/10= /xml-exc-c14n#"; + = + public static final String EXCL_XML_N14C_WITH_COMMENTS =3D "http://www.= w3.org/2001/10/xml-exc-c14n#WithComments"; + = + public static final String BASE64_ENCODING =3D "http://www.w3.org/2000/= 09/xmldsig#base64"; + = + static + { + //Initialize the XML Security Library + org.apache.xml.security.Init.init(); + } + = + /** + *

+ * Encrypt the Key to be transported + *

+ *

+ * 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 + *

+ * @param document + * @param keyToBeEncrypted Symmetric Key (SecretKey) + * @param keyUsedToEncrypt Asymmetric Key (Public Key) + * @return + * @throws Exception + */ + public static EncryptedKey encryptKey(Document document, + Key keyToBeEncrypted, Key keyUsedToEncrypt) throws Exception + { + XMLCipher keyCipher =3D null; + String keyAlgo =3D keyUsedToEncrypt.getAlgorithm(); + if("RSA".equals(keyAlgo)) + keyCipher =3D XMLCipher.getInstance(XMLEncryptionUtil.RSA_v1dot5); + else = + keyCipher =3D XMLCipher.getInstance(XMLEncryptionUtil.TRIPLEDES_K= eyWrap); + = + keyCipher.init(XMLCipher.WRAP_MODE, keyUsedToEncrypt); + return keyCipher.encryptKey(document, keyToBeEncrypted); = + } + + /** + * Encrypt either the entire document or an element within provided by = the tag + * @param document The Document to encrypt + * @param elementTag An element in the document that you want encrypted= (or null indicating entire document) + * @param encryptingKey + * @param algo + * @return document that is encrypted or contains the encrypted element + * @throws Exception + */ + public static Document encrypt(Document document, String elementTag, = + SecretKey encryptingKey, Key publicKey, String algo) throws Excep= tion + { + XMLCipher xmlCipher =3D XMLCipher.getInstance(algo); + if(xmlCipher =3D=3D null) + throw new IllegalStateException("Cipher is null for algorithm:" += algo); + xmlCipher.init(XMLCipher.ENCRYPT_MODE, encryptingKey); + + if(elementTag !=3D null) + { + //Lets check if we need an element + NodeList nl =3D document.getElementsByTagName(elementTag); + if(nl.getLength() < 1) + throw new IllegalArgumentException(elementTag + " was not foun= d in document"); + = + Element elementToEncrypt =3D (Element) nl.item(0); = + boolean encryptContentsOnly =3D true; + xmlCipher.doFinal(document, + elementToEncrypt, encryptContentsOnly); + } = + else + { + xmlCipher.doFinal(document, document); + } + EncryptedKey ekey =3D encryptKey(document, encryptingKey, publicKey); + = + EncryptedData encryptedDataElement =3D + xmlCipher.getEncryptedData(); + KeyInfo keyInfo =3D new KeyInfo(document); + keyInfo.add(ekey); + encryptedDataElement.setKeyInfo(keyInfo); + + return document; = + } = + = + /** + * Decrypt the document given two keys + *

The SecretKey needs to be obtained out of band or + * needs to be obtained from the KeyInfo using the private key. + *

+ * @see #encryptKey(Document, Key, Key) + * = + * @param encryptedDocument + * @param encryptingKey + * @param signingKey + * @return + * @throws Exception + */ + public static Document decrypt(Document encryptedDocument, + SecretKey encryptingKey, PrivateKey signingKey) throws Exception + { + = + XMLCipher xmlCipher =3D XMLCipher.getInstance(); + xmlCipher.init(XMLCipher.DECRYPT_MODE, encryptingKey); //Symmetric K= ey + xmlCipher.setKEK(signingKey); //Asymmetric Key for Key Transport + = + //Get the encrypted element + String namespaceURI =3D EncryptionConstants.EncryptionSpecNS; + String localName =3D EncryptionConstants._TAG_ENCRYPTEDDATA; = + + NodeList nl =3D encryptedDocument.getElementsByTagNameNS(namespaceUR= I, localName); + if(nl =3D=3D null || nl.getLength() < 1) + throw new IllegalStateException("Cannot find encrypted element"); + Element encryptedDataElement =3D (Element) nl.item(0); + return xmlCipher.doFinal(encryptedDocument, encryptedDataElement); + } = +} \ No newline at end of file Added: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/t= est/identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java 2009-02-04 = 23:04:06 UTC (rev 306) @@ -0,0 +1,112 @@ +/* + * 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.test.identity.federation.api.saml.v2; + +import java.io.StringReader; +import java.security.KeyPair; +import java.security.KeyPairGenerator; + +import javax.crypto.KeyGenerator; +import javax.crypto.SecretKey; +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; + +import junit.framework.TestCase; + +import org.jboss.identity.federation.api.util.XMLEncryptionUtil; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.xml.sax.InputSource; + +/** + * Unit Test the XML Encryption Util + * @author Anil.Saldhana(a)redhat.com + * @since Feb 4, 2009 + */ +public class XMLEncryptionUnitTestCase extends TestCase +{ + private String docString =3D "<= /rootDoc>"; + = + /** + * Test the encryption of an entire document using a symmetric key + * @throws Exception + */ + public void testEncryptEntireDocumentWithSymmetricKey() throws Exception + { + Document doc =3D this.getDocument(); + KeyPair kp =3D this.getKeyPair("RSA"); + = + SecretKey sk =3D getSecretKey(); + Document edoc =3D XMLEncryptionUtil.encrypt(doc, null, sk, kp.getPub= lic(), + XMLEncryptionUtil.AES_128); + assertEquals("xenc:EncryptedData", edoc.getFirstChild().getNodeName(= )); + = + //XMLSignatureUtil.marshall(edoc, System.out); + = + Document rdoc =3D XMLEncryptionUtil.decrypt(edoc, sk, kp.getPrivate(= )); = + //XMLSignatureUtil.marshall(rdoc, System.out); + String nodeName =3D rdoc.getFirstChild().getNodeName(); + assertEquals("rootDoc",nodeName); + } + = + /** + * Test the encryption of an element inside a document using + * a symmetric key + * @throws Exception + */ + public void testEncryptElementWithSymmetricKey() throws Exception + { + Document doc =3D this.getDocument(); + KeyPair kp =3D this.getKeyPair("RSA"); + = + SecretKey sk =3D getSecretKey(); + Document edoc =3D XMLEncryptionUtil.encrypt(doc, "element", sk, kp.g= etPublic(), + XMLEncryptionUtil.AES_128); + Element encEl =3D (Element) edoc.getElementsByTagName("element").ite= m(0); + assertEquals("xenc:EncryptedData", encEl.getFirstChild().getNodeName= ()); + = + Document rdoc =3D XMLEncryptionUtil.decrypt(edoc, sk, kp.getPrivate(= )); = + String nodeName =3D rdoc.getFirstChild().getNodeName(); + assertEquals("rootDoc",nodeName); + } + = + private KeyPair getKeyPair(String algo) throws Exception + { + KeyPairGenerator kpg =3D KeyPairGenerator.getInstance(algo); + return kpg.genKeyPair(); = + } + = + private Document getDocument() throws Exception + { + DocumentBuilderFactory factory =3D DocumentBuilderFactory.newInstanc= e(); + DocumentBuilder builder =3D factory.newDocumentBuilder(); + return builder.parse(new InputSource(new StringReader(docString))); + } + = + private SecretKey getSecretKey() throws Exception + { = + KeyGenerator keyGenerator =3D + KeyGenerator.getInstance("AES"); + keyGenerator.init(128); + return keyGenerator.generateKey(); + } +} \ No newline at end of file --===============4429684957546902495==-- From jboss-identity-commits at lists.jboss.org Sun Feb 8 22:41:59 2009 Content-Type: multipart/mixed; boundary="===============2291347623042693216==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r307 - in identity-federation/trunk/identity-fed-api: src/main/java/org/jboss/identity/federation/api/saml/v2/response and 8 other directories. Date: Sun, 08 Feb 2009 22:41:55 -0500 Message-ID: --===============2291347623042693216== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-08 22:41:50 -0500 (Sun, 08 Feb 2009) New Revision: 307 Added: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/= identity/federation/api/util/ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/= identity/federation/api/util/DocumentUtilUnitTestCase.java 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/resources/endorsed/ identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/r= esolver.jar identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/s= erializer.jar identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/x= alan.jar identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/x= ercesImpl.jar identity-federation/trunk/identity-fed-api/src/test/resources/endorsed/x= ml-apis.jar 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-api/src/test/resources/xml/dom/en= c-sample.xml Removed: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/= identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java Modified: identity-federation/trunk/identity-fed-api/.classpath identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/response/SAML2Response.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/util/XMLEncryptionUtil.java Log: JBID-47: xml enc support Modified: identity-federation/trunk/identity-fed-api/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/.classpath 2009-02-04 23:04:= 06 UTC (rev 306) +++ identity-federation/trunk/identity-fed-api/.classpath 2009-02-09 03:41:= 50 UTC (rev 307) @@ -7,7 +7,7 @@ - + Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/saml/v2/response/SAML2Response.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/saml/v2/response/SAML2Response.java 2009-02-04 23:04:06= UTC (rev 306) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/saml/v2/response/SAML2Response.java 2009-02-09 03:41:50= UTC (rev 307) @@ -26,6 +26,8 @@ import java.io.Writer; import java.util.List; = +import javax.xml.bind.Binder; +import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; @@ -37,12 +39,17 @@ import org.jboss.identity.federation.core.saml.v2.holders.IDPInfoHolder; import org.jboss.identity.federation.core.saml.v2.holders.IssuerInfoHolder; import org.jboss.identity.federation.core.saml.v2.holders.SPInfoHolder; +import org.jboss.identity.federation.core.saml.v2.util.DocumentUtil; +import org.jboss.identity.federation.core.saml.v2.util.JAXBElementMappingU= til; import org.jboss.identity.federation.core.saml.v2.util.XMLTimeUtil; import org.jboss.identity.federation.saml.v2.assertion.AssertionType; import org.jboss.identity.federation.saml.v2.assertion.AttributeStatementT= ype; import org.jboss.identity.federation.saml.v2.assertion.AttributeType; import org.jboss.identity.federation.saml.v2.assertion.ConditionsType; +import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementTyp= e; import org.jboss.identity.federation.saml.v2.protocol.ResponseType; +import org.w3c.dom.Document; +import org.w3c.dom.Node; = /** * API for dealing with SAML2 Response objects @@ -95,6 +102,8 @@ public void createTimedConditions(AssertionType assertion, long duratio= nInMilis) throws Exception { XMLGregorianCalendar issueInstant =3D assertion.getIssueInstant(); + if(issueInstant =3D=3D null) + throw new IllegalStateException("assertion does not have issue in= stant"); XMLGregorianCalendar assertionValidityLength =3D XMLTimeUtil.add(iss= ueInstant, durationInMilis); ConditionsType conditionsType =3D JBossSAMLBaseFactory.getObjectFact= ory().createConditionsType(); conditionsType.setNotBefore(issueInstant); @@ -104,6 +113,34 @@ } = /** + * Get an encrypted assertion from the stream + * @param is + * @return + * @throws Exception + */ + @SuppressWarnings("unchecked") + public EncryptedElementType getEncryptedAssertion(InputStream is) throw= s Exception + { + if(is =3D=3D null) + throw new IllegalArgumentException("inputstream is null"); + = + Unmarshaller un =3D JBossSAMLAuthnResponseFactory.getValidatingUnmar= shaller(); + JAXBElement jaxb =3D (JAXBElement) un.unmarshal(is); + return jaxb.getValue(); = + } + = + @SuppressWarnings("unchecked") + public AssertionType getAssertionType(InputStream is) throws Exception + { + if(is =3D=3D null) + throw new IllegalArgumentException("inputstream is null"); + = + Unmarshaller un =3D JBossSAMLAuthnResponseFactory.getValidatingUnmar= shaller(); + JAXBElement jaxb =3D (JAXBElement) un.= unmarshal(is); + return jaxb.getValue(); = + } + = + /** * Read a ResponseType from an input stream * @param is * @return @@ -120,6 +157,26 @@ return jaxbAuthnRequestType.getValue(); = } = + public Document convert(EncryptedElementType encryptedElementType) thro= ws Exception + { + JAXBContext jaxb =3D JAXBContext.newInstance(EncryptedElementType.cl= ass); + Binder binder =3D jaxb.createBinder(); + = + Document doc =3D DocumentUtil.createDocument(); + binder.marshal(JAXBElementMappingUtil.get(encryptedElementType), doc= ); + return doc; = + } + = + public Document convert(ResponseType responseType) throws Exception + { + JAXBContext jaxb =3D JAXBContext.newInstance(ResponseType.class); + Binder binder =3D jaxb.createBinder(); + = + Document doc =3D DocumentUtil.createDocument(); + binder.marshal(JAXBElementMappingUtil.get(responseType), doc); + return doc; = + } + = /** * Marshall the response type to the output stream *

Note: JAXB marshaller by default picks up arbitrary names= pace Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/util/XMLEncryptionUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-04 23:04:06 UTC (re= v 306) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-09 03:41:50 UTC (re= v 307) @@ -23,16 +23,18 @@ = 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.apache.xml.security.keys.KeyInfo; -import org.apache.xml.security.utils.EncryptionConstants; +import org.jboss.identity.federation.core.saml.v2.constants.JBossSAMLURICo= nstants; import org.w3c.dom.Document; import org.w3c.dom.Element; +import org.w3c.dom.Node; import org.w3c.dom.NodeList; = /** @@ -46,51 +48,12 @@ */ public class XMLEncryptionUtil { = - public static final String TRIPLEDES =3D "http://www.w3.org/2001/04/xml= enc#tripledes-cbc"; + private static String XMLSIG_NS =3D JBossSAMLURIConstants.XMLDSIG_NSURI= .get(); + private static String XMLENC_NS =3D JBossSAMLURIConstants.XMLENC_NSURI.= get(); = - public static final String AES_128 =3D "http://www.w3.org/2001/04/xmlen= c#aes128-cbc"; - = - public static final String AES_256 =3D "http://www.w3.org/2001/04/xmlen= c#aes256-cbc"; - = - public static final String AES_192 =3D "http://www.w3.org/2001/04/xmlen= c#aes192-cbc"; - = - public static final String RSA_v1dot5 =3D "http://www.w3.org/2001/04/xm= lenc#rsa-1_5"; - = - public static final String RSA_OAEP =3D "http://www.w3.org/2001/04/xmle= nc#rsa-oaep-mgf1p"; - = - public static final String DIFFIE_HELLMAN =3D "http://www.w3.org/2001/0= 4/xmlenc#dh"; - = - public static final String TRIPLEDES_KeyWrap =3D "http://www.w3.org/200= 1/04/xmlenc#kw-tripledes"; - = - public static final String AES_128_KeyWrap =3D "http://www.w3.org/2001/= 04/xmlenc#kw-aes128"; - = - public static final String AES_256_KeyWrap =3D "http://www.w3.org/2001/= 04/xmlenc#kw-aes256"; - = - public static final String AES_192_KeyWrap =3D "http://www.w3.org/2001/= 04/xmlenc#kw-aes192"; - = - public static final String SHA1 =3D "http://www.w3.org/2000/09/xmldsig#= sha1"; - = - public static final String SHA256 =3D "http://www.w3.org/2001/04/xmlenc= #sha256"; - = - public static final String SHA512 =3D "http://www.w3.org/2001/04/xmlenc= #sha512"; - = - public static final String RIPEMD_160 =3D "http://www.w3.org/2001/04/xm= lenc#ripemd160"; - = - public static final String XML_DSIG =3D "http://www.w3.org/2000/09/xmld= sig#"; - = - public static final String N14C_XML =3D "http://www.w3.org/TR/2001/REC-= xml-c14n-20010315"; - = - public static final String N14C_XML_WITH_COMMENTS =3D "http://www.w3.or= g/TR/2001/REC-xml-c14n-20010315#WithComments"; - = - public static final String EXCL_XML_N14C =3D "http://www.w3.org/2001/10= /xml-exc-c14n#"; - = - public static final String EXCL_XML_N14C_WITH_COMMENTS =3D "http://www.= w3.org/2001/10/xml-exc-c14n#WithComments"; - = - public static final String BASE64_ENCODING =3D "http://www.w3.org/2000/= 09/xmldsig#base64"; - = static { - //Initialize the XML Security Library + //Initialize the Apache XML Security Library org.apache.xml.security.Init.init(); } = @@ -107,97 +70,215 @@ *

* @param document * @param keyToBeEncrypted Symmetric Key (SecretKey) - * @param keyUsedToEncrypt Asymmetric Key (Public Key) + * @param keyUsedToEncryptSecretKey Asymmetric Key (Public Key) + * @param keySize Length of the key * @return * @throws Exception */ public static EncryptedKey encryptKey(Document document, - Key keyToBeEncrypted, Key keyUsedToEncrypt) throws Exception + SecretKey keyToBeEncrypted, PublicKey keyUsedToEncryptSecretKey, + int keySize) throws Exception { XMLCipher keyCipher =3D null; - String keyAlgo =3D keyUsedToEncrypt.getAlgorithm(); - if("RSA".equals(keyAlgo)) - keyCipher =3D XMLCipher.getInstance(XMLEncryptionUtil.RSA_v1dot5); - else = - keyCipher =3D XMLCipher.getInstance(XMLEncryptionUtil.TRIPLEDES_K= eyWrap); + String pubKeyAlg =3D keyUsedToEncryptSecretKey.getAlgorithm(); + = + String keyWrapAlgo =3D getXMLEncryptionURLForKeyUnwrap(pubKeyAlg, ke= ySize); + keyCipher =3D XMLCipher.getInstance(keyWrapAlgo); = - keyCipher.init(XMLCipher.WRAP_MODE, keyUsedToEncrypt); + keyCipher.init(XMLCipher.WRAP_MODE, keyUsedToEncryptSecretKey); return keyCipher.encryptKey(document, keyToBeEncrypted); = } - + = /** - * Encrypt either the entire document or an element within provided by = the tag - * @param document The Document to encrypt - * @param elementTag An element in the document that you want encrypted= (or null indicating entire document) - * @param encryptingKey - * @param algo - * @return document that is encrypted or contains the encrypted element + * Encrypt an element inside a Document. + * @param document Document that contains an element to encrypt + * @param publicKey The Public Key used to encrypt the secret encryptio= n 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 Document encrypt(Document document, String elementTag, = - SecretKey encryptingKey, Key publicKey, String algo) throws Excep= tion + public static Element encryptElementInDocument(Document document, Publi= cKey publicKey, + SecretKey secretKey, int keySize, QName wrappingElementQName, + boolean addEncryptedKeyInKeyInfo) throws Exception { - XMLCipher xmlCipher =3D XMLCipher.getInstance(algo); - if(xmlCipher =3D=3D null) - throw new IllegalStateException("Cipher is null for algorithm:" += algo); - xmlCipher.init(XMLCipher.ENCRYPT_MODE, encryptingKey); + XMLCipher cipher =3D null; = + EncryptedKey encryptedKey =3D encryptKey(document, secretKey, public= Key, keySize); = + = + String encryptionAlgorithm =3D getXMLEncryptionURL(secretKey.getAlgo= rithm(), keySize); + //Encrypt the Document = + cipher =3D XMLCipher.getInstance(encryptionAlgorithm); + cipher.init(XMLCipher.ENCRYPT_MODE, secretKey); = - if(elementTag !=3D null) + Document encryptedDoc =3D cipher.doFinal(document, document.getDocu= mentElement()); = + = + // The EncryptedKey element is added + Element encryptedKeyElement =3D cipher.martial(document, encryptedK= ey); = + + //Create the wrapping element and set its attribute NS + Element wrappingElement =3D encryptedDoc.createElementNS(wrappingEle= mentQName.getNamespaceURI(), + wrappingElementQName.getPrefix() + ":" + wrappingElementQName.= getLocalPart()); + = + wrappingElement.setAttributeNS("http://www.w3.org/2000/xmlns/", + "xmlns:" + wrappingElementQName.getPrefix(), wrappingElementQN= ame.getNamespaceURI()); = + = + Element encryptedDocRootElement =3D encryptedDoc.getDocumentElement(= ); = + //Bring in the encrypted wrapping element to wrap the root node + encryptedDoc.replaceChild(wrappingElement, encryptedDocRootElement); + = + wrappingElement.appendChild(encryptedDocRootElement); + = + if (addEncryptedKeyInKeyInfo) = { - //Lets check if we need an element - NodeList nl =3D document.getElementsByTagName(elementTag); - if(nl.getLength() < 1) - throw new IllegalArgumentException(elementTag + " was not foun= d in document"); + // Outer ds:KeyInfo Element to hold the EncryptionKey + Element sigElement =3D encryptedDoc.createElementNS(XMLSIG_NS, "d= s:KeyInfo"); + sigElement.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns= :ds", XMLSIG_NS); + sigElement.appendChild(encryptedKeyElement); = - Element elementToEncrypt =3D (Element) nl.item(0); = - boolean encryptContentsOnly =3D true; - xmlCipher.doFinal(document, - elementToEncrypt, encryptContentsOnly); + //Insert the Encrypted key before the CipherData element = + NodeList nodeList =3D encryptedDocRootElement.getElementsByTagNam= eNS(XMLENC_NS, "CipherData"); + if ((nodeList =3D=3D null) || (nodeList.getLength() =3D=3D 0)) = + throw new IllegalStateException("xenc:CipherData Element Missi= ng"); = + + Element cipherDataElement =3D (Element) nodeList.item(0); = + encryptedDocRootElement.insertBefore(sigElement, cipherDataElemen= t); } = - else + else = { - xmlCipher.doFinal(document, document); + //Add the encrypted key as a child of the wrapping element + wrappingElement.appendChild(encryptedKeyElement); } - EncryptedKey ekey =3D encryptKey(document, encryptingKey, publicKey); - = - EncryptedData encryptedDataElement =3D - xmlCipher.getEncryptedData(); - KeyInfo keyInfo =3D new KeyInfo(document); - keyInfo.add(ekey); - encryptedDataElement.setKeyInfo(keyInfo); = - return document; = + return encryptedDoc.getDocumentElement(); } = = + = /** - * Decrypt the document given two keys - *

The SecretKey needs to be obtained out of band or - * needs to be obtained from the KeyInfo using the private key. - *

- * @see #encryptKey(Document, Key, Key) - * = - * @param encryptedDocument - * @param encryptingKey - * @param signingKey - * @return + * 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 Document decrypt(Document encryptedDocument, - SecretKey encryptingKey, PrivateKey signingKey) throws Exception + public static Element decryptElementInDocument(Document documentWithEnc= ryptedElement, + PrivateKey privateKey) throws Exception { + if(documentWithEncryptedElement =3D=3D null) + throw new IllegalArgumentException("Input document is null"); = - XMLCipher xmlCipher =3D XMLCipher.getInstance(); - xmlCipher.init(XMLCipher.DECRYPT_MODE, encryptingKey); //Symmetric K= ey - xmlCipher.setKEK(signingKey); //Asymmetric Key for Key Transport + //Look for encrypted data element + Element documentRoot =3D documentWithEncryptedElement.getDocumentEle= ment(); + Element encDataElement =3D getNextElementNode(documentRoot.getFirstC= hild()); + if(encDataElement =3D=3D null) + throw new IllegalStateException("No element representing the encr= ypted data found"); = = - //Get the encrypted element - String namespaceURI =3D EncryptionConstants.EncryptionSpecNS; - String localName =3D EncryptionConstants._TAG_ENCRYPTEDDATA; = + //Look at siblings for the key + Element encKeyElement =3D getNextElementNode(encDataElement.getNextS= ibling()); + if(encKeyElement =3D=3D null) + { = + //Search the enc data element for enc key + NodeList nodeList =3D encDataElement.getElementsByTagNameNS( XMLE= NC_NS, "EncryptedKey"); + = + if(nodeList =3D=3D null || nodeList.getLength() =3D=3D 0) + throw new IllegalStateException("Encrypted Key not found in th= e enc data"); + = + encKeyElement =3D (Element) nodeList.item(0); = + } + = + XMLCipher cipher =3D XMLCipher.getInstance(); = + cipher.init(XMLCipher.DECRYPT_MODE, null); = + EncryptedData encryptedData =3D cipher.loadEncryptedData(documentWi= thEncryptedElement, encDataElement); = + EncryptedKey encryptedKey =3D cipher.loadEncryptedKey(documentWithE= ncryptedElement, encKeyElement); + = + Document decryptedDoc =3D null; + = + if (encryptedData !=3D null && encryptedKey !=3D null) = + { + String encAlgoURL =3D encryptedData.getEncryptionMethod().getAlgo= rithm(); + XMLCipher keyCipher =3D XMLCipher.getInstance(); = + keyCipher.init(XMLCipher.UNWRAP_MODE, privateKey); = + Key encryptionKey =3D keyCipher.decryptKey( encryptedKey, encAlg= oURL ); = + cipher =3D XMLCipher.getInstance(); = + cipher.init(XMLCipher.DECRYPT_MODE, encryptionKey); = + decryptedDoc =3D cipher.doFinal(documentWithEncryptedElement, enc= DataElement); = + } + = + Element decryptedRoot =3D decryptedDoc.getDocumentElement(); + Element dataElement =3D getNextElementNode(decryptedRoot.getFirstChi= ld()); + if (dataElement =3D=3D null) = + throw new IllegalStateException("Data Element after encryption is= null"); = - NodeList nl =3D encryptedDocument.getElementsByTagNameNS(namespaceUR= I, localName); - if(nl =3D=3D null || nl.getLength() < 1) - throw new IllegalStateException("Cannot find encrypted element"); - Element encryptedDataElement =3D (Element) nl.item(0); - return xmlCipher.doFinal(encryptedDocument, encryptedDataElement); + 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 publicKeyA= lgo, 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:" + p= ublicKeyAlgo); + } + = + /** + * 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 !=3D null) + { + if(Node.ELEMENT_NODE =3D=3D node.getNodeType()) + return (Element) node; + node =3D node.getNextSibling(); + } + return null; = } = } \ No newline at end of file Deleted: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss= /test/identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java 2009-02-04 = 23:04:06 UTC (rev 306) +++ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/saml/v2/XMLEncryptionUnitTestCase.java 2009-02-09 = 03:41:50 UTC (rev 307) @@ -1,112 +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.test.identity.federation.api.saml.v2; - -import java.io.StringReader; -import java.security.KeyPair; -import java.security.KeyPairGenerator; - -import javax.crypto.KeyGenerator; -import javax.crypto.SecretKey; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; - -import junit.framework.TestCase; - -import org.jboss.identity.federation.api.util.XMLEncryptionUtil; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.xml.sax.InputSource; - -/** - * Unit Test the XML Encryption Util - * @author Anil.Saldhana(a)redhat.com - * @since Feb 4, 2009 - */ -public class XMLEncryptionUnitTestCase extends TestCase -{ - private String docString =3D "<= /rootDoc>"; - = - /** - * Test the encryption of an entire document using a symmetric key - * @throws Exception - */ - public void testEncryptEntireDocumentWithSymmetricKey() throws Exception - { - Document doc =3D this.getDocument(); - KeyPair kp =3D this.getKeyPair("RSA"); - = - SecretKey sk =3D getSecretKey(); - Document edoc =3D XMLEncryptionUtil.encrypt(doc, null, sk, kp.getPub= lic(), - XMLEncryptionUtil.AES_128); - assertEquals("xenc:EncryptedData", edoc.getFirstChild().getNodeName(= )); - = - //XMLSignatureUtil.marshall(edoc, System.out); - = - Document rdoc =3D XMLEncryptionUtil.decrypt(edoc, sk, kp.getPrivate(= )); = - //XMLSignatureUtil.marshall(rdoc, System.out); - String nodeName =3D rdoc.getFirstChild().getNodeName(); - assertEquals("rootDoc",nodeName); - } - = - /** - * Test the encryption of an element inside a document using - * a symmetric key - * @throws Exception - */ - public void testEncryptElementWithSymmetricKey() throws Exception - { - Document doc =3D this.getDocument(); - KeyPair kp =3D this.getKeyPair("RSA"); - = - SecretKey sk =3D getSecretKey(); - Document edoc =3D XMLEncryptionUtil.encrypt(doc, "element", sk, kp.g= etPublic(), - XMLEncryptionUtil.AES_128); - Element encEl =3D (Element) edoc.getElementsByTagName("element").ite= m(0); - assertEquals("xenc:EncryptedData", encEl.getFirstChild().getNodeName= ()); - = - Document rdoc =3D XMLEncryptionUtil.decrypt(edoc, sk, kp.getPrivate(= )); = - String nodeName =3D rdoc.getFirstChild().getNodeName(); - assertEquals("rootDoc",nodeName); - } - = - private KeyPair getKeyPair(String algo) throws Exception - { - KeyPairGenerator kpg =3D KeyPairGenerator.getInstance(algo); - return kpg.genKeyPair(); = - } - = - private Document getDocument() throws Exception - { - DocumentBuilderFactory factory =3D DocumentBuilderFactory.newInstanc= e(); - DocumentBuilder builder =3D factory.newDocumentBuilder(); - return builder.parse(new InputSource(new StringReader(docString))); - } - = - private SecretKey getSecretKey() throws Exception - { = - KeyGenerator keyGenerator =3D - KeyGenerator.getInstance("AES"); - keyGenerator.init(128); - return keyGenerator.generateKey(); - } -} \ No newline at end of file Added: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/t= est/identity/federation/api/util/DocumentUtilUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/util/DocumentUtilUnitTestCase.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/util/DocumentUtilUnitTestCase.java 2009-02-09 03:4= 1:50 UTC (rev 307) @@ -0,0 +1,69 @@ +/* + * 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.test.identity.federation.api.util; + +import java.io.InputStream; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; + +import junit.framework.TestCase; + +import org.apache.xml.security.utils.EncryptionConstants; +import org.w3c.dom.Document; +import org.w3c.dom.Element; + +/** + * Unit Test the DocumentUtil + * @author Anil.Saldhana(a)redhat.com + * @since Feb 6, 2009 + */ +public class DocumentUtilUnitTestCase extends TestCase +{ + public void testReadSAMLEncryptedAssertion() throws Exception + { + Document encDoc =3D getDocument(); + Element encryptedDataElement =3D + (Element) encDoc.getElementsByTagNameNS( + EncryptionConstants.EncryptionSpecNS, + EncryptionConstants._TAG_ENCRYPTEDDATA).item(0); + Element encryptedKeyElement =3D + (Element) encryptedDataElement.getElementsByTagNameNS( + EncryptionConstants.EncryptionSpecNS, + EncryptionConstants._TAG_ENCRYPTEDKEY).item(0); + assertNotNull(encryptedDataElement); + assertNotNull(encryptedKeyElement); + } = + = + private Document getDocument() throws Exception + { + String fileName =3D "xml/dom/enc-sample.xml"; + InputStream is =3D Thread.currentThread().getContextClassLoader().ge= tResourceAsStream(fileName); + if(is =3D=3D null) + throw new RuntimeException("InputStream is null"); + DocumentBuilderFactory factory =3D DocumentBuilderFactory.newInstanc= e(); = + factory.setNamespaceAware(true); = + DocumentBuilder builder =3D factory.newDocumentBuilder(); = + return builder.parse(is); + } + +} Added: identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/t= est/identity/federation/api/util/XMLEncryptionUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/util/XMLEncryptionUnitTestCase.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/util/XMLEncryptionUnitTestCase.java 2009-02-09 03:= 41:50 UTC (rev 307) @@ -0,0 +1,176 @@ +/* + * 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.test.identity.federation.api.util; + +import java.io.ByteArrayInputStream; +import java.io.StringWriter; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.util.ArrayList; +import java.util.List; + +import javax.crypto.KeyGenerator; +import javax.crypto.SecretKey; +import javax.xml.namespace.QName; + +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.core.saml.v2.constants.JBossSAMLURICo= nstants; +import org.jboss.identity.federation.core.saml.v2.holders.IDPInfoHolder; +import org.jboss.identity.federation.core.saml.v2.holders.IssuerInfoHolder; +import org.jboss.identity.federation.core.saml.v2.holders.SPInfoHolder; +import org.jboss.identity.federation.core.saml.v2.util.DocumentUtil; +import org.jboss.identity.federation.saml.v2.assertion.AssertionType; +import org.jboss.identity.federation.saml.v2.assertion.AttributeStatementT= ype; +import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementTyp= e; +import org.jboss.identity.federation.saml.v2.protocol.ResponseType; +import org.w3c.dom.Document; +import org.w3c.dom.Element; + + +/** + * Unit Test the XML Encryption Utility + * @author Anil.Saldhana(a)redhat.com + * @since Feb 5, 2009 + */ = +public class XMLEncryptionUnitTestCase extends TestCase +{ + SAML2Response sr =3D new SAML2Response(); + = + public void testEncryptAssertion() throws Exception + { + KeyPair kp =3D this.getKeyPair("RSA"); + SecretKey sk =3D this.getSecretKey(); + = + ResponseType rt =3D createResponse(); + Document responseDoc =3D sr.convert(rt); = + = + String assertionNS =3D JBossSAMLURIConstants.ASSERTION_NSURI.get(); + = + QName assertionQName =3D new QName(assertionNS, "EncryptedAssertion"= , "saml"); + = + Element docElement =3D XMLEncryptionUtil.encryptElementInDocument(re= sponseDoc,kp.getPublic(), sk, = + 128, assertionQName, true); = + = + EncryptedElementType eet =3D sr.getEncryptedAssertion(DocumentUtil.g= etNodeAsStream(docElement)); + rt.getAssertionOrEncryptedAssertion().set(0,eet); = + = + EncryptedElementType myeet =3D (EncryptedElementType) rt.getAssertio= nOrEncryptedAssertion().get(0); + Document eetDoc =3D sr.convert(myeet); + = + Element decryptedDocumentElement =3D XMLEncryptionUtil.decryptElemen= tInDocument(eetDoc,kp.getPrivate()); + = + //Let us use the encrypted doc element to decrypt it + ResponseType newRT =3D sr.getResponseType(DocumentUtil.getNodeAsStre= am(decryptedDocumentElement)); + + AssertionType assertion =3D (AssertionType) newRT.getAssertionOrEncr= yptedAssertion().get(0); + assertEquals("http://identityurl", assertion.getIssuer().getValue()); + = + } + = + public void testEncryptAssertionWithMarshalling() throws Exception + { + KeyPair kp =3D this.getKeyPair("RSA"); + SecretKey sk =3D this.getSecretKey(); + = + ResponseType rt =3D createResponse(); + Document responseDoc =3D sr.convert(rt); = + = + String assertionNS =3D JBossSAMLURIConstants.ASSERTION_NSURI.get(); + = + QName assertionQName =3D new QName(assertionNS, "EncryptedAssertion"= , "saml"); + = + Element docElement =3D XMLEncryptionUtil.encryptElementInDocument(re= sponseDoc,kp.getPublic(), sk, = + 128, assertionQName, true); = + = + EncryptedElementType eet =3D sr.getEncryptedAssertion(DocumentUtil.g= etNodeAsStream(docElement)); + rt.getAssertionOrEncryptedAssertion().set(0,eet); = + = + StringWriter sw =3D new StringWriter(); + sr.marshall(rt, sw); + = + //Create a brand new ResponseType + ResponseType received =3D sr.getResponseType(new ByteArrayInputStrea= m(sw.toString().getBytes("UTF-8"))); + = + EncryptedElementType myeet =3D (EncryptedElementType) received.getAs= sertionOrEncryptedAssertion().get(0); + Document eetDoc =3D sr.convert(myeet); + = + Element decryptedDocumentElement =3D XMLEncryptionUtil.decryptElemen= tInDocument(eetDoc,kp.getPrivate()); + = + //Let us use the encrypted doc element to decrypt it + ResponseType newRT =3D sr.getResponseType(DocumentUtil.getNodeAsStre= am(decryptedDocumentElement)); + + AssertionType assertion =3D (AssertionType) newRT.getAssertionOrEncr= yptedAssertion().get(0); + assertEquals("http://identityurl", assertion.getIssuer().getValue()); + } + = + private ResponseType createResponse() throws Exception + { + List roles =3D new ArrayList(); + roles.add("roleA"); + roles.add("roleB"); + = + ResponseType responseType =3D null; + = + SAML2Response saml2Response =3D new SAML2Response(); + = + //Create a response type + String id =3D IDGenerator.create("ID_"); + + IssuerInfoHolder issuerHolder =3D new IssuerInfoHolder("http://ident= ityurl"); = + issuerHolder.setStatusCode(JBossSAMLURIConstants.STATUS_SUCCESS.get(= )); + + IDPInfoHolder idp =3D new IDPInfoHolder(); + idp.setNameIDFormatValue("testPrincipal"); + idp.setNameIDFormat(JBossSAMLURIConstants.NAMEID_FORMAT_PERSISTENT.g= et()); + + SPInfoHolder sp =3D new SPInfoHolder(); + sp.setResponseDestinationURI("http://service"); + responseType =3D saml2Response.createResponseType(id, sp, idp, issue= rHolder); + AssertionType assertion =3D (AssertionType) responseType.getAssertio= nOrEncryptedAssertion().get(0); + + AttributeStatementType attrStatement =3D saml2Response.createAttribu= teStatement(roles); + assertion.getStatementOrAuthnStatementOrAuthzDecisionStatement().add= (attrStatement); + = + //Add timed conditions + saml2Response.createTimedConditions(assertion, 5000L); + = + return responseType; = + } + = + private KeyPair getKeyPair(String algo) throws Exception + { + KeyPairGenerator kpg =3D KeyPairGenerator.getInstance(algo); + return kpg.genKeyPair(); = + } = + = + private SecretKey getSecretKey() throws Exception + { = + KeyGenerator keyGenerator =3D + KeyGenerator.getInstance("AES"); + keyGenerator.init(128); + return keyGenerator.generateKey(); + } = +} \ No newline at end of file Added: identity-federation/trunk/identity-fed-api/src/test/resources/endors= ed/resolver.jar =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/endorsed/resolver.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: identity-federation/trunk/identity-fed-api/src/test/resources/endors= ed/serializer.jar =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/endorsed/serializer.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: identity-federation/trunk/identity-fed-api/src/test/resources/endors= ed/xalan.jar =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/endorsed/xalan.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: identity-federation/trunk/identity-fed-api/src/test/resources/endors= ed/xercesImpl.jar =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/endorsed/xercesImpl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: identity-federation/trunk/identity-fed-api/src/test/resources/endors= ed/xml-apis.jar =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/endorsed/xml-apis.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: identity-federation/trunk/identity-fed-api/src/test/resources/xml/do= m/enc-sample.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/test/resources/xml/dom/e= nc-sample.xml (rev 0) +++ identity-federation/trunk/identity-fed-api/src/test/resources/xml/dom/e= nc-sample.xml 2009-02-09 03:41:50 UTC (rev 307) @@ -0,0 +1,28 @@ + + + + + + + + + + Y9X5QW+M4gCrvkYo6v0CkDm9lR5/+mF+UxXCgge/KmkFXSHrHhmEHL0kmcPgnYXkufEN= NOGZkNsT + MTF0sHVEAC+rbf+ZyOgl44jZUD4KtBo+Fgl6ddLBgIcTTFGQ3WscdJForQPYp2rekHyw= 4YlbLDSq + 5/di4fDS7BVz6mKdEBM=3D + + + + + + MNLeaBXwfU4vtuhEUEKH190Z46OIdNBmK4yjaKh2QR0DH7xksoQAX+OjU4CJhVB6fZRxit= n0Sau0 + zejUE2U5igLHpyrjONmwLh9imubqFZHMzLbiqDWlyjMHnVF ..... + ZPHNjad9sON9QtSnW7uApjUdkcPPpRlE0K2gX3xG07EmRIcWLsMo0AwtYXYW4CFq1rXWF2= 2pfgVv + Bcw1XvGUevgAcgMOtK7aFm6y5QZgIypIGs90GeLKwH6xZGaFg1xFDo+kiLA+KFg1vHVYxq= cKcSgy + ZtnthwhqWdxHTBWar7aY+QC9lEV3FAp0deSNOGl78SyvKw=3D=3D + + + \ No newline at end of file --===============2291347623042693216==-- From jboss-identity-commits at lists.jboss.org Sun Feb 8 22:45:43 2009 Content-Type: multipart/mixed; boundary="===============8599605486149123253==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r308 - in identity-federation/trunk: identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config and 16 other directories. Date: Sun, 08 Feb 2009 22:43:50 -0500 Message-ID: --===============8599605486149123253== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-08 22:43:49 -0500 (Sun, 08 Feb 2009) New Revision: 308 Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/util/cert/EncryptionKeyUtil.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/constants/JBossEncryptionConstants.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/xmlenc/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/xmlenc/factories/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/xmlenc/factories/XMLEncryptionFactory.java Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/ObjectFactory.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/package-info.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/interfaces/TrustKeyManager.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/KeyStoreKeyManager.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/idp/IDPRedirectValve.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPUtil.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/util/ValveUtil.java identity-federation/trunk/identity-bindings/src/main/resources/schema/co= nfig/jboss-identity-fed.xsd identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test= /identity/federation/bindings/config/ConfigUnitTestCase.java identity-federation/trunk/identity-bindings/src/test/resources/config/te= st-config-2.xml identity-federation/trunk/identity-fed-core/.classpath identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/constants/JBossSAMLURIConstants.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/factories/JBossSAMLAuthnResponseFactory.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/factories/SAMLProtocolFactory.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/util/DocumentUtil.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/util/JAXBElementMappingUtil.java identity-federation/trunk/pom.xml Log: JBID-47: xml enc support Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/ObjectFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ObjectFactory.java 2009-02-09 03:41:50 UTC= (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ObjectFactory.java 2009-02-09 03:43:49 UTC= (rev 308) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = +// Generated on: 2009.02.04 at 09:20:44 PM CST = // = = @@ -32,7 +32,6 @@ public class ObjectFactory { = private final static QName _JBossIDP_QNAME =3D new QName("urn:jboss:id= entity-federation:config:1.0", "JBossIDP"); - private final static QName _JBossSP_QNAME =3D new QName("urn:jboss:ide= ntity-federation:config:1.0", "JBossSP"); = /** @@ -43,76 +42,85 @@ } = /** - * Create an instance of {@link SP } + * Create an instance of {@link EncryptionType } * = */ - public SP createSP() { - return new SP(); + public EncryptionType createEncryptionType() { + return new EncryptionType(); } = /** - * Create an instance of {@link KeyProvider } + * Create an instance of {@link TrustType } * = */ - public KeyProvider createKeyProvider() { - return new KeyProvider(); + public TrustType createTrustType() { + return new TrustType(); } = /** - * Create an instance of {@link AuthProperty } + * Create an instance of {@link SPType } * = */ - public AuthProperty createAuthProperty() { - return new AuthProperty(); + public SPType createSPType() { + return new SPType(); } = /** - * Create an instance of {@link Trust } + * Create an instance of {@link KeyValueType } * = */ - public Trust createTrust() { - return new Trust(); + public KeyValueType createKeyValueType() { + return new KeyValueType(); } = /** - * Create an instance of {@link Provider } + * Create an instance of {@link AuthPropertyType } * = */ - public Provider createProvider() { - return new Provider(); + public AuthPropertyType createAuthPropertyType() { + return new AuthPropertyType(); } = /** - * Create an instance of {@link KeyValue } + * Create an instance of {@link ProviderType } * = */ - public KeyValue createKeyValue() { - return new KeyValue(); + public ProviderType createProviderType() { + return new ProviderType(); } = /** - * Create an instance of {@link IDP } + * Create an instance of {@link KeyProviderType } * = */ - public IDP createIDP() { - return new IDP(); + public KeyProviderType createKeyProviderType() { + return new KeyProviderType(); } = /** - * Create an instance of {@link JAXBElement }{@code <}{@link IDP }{@co= de >}} + * Create an instance of {@link IDPType } * = */ + public IDPType createIDPType() { + return new IDPType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link IDPType }= {@code >}} + * = + */ @XmlElementDecl(namespace =3D "urn:jboss:identity-federation:config:1.= 0", name =3D "JBossIDP") - public JAXBElement createJBossIDP(IDP value) { - return new JAXBElement(_JBossIDP_QNAME, IDP.class, null, valu= e); + public JAXBElement createJBossIDP(IDPType value) { + return new JAXBElement(_JBossIDP_QNAME, IDPType.class, nu= ll, value); } = /** - * Create an instance of {@link JAXBElement }{@code <}{@link SP }{@cod= e >}} + * Create an instance of {@link JAXBElement }{@code <}{@link SPType }{= @code >}} * = */ @XmlElementDecl(namespace =3D "urn:jboss:identity-federation:config:1.= 0", name =3D "JBossSP") - public JAXBElement createJBossSP(SP value) { - return new JAXBElement(_JBossSP_QNAME, SP.class, null, value); + public JAXBElement createJBossSP(SPType value) { + return new JAXBElement(_JBossSP_QNAME, SPType.class, null,= value); } + } Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/package-info.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/package-info.java 2009-02-09 03:41:50 UTC = (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/package-info.java 2009-02-09 03:43:49 UTC = (rev 308) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = +// Generated on: 2009.02.04 at 09:20:44 PM CST = // = @javax.xml.bind.annotation.XmlSchema(namespace =3D "urn:jboss:identity-fed= eration:config:1.0", elementFormDefault =3D javax.xml.bind.annotation.XmlNs= Form.QUALIFIED) Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/interfaces/TrustKeyManager.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/interfaces/TrustKeyManager.java 2009-02-09 03:41:= 50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/interfaces/TrustKeyManager.java 2009-02-09 03:43:= 49 UTC (rev 308) @@ -25,9 +25,12 @@ import java.security.PublicKey; import java.util.List; = -import org.jboss.identity.federation.bindings.config.AuthProperty; -import org.jboss.identity.federation.bindings.config.KeyValue; +import javax.crypto.SecretKey; = +import org.jboss.identity.federation.bindings.config.AuthPropertyType; +import org.jboss.identity.federation.bindings.config.KeyValueType; + = + /** * Key Manager interface used in trust decisions * @author Anil.Saldhana(a)redhat.com @@ -41,7 +44,7 @@ * @param authList * @throws Exception */ - void setAuthProperties(List authList) throws Exception; + void setAuthProperties(List authList) throws Exceptio= n; = /** * Set a list of (domain,alias) tuple to trust domains @@ -50,7 +53,7 @@ * @param aliases * @throws Exception */ - void setValidatingAlias(List aliases) throws Exception; + void setValidatingAlias(List aliases) throws Exception; = /** * Get the Signing Key @@ -60,6 +63,17 @@ PrivateKey getSigningKey() throws Exception; = /** + * Given a domain, obtain a secret key + * @see {@code EncryptionKeyUtil} + * @param domain + * @param encryptionAlgorithm Encryption Algorithm + * @param keyLength length of keys + * @return + * @throws Exception + */ + SecretKey getEncryptionKey(String domain, String encryptionAlgorithm, i= nt keyLength) throws Exception; + = + /** * Get the Validating Public Key of the domain * @param domain * @return Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/KeyStoreKeyManager.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/KeyStoreKeyManager.java 2009-02-09 03:41:5= 0 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/KeyStoreKeyManager.java 2009-02-09 03:43:4= 9 UTC (rev 308) @@ -30,11 +30,15 @@ import java.security.UnrecoverableKeyException; import java.util.HashMap; import java.util.List; +import java.util.Map; = -import org.jboss.identity.federation.bindings.config.AuthProperty; -import org.jboss.identity.federation.bindings.config.KeyValue; +import javax.crypto.SecretKey; + +import org.jboss.identity.federation.bindings.config.AuthPropertyType; +import org.jboss.identity.federation.bindings.config.KeyValueType; import org.jboss.identity.federation.bindings.interfaces.TrustKeyManager; import org.jboss.identity.federation.bindings.util.ValveUtil; +import org.jboss.identity.federation.bindings.util.cert.EncryptionKeyUtil; import org.jboss.identity.federation.bindings.util.cert.KeyStoreUtil; = /** @@ -44,6 +48,16 @@ */ public class KeyStoreKeyManager implements TrustKeyManager { = + /** + * An map of secret keys alive only for the duration of the program. + * The keys are generated on the fly. If you sophisticated key + * storage, then a custom version of the {@code TrustKeyManager} + * needs to be written that either uses a secure thumb drive or + * a TPM module or a HSM module. + * Also see JBoss XMLKey. + */ + private Map keys =3D new HashMap(); + = private HashMap domainAliasMap =3D new HashMap(); = private HashMap authPropsMap =3D new HashMap(); = @@ -101,9 +115,9 @@ /** * @see TrustKeyManager#setAuthProperties(List) */ - public void setAuthProperties(List authList) throws Excep= tion + public void setAuthProperties(List authList) throws E= xception { - for(AuthProperty auth: authList) + for(AuthPropertyType auth: authList) { this.authPropsMap.put(auth.getKey(), auth.getValue()); } @@ -123,14 +137,28 @@ /** * @see TrustKeyManager#setValidatingAlias(List) */ - public void setValidatingAlias(List aliases) + public void setValidatingAlias(List aliases) { - for(KeyValue alias: aliases) + for(KeyValueType alias: aliases) { domainAliasMap.put(alias.getKey(), alias.getValue()); } } = + /** + * @see TrustKeyManager#getEncryptionKey(String) + */ + public SecretKey getEncryptionKey(String domain,String encryptionAlgori= thm, int keyLength) throws Exception + { + SecretKey key =3D keys.get(domain); + if(key =3D=3D null) + { + key =3D EncryptionKeyUtil.getSecretKey(encryptionAlgorithm, keyLe= ngth); + keys.put(domain, key); + } = + return key; + } + = private void setUpKeyStore() throws GeneralSecurityException, IOExcepti= on { //Keystore URL/Pass can be either by configuration or on the HTTPS c= onnector @@ -145,5 +173,5 @@ = InputStream is =3D ValveUtil.getKeyStoreInputStream(this.keyStoreURL= ); ks =3D KeyStoreUtil.getKeyStore(is, keyStorePass.toCharArray()); = - } + } = } \ No newline at end of file Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/idp/IDPRedirectValve.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/idp/IDPRedirectValve.java 2009-02-09 03:41= :50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/idp/IDPRedirectValve.java 2009-02-09 03:43= :49 UTC (rev 308) @@ -43,8 +43,8 @@ import org.jboss.identity.federation.api.saml.v2.common.IDGenerator; import org.jboss.identity.federation.api.saml.v2.request.SAML2Request; import org.jboss.identity.federation.api.saml.v2.response.SAML2Response; -import org.jboss.identity.federation.bindings.config.IDP; -import org.jboss.identity.federation.bindings.config.Trust; +import org.jboss.identity.federation.bindings.config.IDPType; +import org.jboss.identity.federation.bindings.config.TrustType; import org.jboss.identity.federation.bindings.interfaces.RoleGenerator; import org.jboss.identity.federation.bindings.tomcat.TomcatRoleGenerator; import org.jboss.identity.federation.bindings.util.HTTPRedirectUtil; @@ -70,11 +70,11 @@ { = private static Logger log =3D Logger.getLogger(IDPRedirectValve.class)= ; = = - protected IDP idpConfiguration =3D null; + protected IDPType idpConfiguration =3D null; = private RoleGenerator rg =3D new TomcatRoleGenerator(); = - private long assertionValidity =3D 5000; // 5minutes in seconds + private long assertionValidity =3D 5000; // 5 seconds in miliseconds = private String identityURL =3D null; = = @@ -157,7 +157,7 @@ try { String issuerDomain =3D ValveUtil.getDomain(issuer); - Trust idpTrust =3D idpConfiguration.getTrust(); + TrustType idpTrust =3D idpConfiguration.getTrust(); if(idpTrust !=3D null) { String domainsTrusted =3D idpTrust.getDomains(); @@ -197,6 +197,13 @@ } } = + /** + * Generate a Destination URL for the HTTPRedirect binding + * with the saml response and relay state + * @param urlEncodedResponse + * @param urlEncodedRelayState + * @return + */ protected String getDestination(String urlEncodedResponse, String urlEn= codedRelayState) { StringBuilder sb =3D new StringBuilder(); @@ -206,6 +213,12 @@ return sb.toString(); } = + /** + * Validate the incoming Request + * @param request + * @return + * @throws Exception + */ protected boolean validate(Request request) throws Exception { return this.hasSAMLRequestMessage(request); = @@ -225,8 +238,14 @@ } = = - = - private ResponseType getResponse(Request request, Principal userPrincip= al) throws Exception + /** + * Create a response type + * @param request + * @param userPrincipal + * @return + * @throws Exception + */ + protected ResponseType getResponse(Request request, Principal userPrinc= ipal) throws Exception { ResponseType responseType =3D null; = @@ -268,8 +287,7 @@ = //Add timed conditions saml2Response.createTimedConditions(assertion, this.assertionValidit= y); - - log.debug("ResponseType =3D "); + = //Lets see how the response looks like = if(log.isTraceEnabled()) { Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java 200= 9-02-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/idp/IDPRedirectWithSignatureValve.java 200= 9-02-09 03:43:49 UTC (rev 308) @@ -21,21 +21,38 @@ */ package org.jboss.identity.federation.bindings.tomcat.idp; = +import java.io.StringReader; +import java.io.StringWriter; +import java.net.URL; +import java.security.Principal; import java.security.PrivateKey; import java.security.PublicKey; = +import javax.crypto.SecretKey; +import javax.xml.namespace.QName; + import org.apache.catalina.LifecycleException; import org.apache.catalina.connector.Request; import org.apache.log4j.Logger; -import org.jboss.identity.federation.bindings.config.KeyProvider; +import org.jboss.identity.federation.api.saml.v2.response.SAML2Response; +import org.jboss.identity.federation.api.util.XMLEncryptionUtil; +import org.jboss.identity.federation.bindings.config.EncryptionType; +import org.jboss.identity.federation.bindings.config.KeyProviderType; import org.jboss.identity.federation.bindings.interfaces.TrustKeyManager; import org.jboss.identity.federation.bindings.util.RedirectBindingSignatur= eUtil; +import org.jboss.identity.federation.core.saml.v2.constants.JBossSAMLURICo= nstants; +import org.jboss.identity.federation.core.saml.v2.util.DocumentUtil; import org.jboss.identity.federation.core.saml.v2.util.SignatureUtil; +import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementTyp= e; +import org.jboss.identity.federation.saml.v2.protocol.ResponseType; +import org.w3c.dom.Document; +import org.w3c.dom.Element; = = /** * Valve at the Identity Provider that supports * SAML2 HTTP/Redirect binding with digital signature support + * and xml encryption * @author Anil.Saldhana(a)redhat.com * @since Jan 14, 2009 */ @@ -52,6 +69,11 @@ super(); = } = + /** + * Indicate whether the signature parameter in the request + * needs to be ignored + * @param val + */ public void setIgnoreSignature(String val) { if(val !=3D null && val.length() > 0) @@ -62,7 +84,7 @@ public void start() throws LifecycleException { = super.start(); - KeyProvider keyProvider =3D this.idpConfiguration.getKeyProvider(); + KeyProviderType keyProvider =3D this.idpConfiguration.getKeyProvider= (); try { ClassLoader tcl =3D SecurityActions.getContextClassLoader(); @@ -83,6 +105,7 @@ log.trace("Key Provider=3D" + keyProvider.getClassName()); } = = + @Override protected boolean validate(Request request) throws Exception { boolean result =3D super.validate(request); @@ -137,4 +160,54 @@ throw new RuntimeException(e); } } + = + @Override + protected ResponseType getResponse(Request request, Principal userPrinc= ipal) throws Exception + { + SAML2Response saml2Response =3D new SAML2Response(); + = + ResponseType responseType =3D super.getResponse(request, userPrinci= pal); + = + //If there is a configuration to encrypt + if(this.idpConfiguration.isEncrypt()) + { + //Need to encrypt the assertion + String sp =3D responseType.getDestination(); + if(sp =3D=3D null) + throw new IllegalStateException("Unable to handle encryption a= s SP url is null"); + URL spurl =3D new URL(sp); + PublicKey publicKey =3D keyManager.getValidatingKey(spurl.getHost= ()); + EncryptionType enc =3D idpConfiguration.getEncryption(); + if(enc =3D=3D null) + throw new IllegalStateException("EncryptionType not configured= "); + String encAlgo =3D enc.getEncAlgo().value(); + int keyLength =3D enc.getKeySize(); + //Generate a key on the fly + SecretKey sk =3D keyManager.getEncryptionKey(spurl.getHost(), enc= Algo, keyLength); + = + StringWriter sw =3D new StringWriter(); + saml2Response.marshall(responseType, sw); + = + Document responseDoc =3D DocumentUtil.getDocument(new StringReade= r(sw.toString())); = + = + String assertionNS =3D JBossSAMLURIConstants.ASSERTION_NSURI.get(= ); + = + QName assertionQName =3D new QName(assertionNS, "EncryptedAsserti= on", "saml"); + = + Element encAssertion =3D XMLEncryptionUtil.encryptElementInDocume= nt(responseDoc, + publicKey, sk, keyLength, assertionQName, true); + = + = + EncryptedElementType eet =3D saml2Response.getEncryptedAssertion(= DocumentUtil.getNodeAsStream(encAssertion)); + responseType.getAssertionOrEncryptedAssertion().set(0, eet); = + } + //Lets see how the response looks like = + if(log.isTraceEnabled()) + { + StringWriter sw =3D new StringWriter(); + saml2Response.marshall(responseType, sw); + log.trace("IDPRedirectValveWithSignature::Response=3D"+sw.toStrin= g()); = + } + return responseType; + } = } \ No newline at end of file Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java 2009-0= 2-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java 2009-0= 2-09 03:43:49 UTC (rev 308) @@ -25,6 +25,7 @@ import java.io.IOException; import java.io.InputStream; import java.security.Principal; +import java.util.List; = import javax.servlet.ServletException; = @@ -41,8 +42,8 @@ import org.jboss.identity.federation.api.saml.v2.response.SAML2Response; import org.jboss.identity.federation.api.util.Base64; import org.jboss.identity.federation.api.util.DeflateUtil; -import org.jboss.identity.federation.bindings.config.SP; -import org.jboss.identity.federation.bindings.config.Trust; +import org.jboss.identity.federation.bindings.config.SPType; +import org.jboss.identity.federation.bindings.config.TrustType; import org.jboss.identity.federation.bindings.jboss.DefaultJBossSubjectReg= istration; import org.jboss.identity.federation.bindings.jboss.JBossSubjectRegistrati= on; import org.jboss.identity.federation.bindings.util.HTTPRedirectUtil; @@ -50,6 +51,7 @@ import org.jboss.identity.federation.bindings.util.ValveUtil; import org.jboss.identity.federation.core.saml.v2.exceptions.AssertionExpi= redException; import org.jboss.identity.federation.core.saml.v2.exceptions.IssuerNotTrus= tedException; +import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementTyp= e; import org.jboss.identity.federation.saml.v2.protocol.AuthnRequestType; import org.jboss.identity.federation.saml.v2.protocol.ResponseType; = @@ -66,7 +68,7 @@ = private static Logger log =3D Logger.getLogger(SPRedirectFormAuthentica= tor.class); = - protected SP spConfiguration =3D null; + protected SPType spConfiguration =3D null; = private String serviceURL =3D null; private String identityURL =3D null; @@ -210,7 +212,7 @@ try { String issuerDomain =3D ValveUtil.getDomain(issuer); - Trust idpTrust =3D spConfiguration.getTrust(); + TrustType idpTrust =3D spConfiguration.getTrust(); if(idpTrust !=3D null) { String domainsTrusted =3D idpTrust.getDomains(); @@ -228,6 +230,16 @@ { return request.getParameter("SAMLResponse") !=3D null; = } + = + /** + * Subclasses should provide the implementation + * @param responseType ResponseType that contains the encrypted asserti= on + * @return response type with the decrypted assertion + */ + protected ResponseType decryptAssertion(ResponseType responseType) thro= ws Exception + { + throw new RuntimeException("This authenticator does not handle encry= ption"); + } = private Principal process(Request request, Response response) throws Ex= ception { @@ -248,6 +260,16 @@ = this.isTrusted(responseType.getIssuer().getValue()); = + List assertions =3D responseType.getAssertionOrEncryptedA= ssertion(); + if(assertions.size() =3D=3D 0) + throw new IllegalStateException("No assertions in reply from I= DP"); = + = + Object assertion =3D assertions.get(0); + if(assertion instanceof EncryptedElementType) + { + responseType =3D this.decryptAssertion(responseType); + } + = SPUtil spUtil =3D new SPUtil(); return spUtil.handleSAMLResponse(request, responseType); = } Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthentica= tor.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.ja= va 2009-02-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectSignatureFormAuthenticator.ja= va 2009-02-09 03:43:49 UTC (rev 308) @@ -27,19 +27,27 @@ import org.apache.catalina.LifecycleException; import org.apache.catalina.connector.Request; import org.apache.log4j.Logger; -import org.jboss.identity.federation.bindings.config.KeyProvider; +import org.jboss.identity.federation.api.saml.v2.response.SAML2Response; +import org.jboss.identity.federation.api.util.XMLEncryptionUtil; +import org.jboss.identity.federation.bindings.config.KeyProviderType; import org.jboss.identity.federation.bindings.interfaces.TrustKeyManager; import org.jboss.identity.federation.bindings.util.RedirectBindingSignatur= eUtil; +import org.jboss.identity.federation.core.saml.v2.util.DocumentUtil; import org.jboss.identity.federation.core.saml.v2.util.SignatureUtil; +import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementTyp= e; +import org.jboss.identity.federation.saml.v2.protocol.ResponseType; +import org.w3c.dom.Document; +import org.w3c.dom.Element; = /** - * Tomcat Authenticator for the HTTP/Redirect = - * binding with Signature support + * Tomcat Authenticator for the HTTP/Redirect binding with Signature suppo= rt * @author Anil.Saldhana(a)redhat.com * @since Jan 12, 2009 */ public class SPRedirectSignatureFormAuthenticator extends SPRedirectFormAu= thenticator { + = + private static Logger log =3D Logger.getLogger(SPRedirectSignatureFormA= uthenticator.class); = private TrustKeyManager keyManager; = @@ -53,7 +61,7 @@ public void start() throws LifecycleException { super.start(); - KeyProvider keyProvider =3D this.spConfiguration.getKeyProvider(); + KeyProviderType keyProvider =3D this.spConfiguration.getKeyProvider(= ); try { ClassLoader tcl =3D SecurityActions.getContextClassLoader(); @@ -122,4 +130,19 @@ throw new RuntimeException(e); } } + = + @Override + protected ResponseType decryptAssertion(ResponseType responseType) thro= ws Exception + { + SAML2Response saml2Response =3D new SAML2Response(); + PrivateKey privateKey =3D keyManager.getSigningKey(); = + = + EncryptedElementType myEET =3D (EncryptedElementType) responseType.g= etAssertionOrEncryptedAssertion().get(0); + Document eetDoc =3D saml2Response.convert(myEET); + = + Element decryptedDocumentElement =3D XMLEncryptionUtil.decryptElemen= tInDocument(eetDoc,privateKey); + = + //Let us use the encrypted doc element to decrypt it + return saml2Response.getResponseType(DocumentUtil.getNodeAsStream(d= ecryptedDocumentElement)); = + } = } \ No newline at end of file Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPUtil.java 2009-02-09 03:41:50 UTC (re= v 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPUtil.java 2009-02-09 03:43:49 UTC (re= v 308) @@ -94,7 +94,11 @@ if(JBossSAMLURIConstants.STATUS_SUCCESS.get().equals(statusValue) = =3D=3D false) throw new SecurityException("IDP forbid the user"); = - AssertionType assertion =3D (AssertionType) responseType.getAssertio= nOrEncryptedAssertion().get(0); + List assertions =3D responseType.getAssertionOrEncryptedAsse= rtion(); + if(assertions.size() =3D=3D 0) + throw new IllegalStateException("No assertions in reply from IDP"= ); = + = + AssertionType assertion =3D (AssertionType)assertions.get(0); //Check for validity of assertion ConditionsType conditionsType =3D assertion.getConditions(); if(conditionsType !=3D null) @@ -123,6 +127,7 @@ return this.createGenericPrincipal(request, userName, roles); = } = = + = private Principal createGenericPrincipal(Request request, String userna= me, List roles) { = Context ctx =3D request.getContext(); Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/util/ValveUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/ValveUtil.java 2009-02-09 03:41:50 UTC (rev = 307) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/ValveUtil.java 2009-02-09 03:43:49 UTC (rev = 308) @@ -29,8 +29,8 @@ import javax.xml.bind.JAXBElement; import javax.xml.bind.Unmarshaller; = -import org.jboss.identity.federation.bindings.config.IDP; -import org.jboss.identity.federation.bindings.config.SP; +import org.jboss.identity.federation.bindings.config.IDPType; +import org.jboss.identity.federation.bindings.config.SPType; import org.jboss.identity.federation.core.saml.v2.factories.JBossSAMLBaseF= actory; = /** @@ -73,26 +73,26 @@ } = = @SuppressWarnings("unchecked") - public static IDP getIDPConfiguration(InputStream is) throws Exception + public static IDPType getIDPConfiguration(InputStream is) throws Except= ion { if(is =3D=3D null) throw new IllegalArgumentException("inputstream is null"); String schema =3D "schema/config/jboss-identity-fed.xsd"; = Unmarshaller un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller("= org.jboss.identity.federation.bindings.config", schema); - JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal(is); + JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal= (is); return jaxbSp.getValue(); = } = @SuppressWarnings("unchecked") - public static SP getSPConfiguration(InputStream is) throws Exception + public static SPType getSPConfiguration(InputStream is) throws Exception { if(is =3D=3D null) throw new IllegalArgumentException("inputstream is null"); String schema =3D "schema/config/jboss-identity-fed.xsd"; = Unmarshaller un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller("= org.jboss.identity.federation.bindings.config", schema); - JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal(is); + JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal(i= s); return jaxbSp.getValue(); = } = Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/util/cert/EncryptionKeyUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/cert/EncryptionKeyUtil.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/cert/EncryptionKeyUtil.java 2009-02-09 03:43= :49 UTC (rev 308) @@ -0,0 +1,50 @@ +/* + * 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.bindings.util.cert; + +import javax.crypto.KeyGenerator; +import javax.crypto.SecretKey; + +/** + * Utility to generate symmetric key + * @author Anil.Saldhana(a)redhat.com + * @since Feb 4, 2009 + */ +public class EncryptionKeyUtil +{ + /** + * Generate a secret key useful for encryption/decryption + * @param encAlgo + * @param keySize Length of the key (if 0, defaults to 128 bits) + * @return + * @throws Exception + */ + public static SecretKey getSecretKey(String encAlgo, int keySize) throw= s Exception + { = + KeyGenerator keyGenerator =3D KeyGenerator.getInstance(encAlgo); + if(keySize =3D=3D 0) + keySize =3D 128; + keyGenerator.init(keySize); + return keyGenerator.generateKey(); + } + +} \ No newline at end of file Modified: identity-federation/trunk/identity-bindings/src/main/resources/sc= hema/config/jboss-identity-fed.xsd =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/resources/schema/c= onfig/jboss-identity-fed.xsd 2009-02-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/main/resources/schema/c= onfig/jboss-identity-fed.xsd 2009-02-09 03:43:49 UTC (rev 308) @@ -2,7 +2,7 @@ - + IDP Type defines the configuration for an Identity @@ -10,21 +10,34 @@ - = - - = + + + + + + + + + + + = - + The root configuration for an Identity Provider(IDP) = using JBoss Identity. = = - + Aspects involved in trust decisions such as the do= mains that the IDP or the Service Provider trusts. @@ -37,14 +50,14 @@ = - + Source of the Signing and Validating Key - @@ -53,7 +66,7 @@ - @@ -74,12 +87,12 @@ = - = + = = - + Base Type for IDP and SP @@ -87,21 +100,21 @@ - - = = - + Service Provider Type - + @@ -109,11 +122,26 @@ = - + - + = - + + + + + + + + + + + + + + + + \ No newline at end of file Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jbo= ss/test/identity/federation/bindings/config/ConfigUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/tes= t/identity/federation/bindings/config/ConfigUnitTestCase.java 2009-02-09 03= :41:50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/tes= t/identity/federation/bindings/config/ConfigUnitTestCase.java 2009-02-09 03= :43:49 UTC (rev 308) @@ -29,12 +29,12 @@ = import junit.framework.TestCase; = -import org.jboss.identity.federation.bindings.config.AuthProperty; -import org.jboss.identity.federation.bindings.config.IDP; -import org.jboss.identity.federation.bindings.config.KeyProvider; -import org.jboss.identity.federation.bindings.config.KeyValue; -import org.jboss.identity.federation.bindings.config.SP; -import org.jboss.identity.federation.bindings.config.Trust; +import org.jboss.identity.federation.bindings.config.AuthPropertyType; +import org.jboss.identity.federation.bindings.config.IDPType; +import org.jboss.identity.federation.bindings.config.KeyProviderType; +import org.jboss.identity.federation.bindings.config.KeyValueType; +import org.jboss.identity.federation.bindings.config.SPType; +import org.jboss.identity.federation.bindings.config.TrustType; import org.jboss.identity.federation.core.saml.v2.factories.JBossSAMLBaseF= actory; = /** @@ -48,11 +48,11 @@ = public void test01() throws Exception { = - IDP idp =3D this.getIDP(config + "1.xml"); = - assertEquals("5000",5000L,idp.getAssertionValidity()); = + IDPType idp =3D this.getIDP(config + "1.xml"); = + assertEquals("300000",300000L,idp.getAssertionValidity()); = assertEquals("org.jboss.identity.federation.bindings.tomcat.TomcatRol= eGenerator",idp.getRoleGenerator()); = - Trust trust =3D idp.getTrust(); + TrustType trust =3D idp.getTrust(); assertNotNull("Trust is not null", trust); String domains =3D trust.getDomains(); assertTrue("localhost trusted", domains.indexOf("localhost") > -1); @@ -61,15 +61,16 @@ = public void test02() throws Exception { - IDP idp =3D this.getIDP(config + "2.xml"); = + IDPType idp =3D this.getIDP(config + "2.xml"); = = assertEquals("20000",20000L,idp.getAssertionValidity()); = assertEquals("somefqn",idp.getRoleGenerator()); - KeyProvider kp =3D idp.getKeyProvider(); + assertTrue(idp.isEncrypt()); + KeyProviderType kp =3D idp.getKeyProvider(); assertNotNull("KeyProvider is not null", kp); assertEquals("SomeClass", "SomeClass", kp.getClassName()); - List authProps =3D kp.getAuth(); - AuthProperty authProp =3D authProps.get(0); + List authProps =3D kp.getAuth(); + AuthPropertyType authProp =3D authProps.get(0); assertEquals("SomeKey", "SomeKey", authProp.getKey()); assertEquals("SomeValue", "SomeValue", authProp.getValue()); = = @@ -77,10 +78,10 @@ assertEquals("DBURL", "DBURL", authProp.getKey()); assertEquals("SomeDBURL", "SomeDBURL", authProp.getValue()); = = - List validatingAliases =3D kp.getValidatingAlias(); + List validatingAliases =3D kp.getValidatingAlias(); assertEquals("Validating Alias length is 2", 2, validatingAliases.si= ze()); = - KeyValue kv =3D validatingAliases.get(0); + KeyValueType kv =3D validatingAliases.get(0); assertEquals("localhost", kv.getKey()); assertEquals("localhostalias", kv.getValue()); = @@ -88,7 +89,7 @@ assertEquals("jboss.com", kv.getKey()); assertEquals("jbossalias", kv.getValue()); = - Trust trust =3D idp.getTrust(); + TrustType trust =3D idp.getTrust(); assertNotNull("Trust is not null", trust); String domains =3D trust.getDomains(); assertTrue("localhost trusted", domains.indexOf("localhost") > -1); @@ -97,13 +98,13 @@ = public void test03() throws Exception { - SP sp =3D getSP(config + "3.xml"); + SPType sp =3D getSP(config + "3.xml"); assertEquals("http://localhost:8080/idp", sp.getIdentityURL()); assertEquals("http://localhost:8080/sales", sp.getServiceURL()); } = @SuppressWarnings("unchecked") - private SP getSP(String configFile) throws Exception + private SPType getSP(String configFile) throws Exception { String schema =3D "schema/config/jboss-identity-fed.xsd"; = @@ -112,12 +113,12 @@ assertNotNull("Inputstream not null", is); = Unmarshaller un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller("= org.jboss.identity.federation.bindings.config", schema); - JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal(is); + JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal(i= s); assertNotNull("SP is not null", jaxbSp); return jaxbSp.getValue(); = } @SuppressWarnings("unchecked") - private IDP getIDP(String configFile) throws Exception + private IDPType getIDP(String configFile) throws Exception { String schema =3D "schema/config/jboss-identity-fed.xsd"; = @@ -126,7 +127,7 @@ assertNotNull("Inputstream not null", is); = Unmarshaller un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller("= org.jboss.identity.federation.bindings.config", schema); - JAXBElement jaxbIdp =3D (JAXBElement) un.unmarshal(is); + JAXBElement jaxbIdp =3D (JAXBElement) un.unmarsha= l(is); assertNotNull("IDP is not null", jaxbIdp); return jaxbIdp.getValue(); = } Modified: identity-federation/trunk/identity-bindings/src/test/resources/co= nfig/test-config-2.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/test/resources/config/t= est-config-2.xml 2009-02-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-bindings/src/test/resources/config/t= est-config-2.xml 2009-02-09 03:43:49 UTC (rev 308) @@ -1,6 +1,7 @@ + RoleGenerator=3D"somefqn" + Encrypt=3D"true"> http://localhost:8080/idp localhost,jboss.com,jboss.org Modified: identity-federation/trunk/identity-fed-core/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/.classpath 2009-02-09 03:41= :50 UTC (rev 307) +++ identity-federation/trunk/identity-fed-core/.classpath 2009-02-09 03:43= :49 UTC (rev 308) @@ -10,5 +10,6 @@ + Added: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/= identity/federation/core/saml/v2/constants/JBossEncryptionConstants.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/constants/JBossEncryptionConstants.java = (rev 0) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/constants/JBossEncryptionConstants.java 2009-= 02-09 03:43:49 UTC (rev 308) @@ -0,0 +1,52 @@ +/* + * 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.core.saml.v2.constants; + +import java.util.HashMap; +import java.util.Map; + +/** + * Encryption Algorithm and XMLEnC URI + * @author Anil.Saldhana(a)redhat.com + * @since Feb 4, 2009 + */ +public class JBossEncryptionConstants +{ + private static Map algoToXmlEncURL =3D new HashMap(); + = + static + { + algoToXmlEncURL.put("DESede", "http://www.w3.org/2001/04/xmlenc#kw-t= ripledes"); + algoToXmlEncURL.put("TRIPLEDES", "http://www.w3.org/2001/04/xmlenc#k= w-tripledes"); + = + algoToXmlEncURL.put("AES_128", "http://www.w3.org/2001/04/xmlenc#aes= 128-cbc"); + algoToXmlEncURL.put("AES_192", "http://www.w3.org/2001/04/xmlenc#aes= 192-cbc"); + algoToXmlEncURL.put("AES_256", "http://www.w3.org/2001/04/xmlenc#aes= 256-cbc"); + } = + = + public static String getURL(String algo, int keySize) + { + if(keySize =3D=3D 0) + return algoToXmlEncURL.get(algo); + return algoToXmlEncURL.get(algo+ "_" +keySize); + } +} Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/constants/JBossSAMLURIConstants.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/constants/JBossSAMLURIConstants.java 2009-02-= 09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/constants/JBossSAMLURIConstants.java 2009-02-= 09 03:43:49 UTC (rev 308) @@ -30,9 +30,11 @@ public enum JBossSAMLURIConstants = { AC_PASSWORD_PROTECTED_TRANSPORT("urn:oasis:names:tc:SAML:2.0:ac:classes= :PasswordProtectedTransport"), + ASSERTION_NSURI("urn:oasis:names:tc:SAML:2.0:assertion"), ATTRIBUTE_FORMAT_BASIC("urn:oasis:names:tc:SAML:2.0:attrname-format:bas= ic"), = NAMEID_FORMAT_TRANSIENT("urn:oasis:names:tc:SAML:2.0:nameid-format:tran= sient"), NAMEID_FORMAT_PERSISTENT("urn:oasis:names:tc:SAML:2.0:nameid-format:per= sistent"), + PROTOCOL_NSURI("urn:oasis:names:tc:SAML:2.0:protocol"), SIGNATURE_DSA_SHA1("http://www.w3.org/2000/09/xmldsig#dsa-sha1"), SIGNATURE_RSA_SHA1("http://www.w3.org/2000/09/xmldsig#rsa-sha1"), SUBJECT_CONFIRMATION_BEARER("urn:oasis:names:tc:SAML:2.0:cm:bearer"), @@ -42,7 +44,10 @@ STATUS_SUCCESS("urn:oasis:names:tc:SAML:2.0:status:Success"), STATUS_VERSION_MISMATCH("urn:oasis:names:tc:SAML:2.0:status:VersionMism= atch"), TRANSFORM_ENVELOPED_SIGNATURE("http://www.w3.org/2000/09/xmldsig#envelo= ped-signature"), - TRANSFORM_C14N_EXCL_OMIT_COMMENTS("http://www.w3.org/2001/10/xml-exc-c1= 4n#WithComments"); + TRANSFORM_C14N_EXCL_OMIT_COMMENTS("http://www.w3.org/2001/10/xml-exc-c1= 4n#WithComments"), + XMLSCHEMA_NSURI("http://www.w3.org/2001/XMLSchema"), + XMLDSIG_NSURI("http://www.w3.org/2000/09/xmldsig#"), + XMLENC_NSURI("http://www.w3.org/2001/04/xmlenc#"); = private String uri =3D null; = Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/factories/JBossSAMLAuthnResponseFactory= .java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/JBossSAMLAuthnResponseFactory.java = 2009-02-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/JBossSAMLAuthnResponseFactory.java = 2009-02-09 03:43:49 UTC (rev 308) @@ -46,7 +46,7 @@ */ public class JBossSAMLAuthnResponseFactory { - private static String pkgName =3D "org.jboss.identity.federation.saml.v= 2.protocol:org.jboss.identity.xmlsec.w3.xmldsig"; + private static String pkgName =3D "org.jboss.identity.federation.saml.v= 2.protocol:org.jboss.identity.xmlsec.w3.xmldsig:org.jboss.identity.xmlsec.w= 3.xmlenc"; private static String schemaLocation =3D "schema/saml/v2/saml-schema-pr= otocol-2.0.xsd"; = /** @@ -74,38 +74,11 @@ * @throws Exception */ public static ResponseType createResponseType(String ID, SPInfoHolder s= p, IDPInfoHolder idp, IssuerInfoHolder issuerInfo) throws Exception - { - /*ResponseType responseType =3D protocolObjectFactory.createResponse= Type(); - responseType.setVersion(issuerInfo.getSamlVersion()); - = - //ID - responseType.setID(ID); - //InResponseTo ID - responseType.setInResponseTo(sp.getRequestID()); - //Destination + { = String responseDestinationURI =3D sp.getResponseDestinationURI(); - responseType.setDestination(responseDestinationURI); = - //Issuer = - NameIDType issuer =3D issuerInfo.getIssuer(); - responseType.setIssuer(issuer); - = - //Status - String statusCode =3D issuerInfo.getStatusCode(); - if(statusCode =3D=3D null) - throw new IllegalArgumentException("issuerInfo missing status cod= e"); - = - responseType.setStatus(createStatusType(statusCode) ); - = XMLGregorianCalendar issueInstant =3D XMLTimeUtil.getIssueInstant(); = = - //IssueInstant - responseType.setIssueInstant(issueInstant);*/ - = - String responseDestinationURI =3D sp.getResponseDestinationURI(); - = - XMLGregorianCalendar issueInstant =3D XMLTimeUtil.getIssueInstant(); = - = //Create an assertion AssertionType assertionType =3D JBossSAMLBaseFactory.createAssertion= (); assertionType.setID("ID_" + JBossSAMLBaseFactory.createUUID()); @@ -172,8 +145,8 @@ = //IssueInstant responseType.setIssueInstant(issueInstant); - = - responseType.getAssertionOrEncryptedAssertion().add(assertionType); + = + responseType.getAssertionOrEncryptedAssertion().add(assertionType); = return responseType; = } = Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/factories/SAMLProtocolFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/SAMLProtocolFactory.java 2009-02-09= 03:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/SAMLProtocolFactory.java 2009-02-09= 03:43:49 UTC (rev 308) @@ -32,9 +32,9 @@ public class SAMLProtocolFactory { private static ObjectFactory factory =3D new ObjectFactory(); - = + = public static ObjectFactory getObjectFactory() { return factory; - } + } = } \ No newline at end of file Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/util/DocumentUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/util/DocumentUtil.java 2009-02-09 03:41:50 UT= C (rev 307) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/util/DocumentUtil.java 2009-02-09 03:43:49 UT= C (rev 308) @@ -24,8 +24,13 @@ import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.InputStream; +import java.io.Reader; +import java.io.StringReader; import java.io.StringWriter; = +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.transform.OutputKeys; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; @@ -34,6 +39,9 @@ import javax.xml.transform.stream.StreamResult; = import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.xml.sax.InputSource; = /** * Utility dealing with DOM @@ -42,31 +50,99 @@ */ public class DocumentUtil { + /** + * Create a new document + * @return + * @throws Exception + */ + public static Document createDocument() throws Exception + { + DocumentBuilderFactory factory =3D DocumentBuilderFactory.newInstanc= e(); + DocumentBuilder builder =3D factory.newDocumentBuilder(); + return builder.newDocument(); = + } + = + /** + * Parse a document from the string + * @param docString + * @return + * @throws Exception + */ + public static Document getDocument(String docString) throws Exception + { + return getDocument(new StringReader(docString)); + } + = + /** + * Parse a document from a reader + * @param reader + * @return + * @throws Exception + */ + public static Document getDocument(Reader reader) throws Exception + { + DocumentBuilderFactory factory =3D DocumentBuilderFactory.newInstanc= e(); + DocumentBuilder builder =3D factory.newDocumentBuilder(); + return builder.parse(new InputSource(reader)); + } + = + /** + * Marshall a document into a String + * @param signedDoc + * @return + * @throws Exception + */ public static String getDocumentAsString(Document signedDoc) throws Exc= eption { Source source =3D new DOMSource(signedDoc); StringWriter sw =3D new StringWriter(); = Result streamResult =3D new StreamResult(sw); - // Write the DOM document to the file + // Write the DOM document to the stream Transformer xformer =3D TransformerFactory.newInstance().newTransform= er(); xformer.transform(source, streamResult); = return sw.toString(); } - = - public static InputStream getDocumentAsStream(Document signedDoc) throw= s Exception + = + /** + * Marshall a DOM Element as string + * @param element + * @return + * @throws Exception + */ + public static String getDOMElementAsString(Element element) throws Exce= ption { - Source source =3D new DOMSource(signedDoc); - ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); - = - Result streamResult =3D new StreamResult(baos); + Source source =3D new DOMSource(element); + StringWriter sw =3D new StringWriter(); + = + Result streamResult =3D new StreamResult(sw); // Write the DOM document to the file Transformer xformer =3D TransformerFactory.newInstance().newTransform= er(); xformer.transform(source, streamResult); = - ByteArrayInputStream bis =3D new ByteArrayInputStream(baos.toByteArra= y()); - = - return bis; - } = + return sw.toString(); + } + = + /** + * Stream a DOM Node as an input stream + * @param node + * @return + * @throws Exception + */ + public static InputStream getNodeAsStream(Node node) throws Exception + { + Source source =3D new DOMSource(node); + ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); + = + Result streamResult =3D new StreamResult(baos); + // Write the DOM document to the stream + Transformer transformer =3D TransformerFactory.newInstance().newTran= sformer(); = + transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes"= ); + transformer.transform(source, streamResult); + = + ByteArrayInputStream bis =3D new ByteArrayInputStream(baos.toByteArr= ay()); + = + return bis; + } = } \ No newline at end of file Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/util/JAXBElementMappingUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/util/JAXBElementMappingUtil.java 2009-02-09 0= 3:41:50 UTC (rev 307) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/util/JAXBElementMappingUtil.java 2009-02-09 0= 3:43:49 UTC (rev 308) @@ -23,10 +23,12 @@ = import javax.xml.bind.JAXBElement; = +import org.jboss.identity.federation.core.saml.v2.factories.SAMLAssertionF= actory; import org.jboss.identity.federation.core.saml.v2.factories.SAMLProtocolFa= ctory; import org.jboss.identity.federation.core.saml.v2.factories.SOAPFactory; import org.jboss.identity.federation.core.saml.v2.factories.XACMLStatement= Factory; import org.jboss.identity.federation.org.xmlsoap.schemas.soap.envelope.Env= elope; +import org.jboss.identity.federation.saml.v2.assertion.EncryptedElementTyp= e; import org.jboss.identity.federation.saml.v2.profiles.xacml.assertion.XACM= LAuthzDecisionStatementType; import org.jboss.identity.federation.saml.v2.protocol.ArtifactResolveType; import org.jboss.identity.federation.saml.v2.protocol.AssertionIDRequestTy= pe; @@ -85,16 +87,41 @@ throw new IllegalArgumentException("Unknown Type:"+requestAbstractTy= pe); = } = + /** + * Get the JAXBElement for an encrypted assertion + * @param encryptedAssertion + * @return + */ + public static JAXBElement get(EncryptedElementType encryptedAssertio= n) + { + return SAMLAssertionFactory.getObjectFactory().createEncryptedAssert= ion(encryptedAssertion); + } + = + /** + * Get the JAXBElement for response + * @param responseType + * @return + */ public static JAXBElement get(ResponseType responseType) { return SAMLProtocolFactory.getObjectFactory().createResponse(respons= eType); } = + /** + * Get the JAXBElement for a SOAP envelope + * @param envelope + * @return + */ public static JAXBElement get(Envelope envelope) { return SOAPFactory.getObjectFactory().createEnvelope(envelope); } = + /** + * Get the JAXBElement for an XACML authorization statement + * @param xacmlStatement + * @return + */ public static JAXBElement get(XACMLAuthzDecisionStatementType xacmlS= tatement) { return XACMLStatementFactory.getObjectFactory().createXACMLAuthzDeci= sionStatement(xacmlStatement); Added: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/= identity/federation/core/xmlenc/factories/XMLEncryptionFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/xmlenc/factories/XMLEncryptionFactory.java = (rev 0) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/xmlenc/factories/XMLEncryptionFactory.java 2009-02-09= 03:43:49 UTC (rev 308) @@ -0,0 +1,51 @@ +/* + * 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.core.xmlenc.factories; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.Marshaller; + +import org.jboss.identity.xmlsec.w3.xmlenc.ObjectFactory; + = + +/** + * Get the XML Encryption Model Object Factory + * @author Anil.Saldhana(a)redhat.com + * @since Feb 5, 2009 + */ +public class XMLEncryptionFactory +{ + private static ObjectFactory factory =3D new ObjectFactory(); + = + public static ObjectFactory getObjectFactory() + { + return factory; + } + = + public static Marshaller getMarshaller() throws Exception + { + JAXBContext jc =3D JAXBContext.newInstance("org.jboss.identity.xmlse= c.w3.xmlenc"); + Marshaller marshaller =3D jc.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8"); + return marshaller; + } +} \ No newline at end of file Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-09 03:41:50 UTC (rev 307) +++ identity-federation/trunk/pom.xml 2009-02-09 03:43:49 UTC (rev 308) @@ -20,7 +20,7 @@ identity-fed-core identity-fed-api identity-bindings - doc assembly + --===============8599605486149123253==-- From jboss-identity-commits at lists.jboss.org Sun Feb 8 22:46:01 2009 Content-Type: multipart/mixed; boundary="===============6431810317229172021==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r309 - identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/config. Date: Sun, 08 Feb 2009 22:45:54 -0500 Message-ID: --===============6431810317229172021== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-08 22:45:51 -0500 (Sun, 08 Feb 2009) New Revision: 309 Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/AuthPropertyType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/EncAlgoType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/EncryptionType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/IDPType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/KeyProviderType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/KeyValueType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/ProviderType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/SPType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/TrustType.java Removed: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/AuthProperty.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/IDP.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/KeyProvider.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/KeyValue.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/Provider.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/SP.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/Trust.java Log: config changes Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/AuthProperty.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/AuthProperty.java 2009-02-09 03:43:49 UTC = (rev 308) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/AuthProperty.java 2009-02-09 03:45:51 UTC = (rev 309) @@ -1,39 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.config; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for AuthProperty complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"AuthProperty">
- *   <complexContent>
- *     <extension base=3D"{urn:jboss:identity-federation:config:1.0}Key=
Value">
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "AuthProperty") -public class AuthProperty - extends KeyValue -{ - - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/AuthPropertyType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/AuthPropertyType.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/AuthPropertyType.java 2009-02-09 03:45:51 = UTC (rev 309) @@ -0,0 +1,39 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for AuthPropertyType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"AuthPropertyType">
+ *   <complexContent>
+ *     <extension base=3D"{urn:jboss:identity-federation:config:1.0}Key=
ValueType">
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "AuthPropertyType") +public class AuthPropertyType + extends KeyValueType +{ + + +} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/EncAlgoType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncAlgoType.java (= rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncAlgoType.java 2009-02-09 03:45:51 UTC (= rev 309) @@ -0,0 +1,59 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for EncAlgoType. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + *

+ *

+ * <simpleType name=3D"EncAlgoType">
+ *   <restriction base=3D"{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value=3D"AES"/>
+ *     <enumeration value=3D"DES"/>
+ *     <enumeration value=3D"DESede"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * = + */ +(a)XmlType(name =3D "EncAlgoType") +(a)XmlEnum +public enum EncAlgoType { + + AES("AES"), + DES("DES"), + @XmlEnumValue("DESede") + DE_SEDE("DESede"); + private final String value; + + EncAlgoType(String v) { + value =3D v; + } + + public String value() { + return value; + } + + public static EncAlgoType fromValue(String v) { + for (EncAlgoType c: EncAlgoType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/EncryptionType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncryptionType.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncryptionType.java 2009-02-09 03:45:51 UT= C (rev 309) @@ -0,0 +1,89 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for EncryptionType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"EncryptionType">
+ *   <complexContent>
+ *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name=3D"EncAlgo" type=3D"{urn:jboss:identity-federa=
tion:config:1.0}EncAlgoType"/>
+ *         <element name=3D"KeySize" type=3D"{http://www.w3.org/2001/XM=
LSchema}int"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "EncryptionType", propOrder =3D { + "encAlgo", + "keySize" +}) +public class EncryptionType { + + @XmlElement(name =3D "EncAlgo", required =3D true) + protected EncAlgoType encAlgo; + @XmlElement(name =3D "KeySize") + protected int keySize; + + /** + * Gets the value of the encAlgo property. + * = + * @return + * possible object is + * {@link EncAlgoType } + * = + */ + public EncAlgoType getEncAlgo() { + return encAlgo; + } + + /** + * Sets the value of the encAlgo property. + * = + * @param value + * allowed object is + * {@link EncAlgoType } + * = + */ + public void setEncAlgo(EncAlgoType value) { + this.encAlgo =3D value; + } + + /** + * Gets the value of the keySize property. + * = + */ + public int getKeySize() { + return keySize; + } + + /** + * Sets the value of the keySize property. + * = + */ + public void setKeySize(int value) { + this.keySize =3D value; + } + +} Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/IDP.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/IDP.java 2009-02-09 03:43:49 UTC (rev 308) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/IDP.java 2009-02-09 03:45:51 UTC (rev 309) @@ -1,107 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.config; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - * = - * IDP Type defines the configuration for an Identity - * Provider. - * = - * = - *

Java class for IDP complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"IDP">
- *   <complexContent>
- *     <extension base=3D"{urn:jboss:identity-federation:config:1.0}Pro=
vider">
- *       <attribute name=3D"AssertionValidity" type=3D"{http://www.w3.o=
rg/2001/XMLSchema}long" default=3D"5000" />
- *       <attribute name=3D"RoleGenerator" type=3D"{http://www.w3.org/2=
001/XMLSchema}string" default=3D"org.jboss.identity.federation.bindings.tom=
cat.TomcatRoleGenerator" />
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "IDP") -public class IDP - extends Provider -{ - - @XmlAttribute(name =3D "AssertionValidity") - protected Long assertionValidity; - @XmlAttribute(name =3D "RoleGenerator") - protected String roleGenerator; - - /** - * Gets the value of the assertionValidity property. - * = - * @return - * possible object is - * {@link Long } - * = - */ - public long getAssertionValidity() { - if (assertionValidity =3D=3D null) { - return 5000L; - } else { - return assertionValidity; - } - } - - /** - * Sets the value of the assertionValidity property. - * = - * @param value - * allowed object is - * {@link Long } - * = - */ - public void setAssertionValidity(Long value) { - this.assertionValidity =3D value; - } - - /** - * Gets the value of the roleGenerator property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getRoleGenerator() { - if (roleGenerator =3D=3D null) { - return "org.jboss.identity.federation.bindings.tomcat.TomcatRo= leGenerator"; - } else { - return roleGenerator; - } - } - - /** - * Sets the value of the roleGenerator property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setRoleGenerator(String value) { - this.roleGenerator =3D value; - } - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/IDPType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/IDPType.java (rev = 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/IDPType.java 2009-02-09 03:45:51 UTC (rev = 309) @@ -0,0 +1,170 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.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.XmlType; + + +/** + * = + * IDP Type defines the configuration for an Identity + * Provider. + * = + * = + *

Java class for IDPType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"IDPType">
+ *   <complexContent>
+ *     <extension base=3D"{urn:jboss:identity-federation:config:1.0}Pro=
viderType">
+ *       <sequence>
+ *         <element name=3D"Encryption" type=3D"{urn:jboss:identity-fed=
eration:config:1.0}EncryptionType" minOccurs=3D"0"/>
+ *       </sequence>
+ *       <attribute name=3D"AssertionValidity" type=3D"{http://www.w3.o=
rg/2001/XMLSchema}long" default=3D"300000" />
+ *       <attribute name=3D"RoleGenerator" type=3D"{http://www.w3.org/2=
001/XMLSchema}string" default=3D"org.jboss.identity.federation.bindings.tom=
cat.TomcatRoleGenerator" />
+ *       <attribute name=3D"Encrypt" type=3D"{http://www.w3.org/2001/XM=
LSchema}boolean" default=3D"false" />
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "IDPType", propOrder =3D { + "encryption" +}) +public class IDPType + extends ProviderType +{ + + @XmlElement(name =3D "Encryption") + protected EncryptionType encryption; + @XmlAttribute(name =3D "AssertionValidity") + protected Long assertionValidity; + @XmlAttribute(name =3D "RoleGenerator") + protected String roleGenerator; + @XmlAttribute(name =3D "Encrypt") + protected Boolean encrypt; + + /** + * Gets the value of the encryption property. + * = + * @return + * possible object is + * {@link EncryptionType } + * = + */ + public EncryptionType getEncryption() { + return encryption; + } + + /** + * Sets the value of the encryption property. + * = + * @param value + * allowed object is + * {@link EncryptionType } + * = + */ + public void setEncryption(EncryptionType value) { + this.encryption =3D value; + } + + /** + * Gets the value of the assertionValidity property. + * = + * @return + * possible object is + * {@link Long } + * = + */ + public long getAssertionValidity() { + if (assertionValidity =3D=3D null) { + return 300000L; + } else { + return assertionValidity; + } + } + + /** + * Sets the value of the assertionValidity property. + * = + * @param value + * allowed object is + * {@link Long } + * = + */ + public void setAssertionValidity(Long value) { + this.assertionValidity =3D value; + } + + /** + * Gets the value of the roleGenerator property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getRoleGenerator() { + if (roleGenerator =3D=3D null) { + return "org.jboss.identity.federation.bindings.tomcat.TomcatRo= leGenerator"; + } else { + return roleGenerator; + } + } + + /** + * Sets the value of the roleGenerator property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setRoleGenerator(String value) { + this.roleGenerator =3D value; + } + + /** + * Gets the value of the encrypt property. + * = + * @return + * possible object is + * {@link Boolean } + * = + */ + public boolean isEncrypt() { + if (encrypt =3D=3D null) { + return false; + } else { + return encrypt; + } + } + + /** + * Sets the value of the encrypt property. + * = + * @param value + * allowed object is + * {@link Boolean } + * = + */ + public void setEncrypt(Boolean value) { + this.encrypt =3D value; + } + +} Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/KeyProvider.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyProvider.java 2009-02-09 03:43:49 UTC (= rev 308) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyProvider.java 2009-02-09 03:45:51 UTC (= rev 309) @@ -1,169 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.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.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * = - * Source of the Signing and Validating Key - * = - * = - *

Java class for KeyProvider complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"KeyProvider">
- *   <complexContent>
- *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name=3D"Auth" type=3D"{urn:jboss:identity-federatio=
n:config:1.0}AuthProperty" maxOccurs=3D"unbounded" minOccurs=3D"0"/>
- *         <element name=3D"ValidatingAlias" type=3D"{urn:jboss:identit=
y-federation:config:1.0}KeyValue" maxOccurs=3D"unbounded" minOccurs=3D"0"/>
- *         <element name=3D"SigningAlias" type=3D"{http://www.w3.org/20=
01/XMLSchema}string" minOccurs=3D"0"/>
- *       </sequence>
- *       <attribute name=3D"ClassName" type=3D"{http://www.w3.org/2001/=
XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "KeyProvider", propOrder =3D { - "auth", - "validatingAlias", - "signingAlias" -}) -public class KeyProvider { - - @XmlElement(name =3D "Auth") - protected List auth; - @XmlElement(name =3D "ValidatingAlias") - protected List validatingAlias; - @XmlElement(name =3D "SigningAlias") - protected String signingAlias; - @XmlAttribute(name =3D "ClassName") - protected String className; - - /** - * Gets the value of the auth property. - * = - *

- * 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 set method for the auth pro= perty. - * = - *

- * For example, to add a new item, do as follows: - *

-     *    getAuth().add(newItem);
-     * 
- * = - * = - *

- * Objects of the following type(s) are allowed in the list - * {@link AuthProperty } - * = - * = - */ - public List getAuth() { - if (auth =3D=3D null) { - auth =3D new ArrayList(); - } - return this.auth; - } - - /** - * Gets the value of the validatingAlias property. - * = - *

- * 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 set method for the validati= ngAlias property. - * = - *

- * For example, to add a new item, do as follows: - *

-     *    getValidatingAlias().add(newItem);
-     * 
- * = - * = - *

- * Objects of the following type(s) are allowed in the list - * {@link KeyValue } - * = - * = - */ - public List getValidatingAlias() { - if (validatingAlias =3D=3D null) { - validatingAlias =3D new ArrayList(); - } - return this.validatingAlias; - } - - /** - * Gets the value of the signingAlias property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getSigningAlias() { - return signingAlias; - } - - /** - * Sets the value of the signingAlias property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setSigningAlias(String value) { - this.signingAlias =3D value; - } - - /** - * Gets the value of the className property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getClassName() { - return className; - } - - /** - * Sets the value of the className property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setClassName(String value) { - this.className =3D value; - } - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/KeyProviderType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyProviderType.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyProviderType.java 2009-02-09 03:45:51 U= TC (rev 309) @@ -0,0 +1,169 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.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.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * = + * Source of the Signing and Validating Key + * = + * = + *

Java class for KeyProviderType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"KeyProviderType">
+ *   <complexContent>
+ *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name=3D"Auth" type=3D"{urn:jboss:identity-federatio=
n:config:1.0}AuthPropertyType" maxOccurs=3D"unbounded" minOccurs=3D"0"/>
+ *         <element name=3D"ValidatingAlias" type=3D"{urn:jboss:identit=
y-federation:config:1.0}KeyValueType" maxOccurs=3D"unbounded" minOccurs=3D"=
0"/>
+ *         <element name=3D"SigningAlias" type=3D"{http://www.w3.org/20=
01/XMLSchema}string" minOccurs=3D"0"/>
+ *       </sequence>
+ *       <attribute name=3D"ClassName" type=3D"{http://www.w3.org/2001/=
XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "KeyProviderType", propOrder =3D { + "auth", + "validatingAlias", + "signingAlias" +}) +public class KeyProviderType { + + @XmlElement(name =3D "Auth") + protected List auth; + @XmlElement(name =3D "ValidatingAlias") + protected List validatingAlias; + @XmlElement(name =3D "SigningAlias") + protected String signingAlias; + @XmlAttribute(name =3D "ClassName") + protected String className; + + /** + * Gets the value of the auth property. + * = + *

+ * 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 set method for the auth pro= perty. + * = + *

+ * For example, to add a new item, do as follows: + *

+     *    getAuth().add(newItem);
+     * 
+ * = + * = + *

+ * Objects of the following type(s) are allowed in the list + * {@link AuthPropertyType } + * = + * = + */ + public List getAuth() { + if (auth =3D=3D null) { + auth =3D new ArrayList(); + } + return this.auth; + } + + /** + * Gets the value of the validatingAlias property. + * = + *

+ * 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 set method for the validati= ngAlias property. + * = + *

+ * For example, to add a new item, do as follows: + *

+     *    getValidatingAlias().add(newItem);
+     * 
+ * = + * = + *

+ * Objects of the following type(s) are allowed in the list + * {@link KeyValueType } + * = + * = + */ + public List getValidatingAlias() { + if (validatingAlias =3D=3D null) { + validatingAlias =3D new ArrayList(); + } + return this.validatingAlias; + } + + /** + * Gets the value of the signingAlias property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getSigningAlias() { + return signingAlias; + } + + /** + * Sets the value of the signingAlias property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setSigningAlias(String value) { + this.signingAlias =3D value; + } + + /** + * Gets the value of the className property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getClassName() { + return className; + } + + /** + * Sets the value of the className property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setClassName(String value) { + this.className =3D value; + } + +} Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/KeyValue.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyValue.java 2009-02-09 03:43:49 UTC (rev= 308) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyValue.java 2009-02-09 03:45:51 UTC (rev= 309) @@ -1,96 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.config; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for KeyValue complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"KeyValue">
- *   <complexContent>
- *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
- *       <attribute name=3D"Key" type=3D"{http://www.w3.org/2001/XMLSch=
ema}string" />
- *       <attribute name=3D"Value" type=3D"{http://www.w3.org/2001/XMLS=
chema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "KeyValue") -(a)XmlSeeAlso({ - AuthProperty.class -}) -public class KeyValue { - - @XmlAttribute(name =3D "Key") - protected String key; - @XmlAttribute(name =3D "Value") - protected String value; - - /** - * Gets the value of the key property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setKey(String value) { - this.key =3D value; - } - - /** - * Gets the value of the value property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setValue(String value) { - this.value =3D value; - } - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/KeyValueType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyValueType.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyValueType.java 2009-02-09 03:45:51 UTC = (rev 309) @@ -0,0 +1,96 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for KeyValueType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"KeyValueType">
+ *   <complexContent>
+ *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name=3D"Key" type=3D"{http://www.w3.org/2001/XMLSch=
ema}string" />
+ *       <attribute name=3D"Value" type=3D"{http://www.w3.org/2001/XMLS=
chema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "KeyValueType") +(a)XmlSeeAlso({ + AuthPropertyType.class +}) +public class KeyValueType { + + @XmlAttribute(name =3D "Key") + protected String key; + @XmlAttribute(name =3D "Value") + protected String value; + + /** + * Gets the value of the key property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setKey(String value) { + this.key =3D value; + } + + /** + * Gets the value of the value property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setValue(String value) { + this.value =3D value; + } + +} Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/Provider.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/Provider.java 2009-02-09 03:43:49 UTC (rev= 308) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/Provider.java 2009-02-09 03:45:51 UTC (rev= 309) @@ -1,132 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.config; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - * Base Type for IDP and SP - * = - *

Java class for Provider complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"Provider">
- *   <complexContent>
- *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name=3D"IdentityURL" type=3D"{http://www.w3.org/200=
1/XMLSchema}string"/>
- *         <element name=3D"Trust" type=3D"{urn:jboss:identity-federati=
on:config:1.0}Trust"/>
- *         <element name=3D"KeyProvider" type=3D"{urn:jboss:identity-fe=
deration:config:1.0}KeyProvider" minOccurs=3D"0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "Provider", propOrder =3D { - "identityURL", - "trust", - "keyProvider" -}) -(a)XmlSeeAlso({ - IDP.class, - SP.class -}) -public class Provider { - - @XmlElement(name =3D "IdentityURL", required =3D true) - protected String identityURL; - @XmlElement(name =3D "Trust") - protected Trust trust; - @XmlElement(name =3D "KeyProvider") - protected KeyProvider keyProvider; - - /** - * Gets the value of the identityURL property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getIdentityURL() { - return identityURL; - } - - /** - * Sets the value of the identityURL property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setIdentityURL(String value) { - this.identityURL =3D value; - } - - /** - * Gets the value of the trust property. - * = - * @return - * possible object is - * {@link Trust } - * = - */ - public Trust getTrust() { - return trust; - } - - /** - * Sets the value of the trust property. - * = - * @param value - * allowed object is - * {@link Trust } - * = - */ - public void setTrust(Trust value) { - this.trust =3D value; - } - - /** - * Gets the value of the keyProvider property. - * = - * @return - * possible object is - * {@link KeyProvider } - * = - */ - public KeyProvider getKeyProvider() { - return keyProvider; - } - - /** - * Sets the value of the keyProvider property. - * = - * @param value - * allowed object is - * {@link KeyProvider } - * = - */ - public void setKeyProvider(KeyProvider value) { - this.keyProvider =3D value; - } - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/ProviderType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ProviderType.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ProviderType.java 2009-02-09 03:45:51 UTC = (rev 309) @@ -0,0 +1,132 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * Base Type for IDP and SP + * = + *

Java class for ProviderType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"ProviderType">
+ *   <complexContent>
+ *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name=3D"IdentityURL" type=3D"{http://www.w3.org/200=
1/XMLSchema}string"/>
+ *         <element name=3D"Trust" type=3D"{urn:jboss:identity-federati=
on:config:1.0}TrustType" minOccurs=3D"0"/>
+ *         <element name=3D"KeyProvider" type=3D"{urn:jboss:identity-fe=
deration:config:1.0}KeyProviderType" minOccurs=3D"0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "ProviderType", propOrder =3D { + "identityURL", + "trust", + "keyProvider" +}) +(a)XmlSeeAlso({ + IDPType.class, + SPType.class +}) +public class ProviderType { + + @XmlElement(name =3D "IdentityURL", required =3D true) + protected String identityURL; + @XmlElement(name =3D "Trust") + protected TrustType trust; + @XmlElement(name =3D "KeyProvider") + protected KeyProviderType keyProvider; + + /** + * Gets the value of the identityURL property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getIdentityURL() { + return identityURL; + } + + /** + * Sets the value of the identityURL property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setIdentityURL(String value) { + this.identityURL =3D value; + } + + /** + * Gets the value of the trust property. + * = + * @return + * possible object is + * {@link TrustType } + * = + */ + public TrustType getTrust() { + return trust; + } + + /** + * Sets the value of the trust property. + * = + * @param value + * allowed object is + * {@link TrustType } + * = + */ + public void setTrust(TrustType value) { + this.trust =3D value; + } + + /** + * Gets the value of the keyProvider property. + * = + * @return + * possible object is + * {@link KeyProviderType } + * = + */ + public KeyProviderType getKeyProvider() { + return keyProvider; + } + + /** + * Sets the value of the keyProvider property. + * = + * @param value + * allowed object is + * {@link KeyProviderType } + * = + */ + public void setKeyProvider(KeyProviderType value) { + this.keyProvider =3D value; + } + +} Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/SP.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/SP.java 2009-02-09 03:43:49 UTC (rev 308) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/SP.java 2009-02-09 03:45:51 UTC (rev 309) @@ -1,73 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.config; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * Service Provider Type - * = - *

Java class for SP complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"SP">
- *   <complexContent>
- *     <extension base=3D"{urn:jboss:identity-federation:config:1.0}Pro=
vider">
- *       <sequence>
- *         <element name=3D"ServiceURL" type=3D"{http://www.w3.org/2001=
/XMLSchema}string"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "SP", propOrder =3D { - "serviceURL" -}) -public class SP - extends Provider -{ - - @XmlElement(name =3D "ServiceURL", required =3D true) - protected String serviceURL; - - /** - * Gets the value of the serviceURL property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getServiceURL() { - return serviceURL; - } - - /** - * Sets the value of the serviceURL property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setServiceURL(String value) { - this.serviceURL =3D value; - } - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/SPType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/SPType.java (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/SPType.java 2009-02-09 03:45:51 UTC (rev 3= 09) @@ -0,0 +1,73 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Service Provider Type + * = + *

Java class for SPType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"SPType">
+ *   <complexContent>
+ *     <extension base=3D"{urn:jboss:identity-federation:config:1.0}Pro=
viderType">
+ *       <sequence>
+ *         <element name=3D"ServiceURL" type=3D"{http://www.w3.org/2001=
/XMLSchema}string"/>
+ *       </sequence>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "SPType", propOrder =3D { + "serviceURL" +}) +public class SPType + extends ProviderType +{ + + @XmlElement(name =3D "ServiceURL", required =3D true) + protected String serviceURL; + + /** + * Gets the value of the serviceURL property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getServiceURL() { + return serviceURL; + } + + /** + * Sets the value of the serviceURL property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setServiceURL(String value) { + this.serviceURL =3D value; + } + +} Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/config/Trust.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/Trust.java 2009-02-09 03:43:49 UTC (rev 30= 8) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/Trust.java 2009-02-09 03:45:51 UTC (rev 30= 9) @@ -1,71 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = -// See http://java.sun.com/xml/ja= xb = -// Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.01.22 at 12:05:50 AM CST = -// - - -package org.jboss.identity.federation.bindings.config; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * Aspects involved in trust decisions such as the domains that the IDP or= the Service Provider trusts. - * = - *

Java class for Trust complex type. - * = - *

The following schema fragment specifies the expected content contain= ed within this class. - * = - *

- * <complexType name=3D"Trust">
- *   <complexContent>
- *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name=3D"Domains" type=3D"{http://www.w3.org/2001/XM=
LSchema}string"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * = - * = - */ -(a)XmlAccessorType(XmlAccessType.FIELD) -(a)XmlType(name =3D "Trust", propOrder =3D { - "domains" -}) -public class Trust { - - @XmlElement(name =3D "Domains", required =3D true) - protected String domains; - - /** - * Gets the value of the domains property. - * = - * @return - * possible object is - * {@link String } - * = - */ - public String getDomains() { - return domains; - } - - /** - * Sets the value of the domains property. - * = - * @param value - * allowed object is - * {@link String } - * = - */ - public void setDomains(String value) { - this.domains =3D value; - } - -} Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/config/TrustType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/TrustType.java (re= v 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/TrustType.java 2009-02-09 03:45:51 UTC (re= v 309) @@ -0,0 +1,71 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = +// See http://java.sun.com/xml/ja= xb = +// Any modifications to this file will be lost upon recompilation of the s= ource schema. = +// Generated on: 2009.02.04 at 09:20:44 PM CST = +// + + +package org.jboss.identity.federation.bindings.config; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Aspects involved in trust decisions such as the domains that the IDP or= the Service Provider trusts. + * = + *

Java class for TrustType complex type. + * = + *

The following schema fragment specifies the expected content contain= ed within this class. + * = + *

+ * <complexType name=3D"TrustType">
+ *   <complexContent>
+ *     <restriction base=3D"{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name=3D"Domains" type=3D"{http://www.w3.org/2001/XM=
LSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * = + * = + */ +(a)XmlAccessorType(XmlAccessType.FIELD) +(a)XmlType(name =3D "TrustType", propOrder =3D { + "domains" +}) +public class TrustType { + + @XmlElement(name =3D "Domains", required =3D true) + protected String domains; + + /** + * Gets the value of the domains property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getDomains() { + return domains; + } + + /** + * Sets the value of the domains property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setDomains(String value) { + this.domains =3D value; + } + +} --===============6431810317229172021==-- From jboss-identity-commits at lists.jboss.org Mon Feb 9 00:17:32 2009 Content-Type: multipart/mixed; boundary="===============0654771232177378492==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r310 - in identity-federation/trunk: identity-fed-model and 1 other directories. Date: Mon, 09 Feb 2009 00:17:32 -0500 Message-ID: --===============0654771232177378492== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-09 00:17:32 -0500 (Mon, 09 Feb 2009) New Revision: 310 Modified: identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/parent/pom.xml Log: update dependencies Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-09 03:45:51 = UTC (rev 309) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-09 05:17:32 = UTC (rev 310) @@ -68,6 +68,10 @@ 1.0 + org.apache + xmlsec + + sun-jaf activation 1.1 Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-09 03:45:5= 1 UTC (rev 309) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-09 05:17:3= 2 UTC (rev 310) @@ -58,7 +58,7 @@ log4j - apache-xmlsec + org.apache xmlsec @@ -66,14 +66,18 @@ commons-logging-api - org.jboss.security - jboss-xacml-saml + sun-jaxb + jaxb-api sun-jaxb - jaxb-api + jaxb-impl + org.jboss.security + jbossxacml + + stax stax-api 1.0 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-09 03:45:51 UTC (rev 3= 09) +++ identity-federation/trunk/parent/pom.xml 2009-02-09 05:17:32 UTC (rev 3= 10) @@ -101,9 +101,9 @@ 1.2.14 - apache-xmlsec + org.apache xmlsec - 1.3.0 + 1.4.1 apache-logging @@ -111,11 +111,6 @@ 1.0.3 - org.jboss.security - jboss-xacml-saml - 2.0.3.alpha - - javax.persistence persistence-api 1.0 @@ -125,6 +120,16 @@ jaxb-api 2.1.9 + + sun-jaxb + jaxb-impl + 2.1.9 + + + org.jboss.security + jbossxacml + 2.0.3.CR1 + = --===============0654771232177378492==-- From jboss-identity-commits at lists.jboss.org Mon Feb 9 13:47:40 2009 Content-Type: multipart/mixed; boundary="===============2800179207940054898==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r311 - in identity-federation/trunk: identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss and 9 other directories. Date: Mon, 09 Feb 2009 13:47:40 -0500 Message-ID: --===============2800179207940054898== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sguilhen(a)redhat.com Date: 2009-02-09 13:47:40 -0500 (Mon, 09 Feb 2009) New Revision: 311 Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/trust/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/trust/JBossRequestHandler.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/trust/JBossSTS.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/STSConfiguration.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/SecurityToken.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/SecurityTokenProvider.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/SecurityTokenService.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustConstants.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustException.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustJAXBFactory.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustRequestContext.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustRequestHandler.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustServiceFactory.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustUtil.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/BaseRequestSecurityToken.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/BaseRequestSecurityTokenResponse.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/RequestSecurityToken.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/RequestSecurityTokenCollection.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/RequestSecurityTokenResponse.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/protocol/RequestSecurityTokenResponseCollection.= java Modified: 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-api/pom.xml 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-fed-model/src/test/java/org/jboss/tes= t/identity/federation/ws/trust/UnmarshallingTestCase.java identity-federation/trunk/identity-xmlsecmodel/.classpath identity-federation/trunk/identity-xmlsecmodel/.project Log: Adding initial WS-Trust implementation classes. Modified: identity-federation/trunk/identity-bindings/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/.classpath 2009-02-09 05:17= :32 UTC (rev 310) +++ identity-federation/trunk/identity-bindings/.classpath 2009-02-09 18:47= :40 UTC (rev 311) @@ -1,27 +1,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Modified: identity-federation/trunk/identity-bindings/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/.project 2009-02-09 05:17:3= 2 UTC (rev 310) +++ identity-federation/trunk/identity-bindings/.project 2009-02-09 18:47:4= 0 UTC (rev 311) @@ -1,17 +1,18 @@ - - identity-bindings - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + jboss-identity-bindings + JBoss Identity OpenSAML contains the foundation for Federated I= dentity Needs. + + jboss-identity-fed-api + jboss-identity-fed-core + jboss-identity-fed-model + jboss-identity-xmlsec-model + + + + org.eclipse.jdt.core.javabuilder + + + + org.eclipse.jdt.core.javanature + + \ No newline at end of file Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/jboss/trust/JBossRequestHandler.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/trust/JBossRequestHandler.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/trust/JBossRequestHandler.java 2009-02-09 1= 8:47:40 UTC (rev 311) @@ -0,0 +1,155 @@ +/* + * 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.RequestSecurityT= oken; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponse; +import org.jboss.identity.federation.ws.policy.AppliesTo; +import org.jboss.identity.federation.ws.trust.RequestedSecurityTokenType; + +/** + *

+ * 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 releva= nt to the token processing, and delegates the + * actual token handling processing to the appropriate {@code SecurityToke= nProvider}. + *

+ * = + * @author Stefan Guilhen + */ +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 =3D configuration; + } + + /* + * (non-Javadoc) + * = + * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler= #issue(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTo= ken, + * javax.xml.ws.handler.MessageContext) + */ + public RequestSecurityTokenResponse issue(RequestSecurityToken request,= MessageContext context) + throws WSTrustException + { + SecurityTokenProvider provider =3D null; + = + // first try to obtain the security token provider using the applies= -to contents. + AppliesTo appliesTo =3D request.getAppliesTo(); + if(appliesTo !=3D null) + { + String serviceName =3D WSTrustUtil.parseAppliesTo(appliesTo); + if(serviceName !=3D null) + provider =3D this.configuration.getProviderForService(serviceN= ame); + } + // if applies-to is not available or if no provider was found for th= e service, use the token type. + else if(request.getTokenType() !=3D null && provider =3D=3D null) + { + provider =3D this.configuration.getProviderForTokenType(request.g= etTokenType().toString()); + } + else if(request.getTokenType() =3D=3D null) + throw new WSTrustException("Either AppliesTo or TokenType must be= present in a security token request"); + = + if(provider !=3D null) + { + // create the request context and delegate token generation to th= e provider. + WSTrustRequestContext requestContext =3D new WSTrustRequestContex= t(request); + = + // TODO: add a lifetime to the request when one hasn't been speci= fied. = + provider.issueToken(requestContext); + = + // construct the ws-trust security token response. + RequestedSecurityTokenType requestedSecurityToken =3D new Request= edSecurityTokenType(); + requestedSecurityToken.setAny(requestContext.getSecurityToken()); + = + // TODO: create proof token and encrypt the token if needed + = + RequestSecurityTokenResponse response =3D new RequestSecurityToke= nResponse(); + if(request.getContext() !=3D null) + response.setContext(request.getContext()); + = + // TODO: obtain the token type even when the request doesn't have= one. + response.setTokenType(request.getTokenType()); + response.setAppliesTo(appliesTo); + response.setRequestedSecurityToken(requestedSecurityToken); + return response; + } + else + throw new WSTrustException("Unable to find a token provider for t= he token request"); + } + + /* + * (non-Javadoc) + * = + * @see org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler= #renew(org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityTo= ken, + * 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.RequestSecurit= yToken, + * javax.xml.ws.handler.MessageContext) + */ + public RequestSecurityTokenResponse validate(RequestSecurityToken reque= st, 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.RequestSecurityT= oken, + * 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-bindings/src/main/java/org/jboss/= identity/federation/bindings/jboss/trust/JBossSTS.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/trust/JBossSTS.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/trust/JBossSTS.java 2009-02-09 18:47:40 UTC= (rev 311) @@ -0,0 +1,163 @@ +/* + * 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.annotation.Resource; +import javax.xml.transform.Source; +import javax.xml.ws.Service; +import javax.xml.ws.ServiceMode; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceProvider; + +import org.jboss.identity.federation.api.wstrust.STSConfiguration; +import org.jboss.identity.federation.api.wstrust.SecurityTokenService; +import org.jboss.identity.federation.api.wstrust.WSTrustConstants; +import org.jboss.identity.federation.api.wstrust.WSTrustException; +import org.jboss.identity.federation.api.wstrust.WSTrustJAXBFactory; +import org.jboss.identity.federation.api.wstrust.WSTrustRequestHandler; +import org.jboss.identity.federation.api.wstrust.WSTrustServiceFactory; +import org.jboss.identity.federation.api.wstrust.protocol.BaseRequestSecur= ityToken; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= oken; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenCollection; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponse; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponseCollection; + +/** + *

+ * Default implementation of the {@code SecurityTokenService} interface. + *

+ * = + * @author Stefan Guilhen + */ +(a)WebServiceProvider +(a)ServiceMode(value =3D Service.Mode.PAYLOAD) +public class JBossSTS implements SecurityTokenService +{ + + @Resource + protected WebServiceContext context; + + /* + * (non-Javadoc) + * = + * @see org.jboss.identity.federation.api.wstrust.SecurityTokenService#= invoke(javax.xml.transform.Source) + */ + public Source invoke(Source request) + { + BaseRequestSecurityToken baseRequest =3D WSTrustJAXBFactory.getInsta= nce().parseRequestSecurityToken(request); + if (baseRequest instanceof RequestSecurityToken) + return this.handleTokenRequest((RequestSecurityToken) baseRequest= ); + else if (baseRequest instanceof RequestSecurityTokenCollection) + return this.handleTokenRequestCollection((RequestSecurityTokenCol= lection) baseRequest); + else + throw new WebServiceException("Invalid security token request"); + } + + /** + *

+ * Process a security token request. + *

+ * = + * @param request a {@code RequestSecurityToken} instance that contains= the request information. + * @return a {@code Source} instance representing the marshalled respon= se. + */ + protected Source handleTokenRequest(RequestSecurityToken request) + { + WSTrustRequestHandler handler =3D WSTrustServiceFactory.getInstance(= ).createRequestHandler(this.getConfiguration()); + String requestType =3D request.getRequestType().toString(); + + try + { + if (requestType.equals(WSTrustConstants.ISSUE_REQUEST)) + return this.marshallResponse(handler.issue(request, this.conte= xt.getMessageContext())); + else if (requestType.equals(WSTrustConstants.RENEW_REQUEST)) + return this.marshallResponse(handler.renew(request, this.conte= xt.getMessageContext())); + else if (requestType.equals(WSTrustConstants.CANCEL_REQUEST)) + return this.marshallResponse(handler.cancel(request, this.cont= ext.getMessageContext())); + else if (requestType.equals(WSTrustConstants.VALIDATE_REQUEST)) + return this.marshallResponse(handler.validate(request, this.co= ntext.getMessageContext())); + else + throw new WSTrustException("Invalid request type: " + requestT= ype); + } + catch (WSTrustException we) + { + throw new WebServiceException(we.getMessage(), we); + } + } + + /** + *

+ * Process a collection of security token requests. + *

+ * = + * @param requestCollection a {@code RequestSecurityTokenCollection} co= ntaining the various requests information. + * @return a {@code Source} instance representing the marshalled respon= se. + */ + protected Source handleTokenRequestCollection(RequestSecurityTokenColle= ction requestCollection) + { + // TODO: implement multiple token request handling code. + return null; + } + + /** + *

+ * Marshalls the specified {@code RequestSecurityTokenResponse} into a = {@code Source} instance. + *

+ * = + * @param response the {@code RequestSecurityTokenResponse} to be marsh= alled. + * @return the resulting {@code Source} instance. + */ + protected Source marshallResponse(RequestSecurityTokenResponse response) + { + // add the single response to a RequestSecurityTokenResponse collect= ion, as per the specification. + RequestSecurityTokenResponseCollection responseCollection =3D new Re= questSecurityTokenResponseCollection(); + responseCollection.addRequestSecurityTokenResponse(response); + return this.marshallResponse(responseCollection); + } + + /** + *

+ * Marshalls the specified {@code RequestSecurityTokenResponseCollectio= n} into a {@code Source} instance. + *

+ * = + * @param responseCollection the {@code RequestSecurityTokenResponseCol= lection} to be marshalled. + * @return the resulting {@code Source} instance. + */ + protected Source marshallResponse(RequestSecurityTokenResponseCollectio= n responseCollection) + { + return WSTrustJAXBFactory.getInstance().marshallRequestSecurityToken= Response(responseCollection); + } + + /** + *

+ * Obtains the STS configuration options. + *

+ * = + * @return an instance of {@code STSConfiguration} containing the STS c= onfiguration properties. + */ + protected STSConfiguration getConfiguration() + { + // TODO: create the configuration instance. + return null; + } +} Modified: identity-federation/trunk/identity-fed-api/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/.classpath 2009-02-09 05:17:= 32 UTC (rev 310) +++ identity-federation/trunk/identity-fed-api/.classpath 2009-02-09 18:47:= 40 UTC (rev 311) @@ -1,17 +1,21 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-api/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/.project 2009-02-09 05:17:32= UTC (rev 310) +++ identity-federation/trunk/identity-fed-api/.project 2009-02-09 18:47:40= UTC (rev 311) @@ -1,17 +1,17 @@ - - identity-fed-api - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + jboss-identity-fed-api + JBoss Identity Federation API contains the API to be used by th= e users of JBoss Identity Federation. + + jboss-identity-fed-core + jboss-identity-fed-model + jboss-identity-xmlsec-model + + + + org.eclipse.jdt.core.javabuilder + + + + org.eclipse.jdt.core.javanature + + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-09 05:17:32 = UTC (rev 310) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-09 18:47:40 = UTC (rev 311) @@ -63,6 +63,11 @@ jaxb-api + sun-jaxws + jaxws-api + 2.1.1 + + stax stax-api 1.0 Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/STSConfiguration.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/STSConfiguration.java (= rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/STSConfiguration.java 2009-02-09 18:47:40 UTC (= rev 311) @@ -0,0 +1,99 @@ +/* + * 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.util.Map; + +/** + *

+ * The {@code STSConfiguration} interface allows access to the security to= ken service (STS) configuration attributes. + *

+ * = + * @author Stefan Guilhen + */ +public interface STSConfiguration +{ + + /** + *

+ * Obtains the unique name of the secure token service. + *

+ * = + * @return a {@code String} representing the STS name. + */ + public String getSTSName(); + + /** + *

+ * Indicates whether the issued token must be encrypted or not. + *

+ * = + * @return {@code true} if the issued token must be encrypted; {@code f= alse} otherwise. + */ + public boolean getEncryptIssuedToken(); + + /** + *

+ * Obtains the timeout value (in milliseconds) for issued tokens. + *

+ * = + * @return the token timeout value. + */ + public long getIssuedTokenTimeout(); + = + /** + *

+ * Given the name of a service provider, obtains the provider that must= be used when issuing tokens to clients of + * that service. When requesting a token to the STS, a client can speci= fy the service it needs the token for using + * the {@code AppliesTo} element. Based on the service provider name, t= he STS identifies the type of the token that + * is to be issued and then selects the appropriate token provider to h= andle the request. + *

+ * = + * @param serviceName the name of the service provider that requires a = token from its clients. + * @return a reference to the {@code SecurityTokenProvider} that must b= e used in order to issue tokens to clients of + * the specified service. + */ + public SecurityTokenProvider getProviderForService(String serviceName); + + /** + *

+ * Given a token type, obtains the token provider that should be used t= o handle token requests of that type. When a + * client doesn't specify the service provider name through the {@code = AppliesTo} element, it must specify the token + * type through the {@code TokenType} element. The STS uses the supplie= d type to select the appropriate token + * provider. + *

+ * = + * @param tokenType a {@code String} representing the type of the token. + * @return a reference to the {@code SecurityTokenProvider} that must b= e used to handle token requests of the + * specified type. + */ + public SecurityTokenProvider getProviderForTokenType(String tokenType); + + /** + *

+ * Obtains a {@code Map} that contains the non-standard configuration o= ptions. + *

+ * = + * @return a {@code Map} containing the additional conf= iguration options. + */ + public Map getOptions(); +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/SecurityToken.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/SecurityToken.java (rev= 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/SecurityToken.java 2009-02-09 18:47:40 UTC (rev= 311) @@ -0,0 +1,51 @@ +/* + * 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; + +/** + *

+ * Interface that represents a security token. + *

+ * = + * @author Stefan Guilhen + */ +public interface SecurityToken +{ + + /** + *

+ * Obtains the type of the security token. + *

+ * = + * @return a {@code String} representing the security token type. + */ + public String getTokenType(); + = + /** + *

+ * Obtains the value of the security token. + *

+ * = + * @return an {@code Object} representing the security token value. + */ + public Object getTokenValue(); +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/SecurityTokenProvider.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/SecurityTokenProvider.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/SecurityTokenProvider.java 2009-02-09 18:47:40 = UTC (rev 311) @@ -0,0 +1,76 @@ +/* + * 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; + +/** + *

+ * This interface defines the methods that must be implemented by security= token providers. + *

+ * = + * @author Stefan Guilhen + */ +public interface SecurityTokenProvider +{ + /** + *

+ * Generates a security token using the information contained in the sp= ecified request context and stores the + * newly-created token in the context itself. + *

+ * = + * @param context the {@code WSTrustRequestContext} to be used when gen= erating the token. + * @throws WSTrustException if an error occurs while creating the secur= ity token. + */ + public void issueToken(WSTrustRequestContext context) throws WSTrustExc= eption; + + /** + *

+ * Renews the security token contained in the specified request context= . This method is used when a previously + * generated token has expired, generating a new version of the same to= ken with different expiration semantics. + *

+ * = + * @param context the {@code WSTrustRequestContext} that contains the t= oken to be renewed. + * @throws WSTrustException if an error occurs while renewing the secur= ity token. + */ + public void renewToken(WSTrustRequestContext context) throws WSTrustExc= eption; + + /** + *

+ * Cancels the token contained in the specified request context. A secu= rity token is usually canceled when one wants + * to make sure that the token will not be used anymore. A security tok= en can't be renewed once it has been canceled. + *

+ * = + * @param context the {@code WSTrustRequestContext} that contains the t= oken to be canceled. + * @throws WSTrustException if an error occurs while canceling the secu= rity token. + */ + public void cancelToken(WSTrustRequestContext context) throws WSTrustEx= ception; + + /** + *

+ * Evaluates the validity of the token contained in the specified reque= st context and sets the result in the context + * itself. The result can be a status, a new token, or both. + *

+ * = + * @param context the {@code WSTrustRequestContext} that contains the t= oken to be validated. + * @throws WSTrustException if an error occurs while validating the sec= urity token. + */ + public void validateToken(WSTrustRequestContext context) throws WSTrust= Exception; +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/SecurityTokenService.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/SecurityTokenService.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/SecurityTokenService.java 2009-02-09 18:47:40 U= TC (rev 311) @@ -0,0 +1,43 @@ +/* + * 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.transform.Source; +import javax.xml.ws.Provider; + +/** + *

+ * The {@code SecurityTokenService} (STS) interface. It extends the {@code= Provider} interface so that it can be + * dynamically invoked (as opposed to having a service endpoint interface). + *

+ * = + * @author Stefan Guilhen + */ +public interface SecurityTokenService extends Provider +{ + /* + * (non-Javadoc) + * = + * @see javax.xml.ws.Provider#invoke(java.lang.Object) + */ + public Source invoke(Source request); +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustConstants.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustConstants.java (= rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustConstants.java 2009-02-09 18:47:40 UTC (= rev 311) @@ -0,0 +1,42 @@ +/* + * 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; + +/** + *

+ * This class defines the constants used throughout the WS-Trust implement= ation code. + *

+ * = + * @author Stefan Guilhen + */ +public class WSTrustConstants +{ + public final static String BASE_NAMESPACE =3D "http://docs.oasis-open.o= rg/ws-sx/ws-trust/200512"; + = + public final static String ISSUE_REQUEST =3D BASE_NAMESPACE + "/Issue"; + = + public final static String RENEW_REQUEST =3D BASE_NAMESPACE + "/Renew"; + = + public final static String CANCEL_REQUEST =3D BASE_NAMESPACE + "/Cancel= "; + = + public final static String VALIDATE_REQUEST =3D BASE_NAMESPACE + "/Vali= date"; +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustException.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustException.java (= rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustException.java 2009-02-09 18:47:40 UTC (= rev 311) @@ -0,0 +1,60 @@ +/* + * 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; + +/** + *

+ * Exception used to convey that an error has happened when handling a WS-= Trust request message. + *

+ * = + * @author Stefan Guilhen + */ +public class WSTrustException extends Exception +{ + + private static final long serialVersionUID =3D -232066282004315310L; + + /** + *

+ * Creates an instance of {@code WSTrustException} using the specified = error message. + *

+ * = + * @param message the error message. + */ + public WSTrustException(String message) + { + super(message); + } + = + /** + *

+ * Creates an instance of {@code WSTrustException} using the specified = error message and cause. + *

+ * = + * @param message the error message. + * @param cause a {@code Throwable} representing the cause of the error= . = + */ + public WSTrustException(String message, Throwable cause) + { + super(message, cause); + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustJAXBFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustJAXBFactory.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustJAXBFactory.java 2009-02-09 18:47:40 UTC= (rev 311) @@ -0,0 +1,227 @@ +/* + * 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.bind.JAXBContext; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.JAXBException; +import javax.xml.bind.Marshaller; +import javax.xml.bind.Unmarshaller; +import javax.xml.bind.util.JAXBSource; +import javax.xml.transform.Source; + +import org.jboss.identity.federation.api.wstrust.protocol.BaseRequestSecur= ityToken; +import org.jboss.identity.federation.api.wstrust.protocol.BaseRequestSecur= ityTokenResponse; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= oken; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenCollection; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponse; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponseCollection; +import org.jboss.identity.federation.ws.trust.ObjectFactory; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenCollecti= onType; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponse= CollectionType; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponse= Type; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenType; + +/** + *

+ * This factory implements utility methods for converting between JAXB mod= el objects and XML source. + *

+ * = + * @author Stefan Guilhen + */ +public class WSTrustJAXBFactory +{ + private static final WSTrustJAXBFactory instance =3D new WSTrustJAXBFac= tory(); + + private final JAXBContext context; + + private final ObjectFactory factory; + + /** + *

+ * Creates the {@code WSTrustJAXBFactory} singleton instance. + *

+ */ + private WSTrustJAXBFactory() + { + StringBuffer packages =3D new StringBuffer(); + packages.append("org.jboss.identity.federation.ws.addressing"); + packages.append(":org.jboss.identity.federation.ws.policy"); + packages.append(":org.jboss.identity.federation.ws.trust"); + packages.append(":org.jboss.identity.federation.ws.wss.secext"); + packages.append(":org.jboss.identity.federation.ws.wss.utility"); + try + { + this.context =3D JAXBContext.newInstance(packages.toString()); + this.factory =3D new ObjectFactory(); + } + catch (JAXBException e) + { + throw new RuntimeException(e.getMessage(), e); + } + } + + /** + *

+ * Gets a reference to the singleton instance. + *

+ * = + * @return a reference to the {@code WSTrustJAXBFactory} instance. + */ + public static WSTrustJAXBFactory getInstance() + { + return instance; + } + + /** + *

+ * Creates a {@code BaseRequestSecurityToken} from the specified XML so= urce. + *

+ * = + * @param request the XML source containing the security token request = message. + * @return the constructed {@code BaseRequestSecurityToken} instance. I= t will be an instance of + * {@code RequestSecurityToken} the message contains a single t= oken request, and an instance of + * {@code RequestSecurityTokenCollection} if multiples requests= are being made in the same message. + */ + public BaseRequestSecurityToken parseRequestSecurityToken(Source reques= t) + { + try + { + Unmarshaller unmarshaller =3D this.context.createUnmarshaller(); + JAXBElement element =3D (JAXBElement) unmarshaller.unmarsha= l(request); + // is this a single token request or a collection of token reques= ts + if (element.getDeclaredType().equals(RequestSecurityTokenType.cla= ss)) + return new RequestSecurityToken((RequestSecurityTokenType) ele= ment.getValue()); + else if (element.getDeclaredType().equals(RequestSecurityTokenCol= lectionType.class)) + return new RequestSecurityTokenCollection((RequestSecurityToke= nCollectionType) element.getValue()); + else + throw new RuntimeException("Invalid request type: " + element.= getDeclaredType()); + } + catch (Exception e) + { + throw new RuntimeException("Failed to unmarshall security token r= equest", e); + } + } + + /** + *

+ * Creates a {@code BaseRequestSecurityTokenResponse} from the specifie= d XML source. + *

+ * = + * @param response the XML source containing the security token respons= e message. + * @return the constructed {@code BaseRequestSecurityTokenResponse} ins= tance. It should return an instance of + * {@code RequestSecurityTokenResponseCollection} according to = the specification, but we allow a single + * response to be returned in the form of a {@code RequestSecur= ityTokenResponse} instance. + */ + public BaseRequestSecurityTokenResponse parseRequestSecurityTokenRespon= se(Source response) + { + try + { + Unmarshaller unmarshaller =3D this.context.createUnmarshaller(); + JAXBElement element =3D (JAXBElement) unmarshaller.unmarsha= l(response); + // is this a single token response or a collection of token respo= nses + if (element.getDeclaredType().equals(RequestSecurityTokenResponse= Type.class)) + return new RequestSecurityTokenResponse((RequestSecurityTokenR= esponseType) element.getValue()); + else if (element.getDeclaredType().equals(RequestSecurityTokenRes= ponseCollectionType.class)) + return new RequestSecurityTokenResponseCollection((RequestSecu= rityTokenResponseCollectionType) element + .getValue()); + else + throw new RuntimeException("Invalid response type: " + element= .getDeclaredType()); + } + catch (Exception e) + { + throw new RuntimeException("Failed to unmarshall security token r= esponse", e); + } + } + + /** + *

+ * Creates a {@code javax.xml.transform.Source} from the specified requ= est object. + *

+ * = + * @param request a {@code BaseRequestSecurityToken} representing the o= bject model of the security token request. + * @return the constructed {@code Source} instance. + */ + public Source marshallRequestSecurityToken(BaseRequestSecurityToken req= uest) + { + JAXBElement element =3D null; + if (request instanceof RequestSecurityToken) + { + RequestSecurityToken requestSecurityToken =3D (RequestSecurityTok= en) request; + element =3D this.factory.createRequestSecurityToken(requestSecuri= tyToken.getDelegate()); + } + else if (request instanceof RequestSecurityTokenCollection) + { + RequestSecurityTokenCollection collection =3D (RequestSecurityTok= enCollection) request; + element =3D this.factory.createRequestSecurityTokenCollection(col= lection.getDelegate()); + } + else + throw new RuntimeException("Failed to determine the type of the s= ecurity token request"); + + try + { + Marshaller marshaller =3D this.context.createMarshaller(); + return new JAXBSource(marshaller, element); + } + catch (JAXBException je) + { + throw new RuntimeException("Failed to marshall security token req= uest", je); + } + } + + /** + *

+ * Creates a {@code javax.xml.transform.Source} from the specified resp= onse object. + *

+ * = + * @param response a {@code BaseRequestSecurityTokenResponse} represent= ing the object model of the security token + * response. + * @return the constructed {@code Source} instance. + */ + public Source marshallRequestSecurityTokenResponse(BaseRequestSecurityT= okenResponse response) + { + JAXBElement element =3D null; + if (response instanceof RequestSecurityTokenResponse) + { + RequestSecurityTokenResponse requestSecurityTokenResponse =3D (Re= questSecurityTokenResponse) response; + element =3D this.factory.createRequestSecurityTokenResponse(reque= stSecurityTokenResponse.getDelegate()); + } + else if (response instanceof RequestSecurityTokenResponseCollection) + { + RequestSecurityTokenResponseCollection collection =3D (RequestSec= urityTokenResponseCollection) response; + element =3D this.factory.createRequestSecurityTokenResponseCollec= tion(collection.getDelegate()); + } + else + throw new RuntimeException("Failed to determine the type of the s= ecurity token response"); + + try + { + Marshaller marshaller =3D this.context.createMarshaller(); + return new JAXBSource(marshaller, element); + } + catch (JAXBException je) + { + throw new RuntimeException("Failed to marshall security token req= uest", je); + } + } + +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustRequestContext.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustRequestContext.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustRequestContext.java 2009-02-09 18:47:40 = UTC (rev 311) @@ -0,0 +1,89 @@ +/* + * 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 org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= oken; + +/** + *

+ * The {@code WSTrustRequestContext} contains all the information that is = relevant for the security token request + * processing. + *

+ * = + * @author Stefan Guilhen + */ +public class WSTrustRequestContext +{ + + private final RequestSecurityToken request; + + private SecurityToken securityToken; + = + /** + *

+ * Creates an instance of {@code WSTrustRequestContext} using the speci= fied request. + *

+ * = + * @param request a {@code RequestSecurityToken} object that contains t= he information about the security token + * request. + */ + public WSTrustRequestContext(RequestSecurityToken request) + { + this.request =3D request; + } + + /** + *

+ * Obtains the object the contains the information about the security t= oken request. + *

+ * = + * @return a reference to the {@code RequestSecurityToken} instance. + */ + public RequestSecurityToken getRequestSecurityToken() + { + return this.request; + } + = + /** + *

+ * Obtains the security token contained in this context. + *

+ * = + * @return a reference to the {@code SecurityToken} instance. + */ + public SecurityToken getSecurityToken() + { + return this.securityToken; + } + = + /** + *

+ * Sets the security token in the context. + *

+ * = + * @param token the {@code SecurityToken} instance to be set. + */ + public void setSecurityToken(SecurityToken token) + { + this.securityToken =3D token; + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustRequestHandler.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustRequestHandler.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustRequestHandler.java 2009-02-09 18:47:40 = UTC (rev 311) @@ -0,0 +1,105 @@ +/* + * 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.protocol.RequestSecurityT= oken; +import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponse; + +/** + *

+ * The {@code WSTrustRequestHandler} interface defines the methods that wi= ll be responsible for handling the different + * types of WS-Trust request messages. + *

+ * = + * @author Stefan Guilhen + */ +public interface WSTrustRequestHandler +{ + + /** + *

+ * Initializes the concrete {@code WSTrustRequestHandler} instance. + *

+ * = + * @param configuration a reference to object that contains the STS con= figuration. + */ + public void initialize(STSConfiguration configuration); + + /** + *

+ * Generates a security token according to the information specified in= the request message and returns the created + * token in the response. + *

+ * = + * @param request the security token request message. + * @param context the context of the token request message. The context= provides information that may be relevant to + * the request processing, such as the subject of the caller. + * @return a {@code RequestSecurityTokenResponse} containing the genera= ted token. + * @throws WSTrustException if an error occurs while handling the reque= st message. + */ + public RequestSecurityTokenResponse issue(RequestSecurityToken request,= MessageContext context) + throws WSTrustException; + + /** + *

+ * Renews the security token as specified in the request message, retur= ning the renewed token in the response. + *

+ * = + * @param request the request message that contains the token to be ren= ewed. + * @param context the context of the token request message. The context= provides information that may be relevant to + * the request processing, such as the subject of the caller. + * @return a {@code RequestSecurityTokenResponse} containing the renewe= d token. + * @throws WSTrustException if an error occurs while handling the renew= al process. + */ + public RequestSecurityTokenResponse renew(RequestSecurityToken request,= MessageContext context) + throws WSTrustException; + + /** + *

+ * Cancels the security token as specified in the request message. + *

+ * = + * @param request the request message that contains the token to be can= celed. + * @param context the context of the token request message. The context= provides information that may be relevant to + * the request processing, such as the subject of the caller. + * @return a {@code RequestSecurityTokenResponse} indicating whether th= e token has been canceled or not. + * @throws WSTrustException if an error occurs while handling the cance= llation process. + */ + public RequestSecurityTokenResponse cancel(RequestSecurityToken request= , MessageContext context) + throws WSTrustException; + + /** + *

+ * Validates the security token as specified in the request message. + *

+ * = + * @param request the request message that contains the token to be val= idated. + * @param context the context of the token request message. The context= provides information that may be relevant to + * the request processing, such as the subject of the caller. + * @return a {@code RequestSecurityTokenResponse} containing the valida= tion status or a new token. + * @throws WSTrustException if an error occurs while handling the valid= ation process. + */ + public RequestSecurityTokenResponse validate(RequestSecurityToken reque= st, MessageContext context) + throws WSTrustException; +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustServiceFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustServiceFactory.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustServiceFactory.java 2009-02-09 18:47:40 = UTC (rev 311) @@ -0,0 +1,81 @@ +/* + * 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; + +/** + *

+ * Factory class used for instantiating pluggable services, such as the {@= code WSTrustRequestHandler} and + * {@code SecurityTokenProvider} implementations. + *

+ * = + * @author Stefan Guilhen + */ +public class WSTrustServiceFactory +{ + + private static final WSTrustServiceFactory factory =3D new WSTrustServi= ceFactory(); + + /** + *

+ * Creates the {@code WSTrustConfigurationFactory} singleton instance. + *

+ */ + private WSTrustServiceFactory() + { + } + + /** + *

+ * Obtains a reference to the singleton instance. + *

+ * = + * @return the {@code WSTrustConfigurationFactory} singleton. + */ + public static WSTrustServiceFactory getInstance() + { + return factory; + } + + public WSTrustRequestHandler createRequestHandler(STSConfiguration conf= iguration) + { + // TODO: obtain the actual WSTrustRequestHandler implementation clas= s from the configuration. + String handlerClassName =3D "org.jboss.identity.federation.api.wstru= st.JBossWSTrustRequestHandler"; + try + { + Class handlerClass =3D null; + ClassLoader loader =3D Thread.currentThread().getContextClassLoad= er(); + if (loader =3D=3D null) + handlerClass =3D Class.forName(handlerClassName); + else + handlerClass =3D loader.loadClass(handlerClassName); + + // TODO: instantiate the class using a privileged block. + WSTrustRequestHandler handler =3D (WSTrustRequestHandler) handler= Class.newInstance(); + handler.initialize(configuration); + return handler; + } + catch (Exception e) + { + throw new RuntimeException(e.getMessage(), e); + } + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/WSTrustUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustUtil.java (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustUtil.java 2009-02-09 18:47:40 UTC (rev 3= 11) @@ -0,0 +1,67 @@ +/* + * 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.bind.JAXBElement; + +import org.jboss.identity.federation.ws.addressing.EndpointReferenceType; +import org.jboss.identity.federation.ws.policy.AppliesTo; + +/** + *

+ * Utility class that provides methods for parsing/creating WS-Trust eleme= nts. + *

+ * = + * @author Stefan Guilhen + */ +public class WSTrustUtil +{ + + /** + *

+ * Parses the contents of the {@code AppliesTo} element and returns the= address the uniquely identify the service + * provider. + *

+ * = + * @param appliesTo the {@code AppliesTo} instance to be parsed. + * @return the address of the service provider. + */ + public static String parseAppliesTo(AppliesTo appliesTo) + { + EndpointReferenceType reference =3D null; + for (Object obj : appliesTo.getAny()) + { + if (obj instanceof EndpointReferenceType) + reference =3D (EndpointReferenceType) obj; + else if (obj instanceof JAXBElement) + { + JAXBElement element =3D (JAXBElement) obj; + if (element.getName().getLocalPart().equalsIgnoreCase("Endpoin= tReference")) + reference =3D (EndpointReferenceType) element.getValue(); + } + + if (reference !=3D null && reference.getAddress() !=3D null) + return reference.getAddress().toString(); + } + return null; + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/protocol/BaseRequestSecurityToken.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/BaseRequestSecurityToken.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/BaseRequestSecurityToken.java 2009-02-= 09 18:47:40 UTC (rev 311) @@ -0,0 +1,33 @@ +/* + * 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.protocol; + +/** + *

+ * Marker interface for the request security token types. + *

+ * = + * @author Stefan Guilhen + */ +public interface BaseRequestSecurityToken +{ +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/protocol/BaseRequestSecurityTokenResponse.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/BaseRequestSecurityTokenResponse.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/BaseRequestSecurityTokenResponse.java = 2009-02-09 18:47:40 UTC (rev 311) @@ -0,0 +1,33 @@ +/* + * 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.protocol; + +/** + *

+ * Marker interface for the security token response types. + *

+ * = + * @author Stefan Guilhen + */ +public interface BaseRequestSecurityTokenResponse +{ +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/protocol/RequestSecurityToken.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityToken.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityToken.java 2009-02-09 1= 8:47:40 UTC (rev 311) @@ -0,0 +1,1001 @@ +/* + * 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.protocol; + +import java.net.URI; +import java.net.URISyntaxException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import javax.xml.bind.JAXBElement; +import javax.xml.namespace.QName; + +import org.jboss.identity.federation.ws.addressing.EndpointReferenceType; +import org.jboss.identity.federation.ws.policy.AppliesTo; +import org.jboss.identity.federation.ws.policy.Policy; +import org.jboss.identity.federation.ws.policy.PolicyReference; +import org.jboss.identity.federation.ws.trust.AllowPostdatingType; +import org.jboss.identity.federation.ws.trust.ClaimsType; +import org.jboss.identity.federation.ws.trust.DelegateToType; +import org.jboss.identity.federation.ws.trust.EncryptionType; +import org.jboss.identity.federation.ws.trust.EntropyType; +import org.jboss.identity.federation.ws.trust.LifetimeType; +import org.jboss.identity.federation.ws.trust.ObjectFactory; +import org.jboss.identity.federation.ws.trust.OnBehalfOfType; +import org.jboss.identity.federation.ws.trust.ProofEncryptionType; +import org.jboss.identity.federation.ws.trust.RenewingType; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenType; +import org.jboss.identity.federation.ws.trust.UseKeyType; + +/** + *

+ * This class represents a WS-Trust {@code RequestSecurityToken}. It wraps= the JAXB representation of the security + * token request and offers a series of getter/setter methods that make it= easy to work with elements that are + * represented by the {@code Any} XML type. + *

+ *

+ * The following shows the intended content model of a {@code RequestSecur= ityToken}: + * = + *

+ *     <xs:element ref=3D'wst:TokenType' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:RequestType' />
+ *     <xs:element ref=3D'wsp:AppliesTo' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Claims' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Entropy' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Lifetime' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:AllowPostdating' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Renewing' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:OnBehalfOf' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Issuer' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:AuthenticationType' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:KeyType' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:KeySize' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:SignatureAlgorithm' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Encryption' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:EncryptionAlgorithm' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:CanonicalizationAlgorithm' minOccurs=3D'0=
' />
+ *     <xs:element ref=3D'wst:ProofEncryption' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:UseKey' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:SignWith' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:EncryptWith' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:DelegateTo' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Forwardable' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wst:Delegatable' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wsp:Policy' minOccurs=3D'0' />
+ *     <xs:element ref=3D'wsp:PolicyReference' minOccurs=3D'0' />
+ *     <xs:any namespace=3D'##other' processContents=3D'lax' minOccurs=
=3D'0' maxOccurs=3D'unbounded' />
+ * 
+ * = + *

+ * = + * @author Stefan Guilhen + */ +public class RequestSecurityToken implements BaseRequestSecurityToken +{ + + private final RequestSecurityTokenType delegate; + + private URI tokenType; + + private URI requestType; + + private AppliesTo appliesTo; + + private ClaimsType claims; + + private EntropyType entropy; + + private LifetimeType lifetime; + + private AllowPostdatingType allowPostDating; + + private RenewingType renewing; + + private OnBehalfOfType onBehalfOf; + + private EndpointReferenceType issuer; + + private URI authenticationType; + + private URI keyType; + + private long keySize; + + private URI signatureAlgorithm; + + private EncryptionType encryption; + + private URI encryptionAlgorithm; + + private URI canonicalizationAlgorithm; + + private ProofEncryptionType proofEncryption; + + private UseKeyType useKey; + + private URI signWith; + + private URI encryptWith; + + private DelegateToType delegateTo; + + private boolean forwardable; + + private boolean delegatable; + + private Policy policy; + + private PolicyReference policyReference; + + private final List extensionElements =3D new ArrayList(= ); + + private final ObjectFactory factory =3D new ObjectFactory(); + + /** + *

+ * Creates an instance of {@code RequestSecurityToken}. + *

+ */ + public RequestSecurityToken() + { + this.delegate =3D new RequestSecurityTokenType(); + } + + /** + *

+ * Creates an instance of {@code RequestSecurityToken} using the specif= ied delegate. + *

+ * = + * @param delegate the JAXB {@code RequestSecurityTokenType} that repre= sents a WS-Trust token request. + */ + public RequestSecurityToken(RequestSecurityTokenType delegate) + { + this.delegate =3D delegate; + // parse the delegate's Any contents. + try + { + for (Object obj : this.delegate.getAny()) + { + if (obj instanceof AppliesTo) + { + this.appliesTo =3D (AppliesTo) obj; + } + else if (obj instanceof Policy) + { + this.policy =3D (Policy) obj; + } + else if (obj instanceof PolicyReference) + { + this.policyReference =3D (PolicyReference) obj; + } + else if (obj instanceof JAXBElement) + { + JAXBElement element =3D (JAXBElement) obj; + String localName =3D element.getName().getLocalPart(); + if (localName.equalsIgnoreCase("TokenType")) + this.tokenType =3D new URI((String) element.getValue()); + else if (localName.equalsIgnoreCase("RequestType")) + this.requestType =3D new URI((String) element.getValue()= ); + else if (localName.equalsIgnoreCase("Claims")) + this.claims =3D (ClaimsType) element.getValue(); + else if (localName.equalsIgnoreCase("Entropy")) + this.entropy =3D (EntropyType) element.getValue(); + else if (localName.equalsIgnoreCase("Lifetime")) + this.lifetime =3D (LifetimeType) element.getValue(); + else if (localName.equalsIgnoreCase("AllowPostdating")) + this.allowPostDating =3D (AllowPostdatingType) element.g= etValue(); + else if (localName.equalsIgnoreCase("Renewing")) + this.renewing =3D (RenewingType) element.getValue(); + else if (localName.equalsIgnoreCase("OnBehalfOf")) + this.onBehalfOf =3D (OnBehalfOfType) element.getValue(); + else if (localName.equalsIgnoreCase("Issuer")) + this.issuer =3D (EndpointReferenceType) element.getValue= (); + else if (localName.equalsIgnoreCase("AuthenticationType")) + this.authenticationType =3D new URI((String) element.get= Value()); + else if (localName.equalsIgnoreCase("KeyType")) + this.keyType =3D new URI((String) element.getValue()); + else if (localName.equalsIgnoreCase("KeySize")) + this.keySize =3D (Long) element.getValue(); + else if (localName.equalsIgnoreCase("SignatureAlgorithm")) + this.signatureAlgorithm =3D new URI((String) element.get= Value()); + else if (localName.equalsIgnoreCase("Encryption")) + this.encryption =3D (EncryptionType) element.getValue(); + else if (localName.equalsIgnoreCase("EntropyAlgorithm")) + this.encryptionAlgorithm =3D new URI((String) element.ge= tValue()); + else if (localName.equalsIgnoreCase("CanonicalizationAlgori= thm")) + this.canonicalizationAlgorithm =3D new URI((String) elem= ent.getValue()); + else if (localName.equalsIgnoreCase("ProofEncryption")) + this.proofEncryption =3D (ProofEncryptionType) element.g= etValue(); + else if (localName.equalsIgnoreCase("UseKey")) + this.useKey =3D (UseKeyType) element.getValue(); + else if (localName.equalsIgnoreCase("SignWith")) + this.signWith =3D new URI((String) element.getValue()); + else if (localName.equalsIgnoreCase("EncryptWith")) + this.encryptWith =3D new URI((String) element.getValue()= ); + else if (localName.equalsIgnoreCase("DelegateTo")) + this.delegateTo =3D (DelegateToType) element.getValue(); + else if (localName.equalsIgnoreCase("Forwardable")) + this.forwardable =3D (Boolean) element.getValue(); + else if (localName.equalsIgnoreCase("Delegatable")) + this.delegatable =3D (Boolean) element.getValue(); + else + this.extensionElements.add(element.getValue()); + } + else + { + this.extensionElements.add(obj); + } + } + } + catch (URISyntaxException e) + { + throw new RuntimeException(e.getMessage(), e); + } + } + + /** + *

+ * Obtains the {@code URI} that identifies the token type. + *

+ * = + * @return a {@code URI} that represents the token type. + */ + public URI getTokenType() + { + return tokenType; + } + + /** + *

+ * Sets the token type. + *

+ * = + * @param tokenType a {@code URI} that identifies the token type. + */ + public void setTokenType(URI tokenType) + { + this.tokenType =3D tokenType; + this.delegate.getAny().add(this.factory.createTokenType(tokenType.to= String())); + + } + + /** + *

+ * Obtains the request type. + *

+ * = + * @return a {@code URI} that identifies the request type. + */ + public URI getRequestType() + { + return requestType; + } + + /** + *

+ * Sets the request type. The type must be one of the request types des= cribed in the WS-Trust specification. + *

+ * = + * @param requestType a {@code URI} that identifies the request type. + */ + public void setRequestType(URI requestType) + { + this.requestType =3D requestType; + this.delegate.getAny().add(this.factory.createRequestType(requestTyp= e.toString())); + } + + /** + *

+ * Obtains the {@code AppliesTo} value of this request. The {@code Appl= iesTo} object identifies the service provider + * (web service) that requires a token to be presented by clients. A ST= S uses this object to find the type of the + * token that is accepted by the service provider so that it can issue = appropriate tokens to clients. + *

+ * = + * @return the reference to the {@code AppliesTo} object. + */ + public AppliesTo getAppliesTo() + { + return appliesTo; + } + + /** + *

+ * Sets the {@code AppliesTo} value of this request. The {@code Applies= To} object identifies the service provider + * (web service) that requires a token to be presented by clients. A ST= S uses this object to find the type of the + * token that is accepted by the service provider so that it can issue = appropriate tokens to clients. + *

+ * = + * @param appliesTo a reference to the {@code AppliesTo} object that id= entifies the service provider. + */ + public void setAppliesTo(AppliesTo appliesTo) + { + this.appliesTo =3D appliesTo; + this.delegate.getAny().add(appliesTo); + } + + /** + *

+ * Obtains the set of claims of this request. + *

+ * = + * @return a reference to the {@code ClaimsType} object that represents= the request's claims. + */ + public ClaimsType getClaims() + { + return claims; + } + + /** + *

+ * Sets the claims of this request. + *

+ * = + * @param claims the {@code ClaimsType} object that represents the clai= ms to be set. + */ + public void setClaims(ClaimsType claims) + { + this.claims =3D claims; + this.delegate.getAny().add(this.factory.createClaims(claims)); + } + + /** + *

+ * Obtains the entropy that will be used in creating the key. + *

+ * = + * @return a reference to the {@code EntropyType} that represents the e= ntropy. + */ + public EntropyType getEntropy() + { + return entropy; + } + + /** + *

+ * Sets the entropy that must be used when creating the key. + *

+ * = + * @param entropy the {@code EntropyType} representing the entropy to b= e set. + */ + public void setEntropy(EntropyType entropy) + { + this.entropy =3D entropy; + this.delegate.getAny().add(this.factory.createEntropy(entropy)); + } + + /** + *

+ * Obtains the desired lifetime of the requested token. + *

+ * = + * @return a reference to the {@code LifetimeType} that represents the = lifetime. + */ + public LifetimeType getLifetime() + { + return lifetime; + } + + /** + *

+ * Sets the desired lifetime of the requested token. + *

+ * = + * @param lifetime the {@code LifetimeType} object representing the lif= etime to be set. + */ + public void setLifetime(LifetimeType lifetime) + { + this.lifetime =3D lifetime; + this.delegate.getAny().add(this.factory.createLifetime(lifetime)); + } + + /** + *

+ * Checks whether a request for a postdated token should be allowed or = not. + *

+ * = + * @return {@code null} if the token can't have a future lifetime (e.g.= a token to be used the next day); a + * {@code AllowPostdatingType} otherwise. + */ + public AllowPostdatingType getAllowPostDating() + { + return allowPostDating; + } + + /** + *

+ * Specifies whether a request for a postdated token should be allowed = or not. + *

+ * = + * @param allowPostDating {@code null} if the token can't have a future= lifetime (e.g. a token to be used the next + * day); a {@code AllowPostdatingType} otherwise. + */ + public void setAllowPostDating(AllowPostdatingType allowPostDating) + { + this.allowPostDating =3D allowPostDating; + this.delegate.getAny().add(this.factory.createAllowPostdating(allowP= ostDating)); + } + + /** + *

+ * Obtains the renew semantics for this request. + *

+ * = + * @return a reference to the {@code RenewingType} that represents the = renew semantics for this request. + */ + public RenewingType getRenewing() + { + return renewing; + } + + /** + *

+ * Sets the renew semantics for this request. + *

+ * = + * @param renewing the {@code RenewingType} object representing the sem= antics to be set. + */ + public void setRenewing(RenewingType renewing) + { + this.renewing =3D renewing; + this.delegate.getAny().add(this.factory.createRenewing(renewing)); + } + + /** + *

+ * Obtains the identity on whose behalf this request was made. + *

+ * = + * @return a reference to the {@code OnBehalfOfType} that represents th= e identity on whose behalf this request was + * made. + */ + public OnBehalfOfType getOnBehalfOf() + { + return onBehalfOf; + } + + /** + *

+ * Specifies the identity on whose behalf this request is being made. + *

+ * = + * @param onBehalfOf the {@code OnBehalfOfType} object representing the= identity to be set. + */ + public void setOnBehalfOf(OnBehalfOfType onBehalfOf) + { + this.onBehalfOf =3D onBehalfOf; + this.delegate.getAny().add(this.factory.createOnBehalfOf(onBehalfOf)= ); + } + + /** + *

+ * Obtains the issuer of the token included in the request in the scena= rios where the requestor is obtaining a token + * on behalf of another party. + *

+ * = + * @return a reference to the {@code EndpointReferenceType} that repres= ents the issuer. + */ + public EndpointReferenceType getIssuer() + { + return this.issuer; + } + + /** + *

+ * Sets the issuer of the token included in the request in scenarios wh= ere the requestor is obtaining a token on + * behalf of another party. + *

+ * = + * @param issuer the {@code EndpointReferenceType} object representing = the issuer to be set. + */ + public void setIssuer(EndpointReferenceType issuer) + { + this.issuer =3D issuer; + this.delegate.getAny().add(this.factory.createIssuer(issuer)); + } + + /** + *

+ * Obtains the type of authentication that has been set as part of the = request. + *

+ * = + * @return a {@code URI} that identifies the desired authentication typ= e. + */ + public URI getAuthenticationType() + { + return authenticationType; + } + + /** + *

+ * Sets the authentication type in the request. + *

+ * = + * @param authenticationType a {@code URI} that identifies the authenti= cation type to be set. + */ + public void setAuthenticationType(URI authenticationType) + { + this.authenticationType =3D authenticationType; + this.delegate.getAny().add(this.factory.createAuthenticationType(aut= henticationType.toString())); + } + + /** + *

+ * Obtains the type of the key that has been set in the request. + *

+ * = + * @return a {@code URI} that identifies the key type. + */ + public URI getKeyType() + { + return keyType; + } + + /** + *

+ * Sets the key type in the request. + *

+ * = + * @param keyType a {@code URI} that specifies the key type. + */ + public void setKeyType(URI keyType) + { + this.keyType =3D keyType; + this.delegate.getAny().add(this.factory.createKeyType(keyType.toStri= ng())); + } + + /** + *

+ * Obtains the size of they key that has been set in the request. + *

+ * = + * @return a {@code long} representing the key size in bytes. + */ + public long getKeySize() + { + return keySize; + } + + /** + *

+ * Sets the size of the key in the request. + *

+ * = + * @param keySize a {@code long} representing the key size in bytes. + */ + public void setKeySize(long keySize) + { + this.keySize =3D keySize; + this.delegate.getAny().add(this.factory.createKeySize(keySize)); + } + + /** + *

+ * Obtains the signature algorithm that has been set in the request. + *

+ * = + * @return a {@code URI} that represents the signature algorithm. + */ + public URI getSignatureAlgorithm() + { + return signatureAlgorithm; + } + + /** + *

+ * Sets the signature algorithm in the request. + *

+ * = + * @param signatureAlgorithm a {@code URI} that represents the algorith= m to be set. + */ + public void setSignatureAlgorithm(URI signatureAlgorithm) + { + this.signatureAlgorithm =3D signatureAlgorithm; + this.delegate.getAny().add(this.factory.createSignatureAlgorithm(sig= natureAlgorithm.toString())); + } + + /** + *

+ * Obtains the {@code Encryption} section of the request. The {@code En= cryption} element indicates that the requestor + * desires any returned secrets in issued security tokens to be encrypt= ed. + *

+ * = + * @return a reference to the {@code EncryptionType} object. + */ + public EncryptionType getEncryption() + { + return encryption; + } + + /** + *

+ * Sets the {@code Encryption} section of the request. The {@code Encry= ption} element indicates that the requestor + * desires any returned secrets in issued security tokens to be encrypt= ed. + *

+ * = + * @param encryption the {@code EncryptionType} to be set. + */ + public void setEncryption(EncryptionType encryption) + { + this.encryption =3D encryption; + this.delegate.getAny().add(this.factory.createEncryption(encryption)= ); + } + + /** + *

+ * Obtains the encryption algorithm that has been set in the request. + *

+ * = + * @return a {@code URI} that represents the encryption algorithm. + */ + public URI getEncryptionAlgorithm() + { + return encryptionAlgorithm; + } + + /** + *

+ * Sets the encryption algorithm in the request. + *

+ * = + * @param encryptionAlgorithm a {@code URI} that represents the encrypt= ion algorithm to be set. + */ + public void setEncryptionAlgorithm(URI encryptionAlgorithm) + { + this.encryptionAlgorithm =3D encryptionAlgorithm; + this.delegate.getAny().add(this.factory.createEncryptionAlgorithm(en= cryptionAlgorithm.toString())); + } + + /** + *

+ * Obtains the canonicalization algorithm that has been set in the requ= est. + *

+ * = + * @return a {@code URI} that represents the canonicalization algorithm. + */ + public URI getCanonicalizationAlgorithm() + { + return canonicalizationAlgorithm; + } + + /** + *

+ * Sets the canonicalization algorithm in the request. + *

+ * = + * @param canonicalizationAlgorithm a {@code URI} that represents the a= lgorithm to be set. + */ + public void setCanonicalizationAlgorithm(URI canonicalizationAlgorithm) + { + this.canonicalizationAlgorithm =3D canonicalizationAlgorithm; + this.delegate.getAny().add(this.factory.createCanonicalizationAlgori= thm(canonicalizationAlgorithm.toString())); + } + + /** + *

+ * Obtains the {@code ProofEncryption} section of the request. The {@co= de ProofEncryption} indicates that the + * requestor desires any returned secrets in issued security tokens to = be encrypted. + *

+ * = + * @return a reference to the {@code ProofEncryptionType} object. + */ + public ProofEncryptionType getProofEncryption() + { + return proofEncryption; + } + + /** + *

+ * Sets the {@code ProofEncryption} section of the request. The {@code = ProofEncryption} indicates that the requestor + * desires any returned secrets in issued security tokens to be encrypt= ed. + *

+ * = + * @param proofEncryption the {@code ProofEncryptionType} to be set. + */ + public void setProofEncryption(ProofEncryptionType proofEncryption) + { + this.proofEncryption =3D proofEncryption; + this.delegate.getAny().add(this.factory.createProofEncryption(proofE= ncryption)); + } + + /** + *

+ * Obtains the key that should be used in the returned token. + *

+ * = + * @return a reference to the {@code UseKeyType} instance that represen= ts the key to be used. + */ + public UseKeyType getUseKey() + { + return useKey; + } + + /** + *

+ * Sets the key that should be used in the returned token. + *

+ * = + * @param useKey the {@code UseKeyType} instance to be set. + */ + public void setUseKey(UseKeyType useKey) + { + this.useKey =3D useKey; + this.delegate.getAny().add(this.factory.createUseKey(useKey)); + } + + /** + *

+ * Obtains the signature algorithm that should be used with the issued = security token. + *

+ * = + * @return a {@code URI} representing the algorithm that should be used. + */ + public URI getSignWith() + { + return signWith; + } + + /** + *

+ * Sets the signature algorithm that should be used with the issued sec= urity token. + *

+ * = + * @param signWith a {@code URI} representing the algorithm to be used. + */ + public void setSignWith(URI signWith) + { + this.signWith =3D signWith; + this.delegate.getAny().add(this.factory.createSignatureAlgorithm(sig= nWith.toString())); + } + + /** + *

+ * Obtains the encryption algorithm that should be used with the issued= security token. + *

+ * = + * @return a {@code URI} representing the encryption algorithm that sho= uld be used. + */ + public URI getEncryptWith() + { + return encryptWith; + } + + /** + *

+ * Sets the encryption algorithm that should be used with the issued se= curity token. + *

+ * = + * @param encryptWith a {@code URI} representing the algorithm to be us= ed. + */ + public void setEncryptWith(URI encryptWith) + { + this.encryptWith =3D encryptWith; + this.delegate.getAny().add(this.factory.createEncryptWith(encryptWit= h.toString())); + } + + /** + *

+ * Obtains the identity to which the requested token should be delegate= d. + *

+ * = + * @return a reference to the {@code DelegateToType} instance that repr= esents the identity. + */ + public DelegateToType getDelegateTo() + { + return delegateTo; + } + + /** + *

+ * Sets the identity to which the requested token should be delegated. + *

+ * = + * @param delegateTo the {@code DelegateToType} object representing the= identity to be set. + */ + public void setDelegateTo(DelegateToType delegateTo) + { + this.delegateTo =3D delegateTo; + this.delegate.getAny().add(this.factory.createDelegateTo(delegateTo)= ); + } + + /** + *

+ * Indicates whether the requested token should be marked as "forwardab= le" or not. In general, this flag is used when + * a token is normally bound to the requestor's machine or service. Usi= ng this flag, the returned token MAY be used + * from any source machine so long as the key is correctly proven. + *

+ * = + * @return {@code true} if the requested token should be marked as "for= wardable"; {@code false} otherwise. + */ + public boolean isForwardable() + { + return forwardable; + } + + /** + *

+ * Specifies whether the requested token should be marked as "forwardab= le" or not. In general, this flag is used when + * a token is normally bound to the requestor's machine or service. Usi= ng this flag, the returned token MAY be used + * from any source machine so long as the key is correctly proven. + *

+ * = + * @param forwardable {@code true} if the requested token should be mar= ked as "forwardable"; {@code false} otherwise. + */ + public void setForwardable(boolean forwardable) + { + this.forwardable =3D forwardable; + this.delegate.getAny().add(this.factory.createForwardable(forwardabl= e)); + } + + /** + *

+ * Indicates whether the requested token should be marked as "delegatab= le" or not. Using this flag, the returned + * token MAY be delegated to another party. + *

+ * = + * @return {@code true} if the requested token should be marked as "del= egatable"; {@code false} otherwise. + */ + public boolean isDelegatable() + { + return delegatable; + } + + /** + *

+ * Specifies whether the requested token should be marked as "delegatab= le" or not. Using this flag, the returned + * token MAY be delegated to another party. + *

+ * = + * @param delegatable {@code true} if the requested token should be mar= ked as "delegatable"; {@code false} otherwise. + */ + public void setDelegatable(boolean delegatable) + { + this.delegatable =3D delegatable; + this.delegate.getAny().add(this.factory.createDelegatable(delegatabl= e)); + } + + /** + *

+ * Obtains the {@code Policy} associated with the request. The policy s= pecifies defaults that can be overridden by + * the previous properties. + *

+ * = + * @return a reference to the {@code Policy} that has been set in the r= equest. + */ + public Policy getPolicy() + { + return policy; + } + + /** + *

+ * Sets the {@code Policy} in the request. The policy specifies default= s that can be overridden by + * the previous properties. + *

+ * = + * @param policy the {@code Policy} instance to be set. + */ + public void setPolicy(Policy policy) + { + this.policy =3D policy; + this.delegate.getAny().add(policy); + } + + /** + *

+ * Obtains the reference to the {@code Policy} that should be used. + *

+ * = + * @return a {@code PolicyReference} that specifies where the {@code Po= licy} can be found. + */ + public PolicyReference getPolicyReference() + { + return policyReference; + } + + /** + *

+ * Sets the reference to the {@code Policy} that should be used. + *

+ * = + * @param policyReference the {@code PolicyReference} object to be set. + */ + public void setPolicyReference(PolicyReference policyReference) + { + this.policyReference =3D policyReference; + this.delegate.getAny().add(policyReference); + } + + /** + *

+ * Obtains the list of request elements that are not part of the standa= rd content model. + *

+ * = + * @return a {@code List} containing the extension elements. + */ + public List getExtensionElements() + { + return Collections.unmodifiableList(this.extensionElements); + } + + /** + *

+ * Obtains the request context. + *

+ * = + * @return a {@code String} that identifies the request. + */ + public String getContext() + { + return this.delegate.getContext(); + } + + /** + *

+ * Sets the request context. + *

+ * = + * @param context a {@code String} that identifies the request. + */ + public void setContext(String context) + { + this.delegate.setContext(context); + } + + /** + *

+ * Obtains a map that contains attributes that aren't bound to any type= d property on the request. This is a live + * reference, so attributes can be added/changed/removed directly. For = this reason, there is no setter method. + *

+ * = + * @return a {@code Map} that contains the attributes. + */ + public Map getOtherAttributes() + { + return this.delegate.getOtherAttributes(); + } + + /** + *

+ * Gets a reference to the list that holds all request element values. + *

+ * = + * @return a {@code List} containing all values specified in th= e request. + */ + public List getAny() + { + return this.delegate.getAny(); + } + = + /** + *

+ * Obtains a reference to the {@code RequestSecurityTokenType} delegate. + *

+ * = + * @return a reference to the delegate instance. + */ + public RequestSecurityTokenType getDelegate() + { + return this.delegate; + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/protocol/RequestSecurityTokenCollection.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityTokenCollection.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityTokenCollection.java 20= 09-02-09 18:47:40 UTC (rev 311) @@ -0,0 +1,122 @@ +/* + * 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.protocol; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenCollecti= onType; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenType; + +/** + *

+ * This class represents a WS-Trust {@code RequestSecurityTokenCollection}= . It wraps the JAXB representation of the + * security token collection request. + *

+ * = + * @author Stefan Guilhen + */ +public class RequestSecurityTokenCollection implements BaseRequestSecurity= Token +{ + + private final RequestSecurityTokenCollectionType delegate; + + private final List requestSecurityTokens; + + /** + *

+ * Creates an instance of {@code RequestSecurityTokenCollection}. + *

+ */ + public RequestSecurityTokenCollection() + { + this.requestSecurityTokens =3D new ArrayList(); + this.delegate =3D new RequestSecurityTokenCollectionType(); + } + + /** + *

+ * Creates an instance of {@code RequestSecurityTokenCollection} using = the specified delegate. + *

+ * = + * @param delegate the JAXB {@code RequestSecurityTokenCollectionType} = that represents a WS-Trust request collection. + */ + public RequestSecurityTokenCollection(RequestSecurityTokenCollectionTyp= e delegate) + { + this.delegate =3D delegate; + this.requestSecurityTokens =3D new ArrayList(); + for (RequestSecurityTokenType request : delegate.getRequestSecurityT= oken()) + this.requestSecurityTokens.add(new RequestSecurityToken(request)); + } + + /** + *

+ * Obtains the collection of {@code RequestSecurityToken} objects. The = returned collection is immutable, so addition + * or removal of requests must be carried by the appropriate add/remove= methods. + *

+ * = + * @return a {@code List} containing the token re= quests. + */ + public List getRequestSecurityTokens() + { + return Collections.unmodifiableList(this.requestSecurityTokens); + } + + /** + *

+ * Adds the specified {@code RequestSecurityToken} object to the collec= tion of token requests. + *

+ * = + * @param request the {@code RequestSecurityToken} to be added. + */ + public void addRequestSecurityToken(RequestSecurityToken request) + { + this.delegate.getRequestSecurityToken().add(request.getDelegate()); + this.requestSecurityTokens.add(request); + } + = + /** + *

+ * Removes the specified {@code RequestSecurityToken} object from the c= ollection of token requests. + *

+ * = + * @param request the {@code RequestSecurityToken} to be removed. + */ + public void removeRequestSecurityToken(RequestSecurityToken request) + { + this.delegate.getRequestSecurityToken().remove(request.getDelegate()= ); + this.requestSecurityTokens.remove(request); + } + = + /** + *

+ * Obtains a reference to the {@code RequestSecurityTokenCollectionType= } delegate. + *

+ * = + * @return a reference to the delegate instance. + */ + public RequestSecurityTokenCollectionType getDelegate() + { + return this.delegate; + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/protocol/RequestSecurityTokenResponse.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityTokenResponse.java = (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityTokenResponse.java 2009= -02-09 18:47:40 UTC (rev 311) @@ -0,0 +1,1159 @@ +/* + * 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.protocol; + +import java.net.URI; +import java.net.URISyntaxException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import javax.xml.bind.JAXBElement; +import javax.xml.namespace.QName; + +import org.jboss.identity.federation.ws.addressing.EndpointReferenceType; +import org.jboss.identity.federation.ws.policy.AppliesTo; +import org.jboss.identity.federation.ws.policy.Policy; +import org.jboss.identity.federation.ws.policy.PolicyReference; +import org.jboss.identity.federation.ws.trust.AllowPostdatingType; +import org.jboss.identity.federation.ws.trust.AuthenticatorType; +import org.jboss.identity.federation.ws.trust.DelegateToType; +import org.jboss.identity.federation.ws.trust.EncryptionType; +import org.jboss.identity.federation.ws.trust.EntropyType; +import org.jboss.identity.federation.ws.trust.LifetimeType; +import org.jboss.identity.federation.ws.trust.ObjectFactory; +import org.jboss.identity.federation.ws.trust.OnBehalfOfType; +import org.jboss.identity.federation.ws.trust.ProofEncryptionType; +import org.jboss.identity.federation.ws.trust.RenewingType; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponse= Type; +import org.jboss.identity.federation.ws.trust.RequestedProofTokenType; +import org.jboss.identity.federation.ws.trust.RequestedReferenceType; +import org.jboss.identity.federation.ws.trust.RequestedSecurityTokenType; +import org.jboss.identity.federation.ws.trust.StatusType; +import org.jboss.identity.federation.ws.trust.UseKeyType; + +/** + *

+ * This class represents a WS-Trust {@code RequestSecurityTokenResponse}. = It wraps the JAXB representation of the + * security token response and offers a series of getter/setter methods th= at make it easy to work with elements that are + * represented by the {@code Any} XML type. + *

+ *

+ * The following shows the intended content model of a {@code RequestSecur= ityTokenResponse}: + * = + *

+ *    <xs:element ref=3D'wst:TokenType' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:RequestType' />
+ *    <xs:element ref=3D'wst:RequestedSecurityToken'  minOccurs=3D'0' /=
>
+ *    <xs:element ref=3D'wsp:AppliesTo' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:RequestedAttachedReference' minOccurs=3D'0=
' />
+ *    <xs:element ref=3D'wst:RequestedUnattachedReference' minOccurs=3D=
'0' />
+ *    <xs:element ref=3D'wst:RequestedProofToken' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Entropy' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Lifetime' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Status' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:AllowPostdating' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Renewing' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:OnBehalfOf' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Issuer' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:AuthenticationType' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Authenticator' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:KeyType' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:KeySize' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:SignatureAlgorithm' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Encryption' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:EncryptionAlgorithm' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:CanonicalizationAlgorithm' minOccurs=3D'0'=
 />
+ *    <xs:element ref=3D'wst:ProofEncryption' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:UseKey' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:SignWith' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:EncryptWith' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:DelegateTo' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Forwardable' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wst:Delegatable' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wsp:Policy' minOccurs=3D'0' />
+ *    <xs:element ref=3D'wsp:PolicyReference' minOccurs=3D'0' />
+ *    <xs:any namespace=3D'##other' processContents=3D'lax' minOccurs=
=3D'0' maxOccurs=3D'unbounded' />
+ * 
+ * = + *

+ * = + * @author Stefan Guilhen + */ +/** + *

+ *

+ * = + * @author Stefan Guilhen + */ +public class RequestSecurityTokenResponse implements BaseRequestSecurityTo= kenResponse +{ + + private final RequestSecurityTokenResponseType delegate; + + private URI tokenType; + + private URI requestType; + + private RequestedSecurityTokenType requestedSecurityToken; + + private AppliesTo appliesTo; + + private RequestedReferenceType requestedAttachedReference; + + private RequestedReferenceType requestedUnattachedReference; + + private RequestedProofTokenType requestedProofToken; + + private EntropyType entropy; + + private LifetimeType lifetime; + + private StatusType status; + + private AllowPostdatingType allowPostDating; + + private RenewingType renewing; + + private OnBehalfOfType onBehalfOf; + + private EndpointReferenceType issuer; + + private URI authenticationType; + + private AuthenticatorType authenticator; + + private URI keyType; + + private long keySize; + + private URI signatureAlgorithm; + + private EncryptionType encryption; + + private URI encryptionAlgorithm; + + private URI canonicalizationAlgorithm; + + private ProofEncryptionType proofEncryption; + + private UseKeyType useKey; + + private URI signWith; + + private URI encryptWith; + + private DelegateToType delegateTo; + + private boolean forwardable; + + private boolean delegatable; + + private Policy policy; + + private PolicyReference policyReference; + + private final List extensionElements =3D new ArrayList(= ); + + private final ObjectFactory factory =3D new ObjectFactory(); + + /** + *

+ * Creates an instance of {@code RequestSecurityTokenResponse}. + *

+ */ + public RequestSecurityTokenResponse() + { + this.delegate =3D new RequestSecurityTokenResponseType(); + } + + /** + *

+ * Creates an instance of {@code RequestSecurityTokenResponse} using th= e specified delegate. + *

+ * = + * @param delegate the JAXB {@code RequestSecurityTokenResponseType} th= at represents a WS-Trust response. + */ + public RequestSecurityTokenResponse(RequestSecurityTokenResponseType de= legate) + { + this.delegate =3D delegate; + // parse the delegate's Any contents. + try + { + for (Object obj : this.delegate.getAny()) + { + if (obj instanceof AppliesTo) + { + this.appliesTo =3D (AppliesTo) obj; + } + else if (obj instanceof Policy) + { + this.policy =3D (Policy) obj; + } + else if (obj instanceof PolicyReference) + { + this.policyReference =3D (PolicyReference) obj; + } + else if (obj instanceof JAXBElement) + { + JAXBElement element =3D (JAXBElement) obj; + String localName =3D element.getName().getLocalPart(); + if (localName.equalsIgnoreCase("TokenType")) + this.tokenType =3D new URI((String) element.getValue()); + else if (localName.equalsIgnoreCase("RequestType")) + this.requestType =3D new URI((String) element.getValue()= ); + else if (localName.equalsIgnoreCase("RequestedSecurityToken= ")) + this.requestedSecurityToken =3D (RequestedSecurityTokenT= ype) element.getValue(); + else if (localName.equalsIgnoreCase("RequestedAttachedRefer= ence")) + this.requestedAttachedReference =3D (RequestedReferenceT= ype) element.getValue(); + else if (localName.equalsIgnoreCase("RequestedUnattachedRef= erence")) + this.requestedUnattachedReference =3D (RequestedReferenc= eType) element.getValue(); + else if (localName.equalsIgnoreCase("RequestedProofToken")) + this.requestedProofToken =3D (RequestedProofTokenType) e= lement.getValue(); + else if (localName.equalsIgnoreCase("Entropy")) + this.entropy =3D (EntropyType) element.getValue(); + else if (localName.equalsIgnoreCase("Lifetime")) + this.lifetime =3D (LifetimeType) element.getValue(); + else if (localName.equalsIgnoreCase("Status")) + this.status =3D (StatusType) element.getValue(); + else if (localName.equalsIgnoreCase("AllowPostdating")) + this.allowPostDating =3D (AllowPostdatingType) element.g= etValue(); + else if (localName.equalsIgnoreCase("Renewing")) + this.renewing =3D (RenewingType) element.getValue(); + else if (localName.equalsIgnoreCase("OnBehalfOf")) + this.onBehalfOf =3D (OnBehalfOfType) element.getValue(); + else if (localName.equalsIgnoreCase("Issuer")) + this.issuer =3D (EndpointReferenceType) element.getValue= (); + else if (localName.equalsIgnoreCase("AuthenticationType")) + this.authenticationType =3D new URI((String) element.get= Value()); + else if (localName.equalsIgnoreCase("Authenticator")) + this.authenticator =3D (AuthenticatorType) element.getVa= lue(); + else if (localName.equalsIgnoreCase("KeyType")) + this.keyType =3D new URI((String) element.getValue()); + else if (localName.equalsIgnoreCase("KeySize")) + this.keySize =3D (Long) element.getValue(); + else if (localName.equalsIgnoreCase("SignatureAlgorithm")) + this.signatureAlgorithm =3D new URI((String) element.get= Value()); + else if (localName.equalsIgnoreCase("Encryption")) + this.encryption =3D (EncryptionType) element.getValue(); + else if (localName.equalsIgnoreCase("EntropyAlgorithm")) + this.encryptionAlgorithm =3D new URI((String) element.ge= tValue()); + else if (localName.equalsIgnoreCase("CanonicalizationAlgori= thm")) + this.canonicalizationAlgorithm =3D new URI((String) elem= ent.getValue()); + else if (localName.equalsIgnoreCase("ProofEncryption")) + this.proofEncryption =3D (ProofEncryptionType) element.g= etValue(); + else if (localName.equalsIgnoreCase("UseKey")) + this.useKey =3D (UseKeyType) element.getValue(); + else if (localName.equalsIgnoreCase("SignWith")) + this.signWith =3D new URI((String) element.getValue()); + else if (localName.equalsIgnoreCase("EncryptWith")) + this.encryptWith =3D new URI((String) element.getValue()= ); + else if (localName.equalsIgnoreCase("DelegateTo")) + this.delegateTo =3D (DelegateToType) element.getValue(); + else if (localName.equalsIgnoreCase("Forwardable")) + this.forwardable =3D (Boolean) element.getValue(); + else if (localName.equalsIgnoreCase("Delegatable")) + this.delegatable =3D (Boolean) element.getValue(); + else + this.extensionElements.add(element.getValue()); + } + else + { + this.extensionElements.add(obj); + } + } + } + catch (URISyntaxException e) + { + throw new RuntimeException(e.getMessage(), e); + } + } + + /** + *

+ * Obtains the {@code URI} that identifies the token type. + *

+ * = + * @return a {@code URI} that represents the token type. + */ + public URI getTokenType() + { + return tokenType; + } + + /** + *

+ * Sets the token type. + *

+ * = + * @param tokenType a {@code URI} that identifies the token type. + */ + public void setTokenType(URI tokenType) + { + this.tokenType =3D tokenType; + this.delegate.getAny().add(this.factory.createTokenType(tokenType.to= String())); + + } + + /** + *

+ * Obtains the request type. + *

+ * = + * @return a {@code URI} that identifies the request type. + */ + public URI getRequestType() + { + return requestType; + } + + /** + *

+ * Sets the request type. The type must be one of the request types des= cribed in the WS-Trust specification. + *

+ * = + * @param requestType a {@code URI} that identifies the request type. + */ + public void setRequestType(URI requestType) + { + this.requestType =3D requestType; + this.delegate.getAny().add(this.factory.createRequestType(requestTyp= e.toString())); + } + + /** + *

+ * Obtains the requested security token that has been set in the respon= se. + *

+ * = + * @return a reference to the {@code RequestedSecurityTokenType} that c= ontains the token. + */ + public RequestedSecurityTokenType getRequestedSecurityToken() + { + return requestedSecurityToken; + } + + /** + *

+ * Sets the requested security token in the response. + *

+ * = + * @param requestedSecurityToken the {@code RequestedSecurityTokenType}= instance to be set. + */ + public void setRequestedSecurityToken(RequestedSecurityTokenType reques= tedSecurityToken) + { + this.requestedSecurityToken =3D requestedSecurityToken; + this.delegate.getAny().add(this.factory.createRequestedSecurityToken= (requestedSecurityToken)); + } + + /** + *

+ * Obtains the scope to which the security token applies. + *

+ * = + * @return a reference to the {@code AppliesTo} instance that represent= s the token scope. + */ + public AppliesTo getAppliesTo() + { + return appliesTo; + } + + /** + *

+ * Sets the scope to which the security token applies. + *

+ * = + * @param appliesTo a reference to the {@code AppliesTo} object that re= presents the scope to be set. + */ + public void setAppliesTo(AppliesTo appliesTo) + { + this.appliesTo =3D appliesTo; + this.delegate.getAny().add(appliesTo); + } + + /** + *

+ * Obtains the {@code RequestedAttachedReference} that indicate how to = reference the returned token when that token + * doesn't support references using URI fragments (XML ID). + *

+ * = + * @return a {@code RequestedReferenceType} that represents the token r= eference. + */ + public RequestedReferenceType getRequestedAttachedReference() + { + return requestedAttachedReference; + } + + /** + *

+ * Sets the {@code RequestedAttachedReference} that indicate how to ref= erence the returned token when that token + * doesn't support references using URI fragments (XML ID). + *

+ * = + * @param requestedAttachedReference the {@code RequestedReferenceType}= instance to be set. + */ + public void setRequestedAttachedReference(RequestedReferenceType reques= tedAttachedReference) + { + this.requestedAttachedReference =3D requestedAttachedReference; + this.delegate.getAny().add(this.factory.createRequestedAttachedRefer= ence(requestedAttachedReference)); + } + + /** + *

+ * Obtains the {@code RequestedUnattachedReference} that specifies to i= ndicate how to reference the token when it is + * not placed inside the message. + *

+ * = + * @return a {@code RequestedReferenceType} that represents the unattac= hed reference. + */ + public RequestedReferenceType getRequestedUnattachedReference() + { + return requestedUnattachedReference; + } + + /** + *

+ * Sets the {@code RequestedUnattachedReference} that specifies to indi= cate how to reference the token when it is not + * placed inside the message. + *

+ * = + * @param requestedUnattachedReference the {@code RequestedReferenceTyp= e} instance to be set. + */ + public void setRequestedUnattachedReference(RequestedReferenceType requ= estedUnattachedReference) + { + this.requestedUnattachedReference =3D requestedUnattachedReference; + this.delegate.getAny().add(this.factory.createRequestedUnattachedRef= erence(requestedUnattachedReference)); + } + + /** + *

+ * Obtains the proof of possession token that has been set in the respo= nse. + *

+ * = + * @return a reference to the {@code RequestedProofTokenType} that cont= ains the token. + */ + public RequestedProofTokenType getRequestedProofToken() + { + return requestedProofToken; + } + + /** + *

+ * Sets the proof of possesion token in the response. + *

+ * = + * @param requestedProofToken the {@code RequestedProofTokenType} insta= nce to be set. + */ + public void setRequestedProofToken(RequestedProofTokenType requestedPro= ofToken) + { + this.requestedProofToken =3D requestedProofToken; + this.delegate.getAny().add(this.factory.createRequestedProofToken(re= questedProofToken)); + } + + /** + *

+ * Obtains the entropy that has been used in creating the key. + *

+ * = + * @return a reference to the {@code EntropyType} that represents the e= ntropy. + */ + public EntropyType getEntropy() + { + return entropy; + } + + /** + *

+ * Sets the entropy that has been used in creating the key. + *

+ * = + * @param entropy the {@code EntropyType} representing the entropy to b= e set. + */ + public void setEntropy(EntropyType entropy) + { + this.entropy =3D entropy; + this.delegate.getAny().add(this.factory.createEntropy(entropy)); + } + + /** + *

+ * Obtains the lifetime of the security token. + *

+ * = + * @return a reference to the {@code LifetimeType} that represents the = lifetime of the security token. + */ + public LifetimeType getLifetime() + { + return lifetime; + } + + /** + *

+ * Sets the lifetime of the security token. + *

+ * = + * @param lifetime the {@code LifetimeType} object representing the lif= etime to be set. + */ + public void setLifetime(LifetimeType lifetime) + { + this.lifetime =3D lifetime; + this.delegate.getAny().add(this.factory.createLifetime(lifetime)); + } + + /** + *

+ * Obtains the result of a security token validation. + *

+ * = + * @return a referece to the {@code StatusType} instance that represent= s the status of the validation. + */ + public StatusType getStatus() + { + return status; + } + + /** + *

+ * Sets the result of a security token validation. + *

+ * = + * @param status the {@code StatusType} instance to be set. + */ + public void setStatus(StatusType status) + { + this.status =3D status; + this.delegate.getAny().add(this.factory.createStatus(status)); + } + + /** + *

+ * Checks whether the returned token is a postdated token or not. + *

+ * = + * @return {@code null} if the token is not postdated; a {@code AllowPo= stdatingType} otherwise. + */ + public AllowPostdatingType getAllowPostDating() + { + return allowPostDating; + } + + /** + *

+ * Specifies whether the returned token is a postdated token or not. + *

+ * = + * @param allowPostDating {@code null} if the token is not postdated; a= {@code AllowPostdatingType} otherwise. + */ + public void setAllowPostDating(AllowPostdatingType allowPostDating) + { + this.allowPostDating =3D allowPostDating; + this.delegate.getAny().add(this.factory.createAllowPostdating(allowP= ostDating)); + } + + /** + *

+ * Obtains the renew semantics for the token request. + *

+ * = + * @return a reference to the {@code RenewingType} that represents the = renew semantics for the request. + */ + public RenewingType getRenewing() + { + return renewing; + } + + /** + *

+ * Sets the renew semantics for the token request. + *

+ * = + * @param renewing the {@code RenewingType} object representing the sem= antics to be set. + */ + public void setRenewing(RenewingType renewing) + { + this.renewing =3D renewing; + this.delegate.getAny().add(this.factory.createRenewing(renewing)); + } + + /** + *

+ * Obtains the identity on whose behalf the token request was made. + *

+ * = + * @return a reference to the {@code OnBehalfOfType} that represents th= e identity on whose behalf the token request + * was made. + */ + public OnBehalfOfType getOnBehalfOf() + { + return onBehalfOf; + } + + /** + *

+ * Specifies the identity on whose behalf the token request was made. + *

+ * = + * @param onBehalfOf the {@code OnBehalfOfType} object representing the= identity to be set. + */ + public void setOnBehalfOf(OnBehalfOfType onBehalfOf) + { + this.onBehalfOf =3D onBehalfOf; + this.delegate.getAny().add(this.factory.createOnBehalfOf(onBehalfOf)= ); + } + + /** + *

+ * Obtains the issuer of the token included in the request in the scena= rios where the requestor is obtaining a token + * on behalf of another party. + *

+ * = + * @return a reference to the {@code EndpointReferenceType} that repres= ents the issuer. + */ + public EndpointReferenceType getIssuer() + { + return this.issuer; + } + + /** + *

+ * Sets the issuer of the token included in the request in scenarios wh= ere the requestor is obtaining a token on + * behalf of another party. + *

+ * = + * @param issuer the {@code EndpointReferenceType} object representing = the issuer to be set. + */ + public void setIssuer(EndpointReferenceType issuer) + { + this.issuer =3D issuer; + this.delegate.getAny().add(this.factory.createIssuer(issuer)); + } + + /** + *

+ * Obtains the type of authentication that is to be conducted. + *

+ * = + * @return a {@code URI} that identifies the authentication type. + */ + public URI getAuthenticationType() + { + return authenticationType; + } + + /** + *

+ * Sets the authentication type in the response. + *

+ * = + * @param authenticationType a {@code URI} that identifies the authenti= cation type to be set. + */ + public void setAuthenticationType(URI authenticationType) + { + this.authenticationType =3D authenticationType; + this.delegate.getAny().add(this.factory.createAuthenticationType(aut= henticationType.toString())); + } + + /** + *

+ * Obtains the authenticator that must be used in authenticating exchan= ges. + *

+ * = + * @return a reference to the {@code AuthenticatorType} that represents= the authenticator. + */ + public AuthenticatorType getAuthenticator() + { + return authenticator; + } + + /** + *

+ * Sets the authenticator that must be used in authenticating exchanges. + *

+ * = + * @param authenticator the {@code AuthenticatorType} instance to be se= t. + */ + public void setAuthenticator(AuthenticatorType authenticator) + { + this.authenticator =3D authenticator; + this.delegate.getAny().add(this.factory.createAuthenticator(authenti= cator)); + } + + /** + *

+ * Obtains the type of the key that has been set in the response. + *

+ * = + * @return a {@code URI} that identifies the key type. + */ + public URI getKeyType() + { + return keyType; + } + + /** + *

+ * Sets the key type in the response. + *

+ * = + * @param keyType a {@code URI} that specifies the key type. + */ + public void setKeyType(URI keyType) + { + this.keyType =3D keyType; + this.delegate.getAny().add(this.factory.createKeyType(keyType.toStri= ng())); + } + + /** + *

+ * Obtains the size of they key that has been set in the response. + *

+ * = + * @return a {@code long} representing the key size in bytes. + */ + public long getKeySize() + { + return keySize; + } + + /** + *

+ * Sets the size of the key in the response. + *

+ * = + * @param keySize a {@code long} representing the key size in bytes. + */ + public void setKeySize(long keySize) + { + this.keySize =3D keySize; + this.delegate.getAny().add(this.factory.createKeySize(keySize)); + } + + /** + *

+ * Obtains the signature algorithm that has been set in the response. + *

+ * = + * @return a {@code URI} that represents the signature algorithm. + */ + public URI getSignatureAlgorithm() + { + return signatureAlgorithm; + } + + /** + *

+ * Sets the signature algorithm in the response. + *

+ * = + * @param signatureAlgorithm a {@code URI} that represents the algorith= m to be set. + */ + public void setSignatureAlgorithm(URI signatureAlgorithm) + { + this.signatureAlgorithm =3D signatureAlgorithm; + this.delegate.getAny().add(this.factory.createSignatureAlgorithm(sig= natureAlgorithm.toString())); + } + + /** + *

+ * Obtains the {@code Encryption} section of the response. The {@code E= ncryption} element indicates that the + * requestor desires any returned secrets in issued security tokens to = be encrypted. + *

+ * = + * @return a reference to the {@code EncryptionType} object. + */ + public EncryptionType getEncryption() + { + return encryption; + } + + /** + *

+ * Sets the {@code Encryption} section of the response. The {@code Encr= yption} element indicates that the requestor + * desires any returned secrets in issued security tokens to be encrypt= ed. + *

+ * = + * @param encryption the {@code EncryptionType} to be set. + */ + public void setEncryption(EncryptionType encryption) + { + this.encryption =3D encryption; + this.delegate.getAny().add(this.factory.createEncryption(encryption)= ); + } + + /** + *

+ * Obtains the encryption algorithm that has been set in the response. + *

+ * = + * @return a {@code URI} that represents the encryption algorithm. + */ + public URI getEncryptionAlgorithm() + { + return encryptionAlgorithm; + } + + /** + *

+ * Sets the encryption algorithm in the response. + *

+ * = + * @param encryptionAlgorithm a {@code URI} that represents the encrypt= ion algorithm to be set. + */ + public void setEncryptionAlgorithm(URI encryptionAlgorithm) + { + this.encryptionAlgorithm =3D encryptionAlgorithm; + this.delegate.getAny().add(this.factory.createEncryptionAlgorithm(en= cryptionAlgorithm.toString())); + } + + /** + *

+ * Obtains the canonicalization algorithm that has been set in the resp= onse. + *

+ * = + * @return a {@code URI} that represents the canonicalization algorithm. + */ + public URI getCanonicalizationAlgorithm() + { + return canonicalizationAlgorithm; + } + + /** + *

+ * Sets the canonicalization algorithm in the response. + *

+ * = + * @param canonicalizationAlgorithm a {@code URI} that represents the a= lgorithm to be set. + */ + public void setCanonicalizationAlgorithm(URI canonicalizationAlgorithm) + { + this.canonicalizationAlgorithm =3D canonicalizationAlgorithm; + this.delegate.getAny().add(this.factory.createCanonicalizationAlgori= thm(canonicalizationAlgorithm.toString())); + } + + /** + *

+ * Obtains the {@code ProofEncryption} section of the response. The {@c= ode ProofEncryption} indicates that the + * requestor desires any returned secrets in issued security tokens to = be encrypted. + *

+ * = + * @return a reference to the {@code ProofEncryptionType} object. + */ + public ProofEncryptionType getProofEncryption() + { + return proofEncryption; + } + + /** + *

+ * Sets the {@code ProofEncryption} section of the response. The {@code= ProofEncryption} indicates that the requestor + * desires any returned secrets in issued security tokens to be encrypt= ed. + *

+ * = + * @param proofEncryption the {@code ProofEncryptionType} to be set. + */ + public void setProofEncryption(ProofEncryptionType proofEncryption) + { + this.proofEncryption =3D proofEncryption; + this.delegate.getAny().add(this.factory.createProofEncryption(proofE= ncryption)); + } + + /** + *

+ * Obtains the key that used in the returned token. + *

+ * = + * @return a reference to the {@code UseKeyType} instance that represen= ts the key used. + */ + public UseKeyType getUseKey() + { + return useKey; + } + + /** + *

+ * Sets the key that used in the returned token. + *

+ * = + * @param useKey the {@code UseKeyType} instance to be set. + */ + public void setUseKey(UseKeyType useKey) + { + this.useKey =3D useKey; + this.delegate.getAny().add(this.factory.createUseKey(useKey)); + } + + /** + *

+ * Obtains the signature algorithm used with the issued security token. + *

+ * = + * @return a {@code URI} representing the algorithm used. + */ + public URI getSignWith() + { + return signWith; + } + + /** + *

+ * Sets the signature algorithm used with the issued security token. + *

+ * = + * @param signWith a {@code URI} representing the algorithm used. + */ + public void setSignWith(URI signWith) + { + this.signWith =3D signWith; + this.delegate.getAny().add(this.factory.createSignatureAlgorithm(sig= nWith.toString())); + } + + /** + *

+ * Obtains the encryption algorithm used with the issued security token. + *

+ * = + * @return a {@code URI} representing the encryption algorithm used. + */ + public URI getEncryptWith() + { + return encryptWith; + } + + /** + *

+ * Sets the encryption algorithm used with the issued security token. + *

+ * = + * @param encryptWith a {@code URI} representing the algorithm used. + */ + public void setEncryptWith(URI encryptWith) + { + this.encryptWith =3D encryptWith; + this.delegate.getAny().add(this.factory.createEncryptWith(encryptWit= h.toString())); + } + + /** + *

+ * Obtains the identity to which the requested token should be delegate= d. + *

+ * = + * @return a reference to the {@code DelegateToType} instance that repr= esents the identity. + */ + public DelegateToType getDelegateTo() + { + return delegateTo; + } + + /** + *

+ * Sets the identity to which the requested token should be delegated. + *

+ * = + * @param delegateTo the {@code DelegateToType} object representing the= identity to be set. + */ + public void setDelegateTo(DelegateToType delegateTo) + { + this.delegateTo =3D delegateTo; + this.delegate.getAny().add(this.factory.createDelegateTo(delegateTo)= ); + } + + /** + *

+ * Indicates whether the requested token has been marked as "forwardabl= e" or not. In general, this flag is used when + * a token is normally bound to the requestor's machine or service. Usi= ng this flag, the returned token MAY be used + * from any source machine so long as the key is correctly proven. + *

+ * = + * @return {@code true} if the requested token has been marked as "forw= ardable"; {@code false} otherwise. + */ + public boolean isForwardable() + { + return forwardable; + } + + /** + *

+ * Specifies whether the requested token has been marked as "forwardabl= e" or not. In general, this flag is used when + * a token is normally bound to the requestor's machine or service. Usi= ng this flag, the returned token MAY be used + * from any source machine so long as the key is correctly proven. + *

+ * = + * @param forwardable {@code true} if the requested token has been mark= ed as "forwardable"; {@code false} otherwise. + */ + public void setForwardable(boolean forwardable) + { + this.forwardable =3D forwardable; + this.delegate.getAny().add(this.factory.createForwardable(forwardabl= e)); + } + + /** + *

+ * Indicates whether the requested token has been marked as "delegatabl= e" or not. Using this flag, the returned token + * MAY be delegated to another party. + *

+ * = + * @return {@code true} if the requested token has been marked as "dele= gatable"; {@code false} otherwise. + */ + public boolean isDelegatable() + { + return delegatable; + } + + /** + *

+ * Specifies whether the requested token has been marked as "delegatabl= e" or not. Using this flag, the returned token + * MAY be delegated to another party. + *

+ * = + * @param delegatable {@code true} if the requested token has been mark= ed as "delegatable"; {@code false} otherwise. + */ + public void setDelegatable(boolean delegatable) + { + this.delegatable =3D delegatable; + this.delegate.getAny().add(this.factory.createDelegatable(delegatabl= e)); + } + + /** + *

+ * Obtains the {@code Policy} that was associated with the request. The= policy specifies defaults that can be + * overridden by the previous properties. + *

+ * = + * @return a reference to the {@code Policy} that was associated with t= he request. + */ + public Policy getPolicy() + { + return policy; + } + + /** + *

+ * Sets the {@code Policy} in the response. The policy specifies defaul= ts that can be overridden by the previous + * properties. + *

+ * = + * @param policy the {@code Policy} instance to be set. + */ + public void setPolicy(Policy policy) + { + this.policy =3D policy; + this.delegate.getAny().add(policy); + } + + /** + *

+ * Obtains the reference to the {@code Policy} that was associated with= the request. + *

+ * = + * @return a {@code PolicyReference} that specifies where the {@code Po= licy} can be found. + */ + public PolicyReference getPolicyReference() + { + return policyReference; + } + + /** + *

+ * Sets the reference to the {@code Policy} that was associated with th= e request. + *

+ * = + * @param policyReference the {@code PolicyReference} object to be set. + */ + public void setPolicyReference(PolicyReference policyReference) + { + this.policyReference =3D policyReference; + this.delegate.getAny().add(policyReference); + } + + /** + *

+ * Obtains the list of request elements that are not part of the standa= rd content model. + *

+ * = + * @return a {@code List} containing the extension elements. + */ + public List getExtensionElements() + { + return Collections.unmodifiableList(this.extensionElements); + } + + /** + *

+ * Obtains the response context. + *

+ * = + * @return a {@code String} that identifies the original request. + */ + public String getContext() + { + return this.delegate.getContext(); + } + + /** + *

+ * Sets the response context. + *

+ * = + * @param context a {@code String} that identifies the original request. + */ + public void setContext(String context) + { + this.delegate.setContext(context); + } + + /** + *

+ * Obtains a map that contains attributes that aren't bound to any type= d property on the response. This is a live + * reference, so attributes can be added/changed/removed directly. For = this reason, there is no setter method. + *

+ * = + * @return a {@code Map} that contains the attributes. + */ + public Map getOtherAttributes() + { + return this.delegate.getOtherAttributes(); + } + + /** + *

+ * Gets a reference to the list that holds all response element values. + *

+ * = + * @return a {@code List} containing all values specified in th= e response. + */ + public List getAny() + { + return this.delegate.getAny(); + } + = + /** + *

+ * Obtains a reference to the {@code RequestSecurityTokenResponseType} = delegate. + *

+ * = + * @return a reference to the delegate instance. + */ + public RequestSecurityTokenResponseType getDelegate() + { + return this.delegate; + } +} Added: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/i= dentity/federation/api/wstrust/protocol/RequestSecurityTokenResponseCollect= ion.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityTokenResponseCollection= .java (rev 0) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/protocol/RequestSecurityTokenResponseCollection= .java 2009-02-09 18:47:40 UTC (rev 311) @@ -0,0 +1,124 @@ +/* + * 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.protocol; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponse= CollectionType; +import org.jboss.identity.federation.ws.trust.RequestSecurityTokenResponse= Type; + +/** + *

+ * This class represents a WS-Trust {@code RequestSecurityTokenResponseCol= lection}. It wraps the JAXB representation of + * the security token collection response. + *

+ * = + * @author Stefan Guilhen + */ +public class RequestSecurityTokenResponseCollection implements BaseRequest= SecurityTokenResponse +{ + + private final RequestSecurityTokenResponseCollectionType delegate; + + private final List requestSecurityTokenRe= sponses; + + /** + *

+ * Creates an instance of {@code RequestSecurityTokenResponseCollection= }. + *

+ */ + public RequestSecurityTokenResponseCollection() + { + this.requestSecurityTokenResponses =3D new ArrayList(); + this.delegate =3D new RequestSecurityTokenResponseCollectionType(); + } + + /** + *

+ * Creates an instance of {@code RequestSecurityTokenResponseCollection= } using the specified delegate. + *

+ * = + * @param delegate the JAXB {@code RequestSecurityTokenResponseCollecti= onType} that represents a WS-Trust request + * collection. + */ + public RequestSecurityTokenResponseCollection(RequestSecurityTokenRespo= nseCollectionType delegate) + { + this.delegate =3D delegate; + this.requestSecurityTokenResponses =3D new ArrayList(); + for (RequestSecurityTokenResponseType response : delegate.getRequest= SecurityTokenResponse()) + this.requestSecurityTokenResponses.add(new RequestSecurityTokenRe= sponse(response)); + } + + /** + *

+ * Obtains the collection of {@code RequestSecurityTokenResponse} objec= ts. The returned collection is immutable, so + * addition or removal of requests must be carried by the appropriate a= dd/remove methods. + *

+ * = + * @return a {@code List} containing the token re= quests. + */ + public List getRequestSecurityTokenRespon= ses() + { + return Collections.unmodifiableList(this.requestSecurityTokenRespons= es); + } + + /** + *

+ * Adds the specified {@code RequestSecurityTokenResponse} object to th= e collection of token requests. + *

+ * = + * @param request the {@code RequestSecurityTokenResponse} to be added. + */ + public void addRequestSecurityTokenResponse(RequestSecurityTokenRespons= e response) + { + this.delegate.getRequestSecurityTokenResponse().add(response.getDele= gate()); + this.requestSecurityTokenResponses.add(response); + } + + /** + *

+ * Removes the specified {@code RequestSecurityTokenResponse} object fr= om the collection of token requests. + *

+ * = + * @param request the {@code RequestSecurityTokenResponse} to be remove= d. + */ + public void removeRequestSecurityTokenResponse(RequestSecurityTokenResp= onse response) + { + this.delegate.getRequestSecurityTokenResponse().remove(response.getD= elegate()); + this.requestSecurityTokenResponses.remove(response); + } + + /** + *

+ * Obtains a reference to the {@code RequestSecurityTokenResponseCollec= tionType} delegate. + *

+ * = + * @return a reference to the delegate instance. + */ + public RequestSecurityTokenResponseCollectionType getDelegate() + { + return this.delegate; + } + +} Modified: identity-federation/trunk/identity-fed-core/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/.classpath 2009-02-09 05:17= :32 UTC (rev 310) +++ identity-federation/trunk/identity-fed-core/.classpath 2009-02-09 18:47= :40 UTC (rev 311) @@ -1,15 +1,20 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-core/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/.project 2009-02-09 05:17:3= 2 UTC (rev 310) +++ identity-federation/trunk/identity-fed-core/.project 2009-02-09 18:47:4= 0 UTC (rev 311) @@ -1,17 +1,16 @@ - - identity-fed-core - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + jboss-identity-fed-core + JBoss Identity Federation Core contains the core infrastructure= code + + jboss-identity-fed-model + jboss-identity-xmlsec-model + + + + org.eclipse.jdt.core.javabuilder + + + + org.eclipse.jdt.core.javanature + + \ No newline at end of file Modified: identity-federation/trunk/identity-fed-model/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/.classpath 2009-02-09 05:1= 7:32 UTC (rev 310) +++ identity-federation/trunk/identity-fed-model/.classpath 2009-02-09 18:4= 7:40 UTC (rev 311) @@ -7,32 +7,14 @@ - - - - - - - - - + + + - - - - - - - - - - - - \ No newline at end of file Modified: identity-federation/trunk/identity-fed-model/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/.project 2009-02-09 05:17:= 32 UTC (rev 310) +++ identity-federation/trunk/identity-fed-model/.project 2009-02-09 18:47:= 40 UTC (rev 311) @@ -1,7 +1,9 @@ jboss-identity-fed-model JBoss Identity Federation Model contains the JAXB2 model. - + + jboss-identity-xmlsec-model + org.eclipse.jdt.core.javabuilder Modified: identity-federation/trunk/identity-fed-model/src/test/java/org/jb= oss/test/identity/federation/ws/trust/UnmarshallingTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/te= st/identity/federation/ws/trust/UnmarshallingTestCase.java 2009-02-09 05:17= :32 UTC (rev 310) +++ identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/te= st/identity/federation/ws/trust/UnmarshallingTestCase.java 2009-02-09 18:47= :40 UTC (rev 311) @@ -54,7 +54,7 @@ @SuppressWarnings("unchecked") public void testUnmarshallTokenRequest() throws Exception { - JAXBContext context =3D JAXBContext.newInstance("org.jboss.identity.= federation.ws.trust"); + JAXBContext context =3D JAXBContext.newInstance("org.jboss.identity.= federation.ws.policy:org.jboss.identity.federation.ws.trust"); Unmarshaller unmarshaller =3D context.createUnmarshaller(); // this.setValidatingSchema("/schema/wstrust/v1_3/ws-trust-1.3.xsd",= unmarshaller); = Modified: identity-federation/trunk/identity-xmlsecmodel/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-02-09 05= :17:32 UTC (rev 310) +++ identity-federation/trunk/identity-xmlsecmodel/.classpath 2009-02-09 18= :47:40 UTC (rev 311) @@ -1,13 +1,12 @@ - - - - - - - - - - = - - + + + + + + + + + + + \ No newline at end of file Modified: identity-federation/trunk/identity-xmlsecmodel/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/.project 2009-02-09 05:1= 7:32 UTC (rev 310) +++ identity-federation/trunk/identity-xmlsecmodel/.project 2009-02-09 18:4= 7:40 UTC (rev 311) @@ -1,17 +1,13 @@ - - identity-xmlsec-model - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + jboss-identity-xmlsec-model + JBoss Identity Federation XML Security Model contains the JAXB2= model for W3C XML Signature and XML Encryption specifications. + + + + org.eclipse.jdt.core.javabuilder + + + + org.eclipse.jdt.core.javanature + + \ No newline at end of file --===============2800179207940054898==-- From jboss-identity-commits at lists.jboss.org Mon Feb 9 16:06:37 2009 Content-Type: multipart/mixed; boundary="===============2850670990938673659==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r312 - idm/trunk/idm. Date: Mon, 09 Feb 2009 16:06:37 -0500 Message-ID: --===============2850670990938673659== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-09 16:06:37 -0500 (Mon, 09 Feb 2009) New Revision: 312 Modified: idm/trunk/idm/.classpath Log: fix eclipse dep Modified: idm/trunk/idm/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/.classpath 2009-02-09 18:47:40 UTC (rev 311) +++ idm/trunk/idm/.classpath 2009-02-09 21:06:37 UTC (rev 312) @@ -11,7 +11,7 @@ - + --===============2850670990938673659==-- From jboss-identity-commits at lists.jboss.org Thu Feb 12 10:46:05 2009 Content-Type: multipart/mixed; boundary="===============2469486370198680400==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r313 - in identity-federation/trunk: identity-fed-api and 2 other directories. Date: Thu, 12 Feb 2009 10:46:05 -0500 Message-ID: --===============2469486370198680400== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-12 10:46:04 -0500 (Thu, 12 Feb 2009) New Revision: 313 Modified: 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 Log: correct cp Modified: identity-federation/trunk/identity-bindings/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/.classpath 2009-02-09 21:06= :37 UTC (rev 312) +++ identity-federation/trunk/identity-bindings/.classpath 2009-02-12 15:46= :04 UTC (rev 313) @@ -1,31 +1,32 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: identity-federation/trunk/identity-fed-api/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/.classpath 2009-02-09 21:06:= 37 UTC (rev 312) +++ identity-federation/trunk/identity-fed-api/.classpath 2009-02-12 15:46:= 04 UTC (rev 313) @@ -1,21 +1,22 @@ + - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + Modified: identity-federation/trunk/identity-fed-core/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/.classpath 2009-02-09 21:06= :37 UTC (rev 312) +++ identity-federation/trunk/identity-fed-core/.classpath 2009-02-12 15:46= :04 UTC (rev 313) @@ -1,20 +1,21 @@ + - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + Modified: identity-federation/trunk/identity-fed-model/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/.classpath 2009-02-09 21:0= 6:37 UTC (rev 312) +++ identity-federation/trunk/identity-fed-model/.classpath 2009-02-12 15:4= 6:04 UTC (rev 313) @@ -1,20 +1,21 @@ + - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + --===============2469486370198680400==-- From jboss-identity-commits at lists.jboss.org Thu Feb 12 10:58:50 2009 Content-Type: multipart/mixed; boundary="===============7865307985742112331==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r314 - in identity-federation/trunk: identity-fed-api and 1 other directory. Date: Thu, 12 Feb 2009 10:58:49 -0500 Message-ID: --===============7865307985742112331== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-12 10:58:49 -0500 (Thu, 12 Feb 2009) New Revision: 314 Modified: identity-federation/trunk/identity-bindings/.classpath identity-federation/trunk/identity-fed-api/.classpath Log: add jaxws-api as dep Modified: identity-federation/trunk/identity-bindings/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/.classpath 2009-02-12 15:46= :04 UTC (rev 313) +++ identity-federation/trunk/identity-bindings/.classpath 2009-02-12 15:58= :49 UTC (rev 314) @@ -28,5 +28,6 @@ + Modified: identity-federation/trunk/identity-fed-api/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/.classpath 2009-02-12 15:46:= 04 UTC (rev 313) +++ identity-federation/trunk/identity-fed-api/.classpath 2009-02-12 15:58:= 49 UTC (rev 314) @@ -18,5 +18,6 @@ + --===============7865307985742112331==-- From jboss-identity-commits at lists.jboss.org Thu Feb 12 12:50:18 2009 Content-Type: multipart/mixed; boundary="===============7492068937912860328==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r315 - in identity-federation/trunk: identity-fed-api/src/main/java/org/jboss/identity/federation/api/wstrust and 1 other directory. Date: Thu, 12 Feb 2009 12:50:18 -0500 Message-ID: --===============7492068937912860328== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sguilhen(a)redhat.com Date: 2009-02-12 12:50:18 -0500 (Thu, 12 Feb 2009) New Revision: 315 Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/trust/JBossRequestHandler.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/STSConfiguration.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/WSTrustUtil.java Log: Added lifetime handling to the generated tokens. Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/jboss/trust/JBossRequestHandler.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/trust/JBossRequestHandler.java 2009-02-12 1= 5:58:49 UTC (rev 314) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/trust/JBossRequestHandler.java 2009-02-12 1= 7:50:18 UTC (rev 315) @@ -32,6 +32,7 @@ import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= oken; import org.jboss.identity.federation.api.wstrust.protocol.RequestSecurityT= okenResponse; import org.jboss.identity.federation.ws.policy.AppliesTo; +import org.jboss.identity.federation.ws.trust.LifetimeType; import org.jboss.identity.federation.ws.trust.RequestedSecurityTokenType; = /** @@ -78,19 +79,23 @@ provider =3D this.configuration.getProviderForService(serviceN= ame); } // if applies-to is not available or if no provider was found for th= e service, use the token type. - else if(request.getTokenType() !=3D null && provider =3D=3D null) + if(provider =3D=3D null && request.getTokenType() !=3D null) { provider =3D this.configuration.getProviderForTokenType(request.g= etTokenType().toString()); } - else if(request.getTokenType() =3D=3D null) + else if(appliesTo =3D=3D null && request.getTokenType() =3D=3D null) throw new WSTrustException("Either AppliesTo or TokenType must be= present in a security token request"); = if(provider !=3D null) { // create the request context and delegate token generation to th= e provider. WSTrustRequestContext requestContext =3D new WSTrustRequestContex= t(request); - = - // TODO: add a lifetime to the request when one hasn't been speci= fied. = + if(request.getLifetime() =3D=3D null && this.configuration.getIss= uedTokenTimeout() !=3D 0) + { + // if no lifetime has been specified, use the configured timeo= ut value. + LifetimeType lifetime =3D WSTrustUtil.createDefaultLifetime(th= is.configuration.getIssuedTokenTimeout()); + request.setLifetime(lifetime); + } provider.issueToken(requestContext); = // construct the ws-trust security token response. @@ -103,8 +108,8 @@ if(request.getContext() !=3D null) response.setContext(request.getContext()); = - // TODO: obtain the token type even when the request doesn't have= one. response.setTokenType(request.getTokenType()); + response.setLifetime(request.getLifetime()); response.setAppliesTo(appliesTo); response.setRequestedSecurityToken(requestedSecurityToken); return response; Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/wstrust/STSConfiguration.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/STSConfiguration.java 2009-02-12 15:58:49 UTC (= rev 314) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/STSConfiguration.java 2009-02-12 17:50:18 UTC (= rev 315) @@ -59,6 +59,17 @@ * @return the token timeout value. */ public long getIssuedTokenTimeout(); + + /** + *

+ * 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. + *

+ * = + * @param serviceName the name of the service provider that requires a = token from its clients. + * @return a {@code String} representing the type of the token that sui= ts the specified service. + */ + public String getTokenTypeForService(String serviceName); = /** *

Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/wstrust/WSTrustUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustUtil.java 2009-02-12 15:58:49 UTC (rev 3= 14) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/wstrust/WSTrustUtil.java 2009-02-12 17:50:18 UTC (rev 3= 15) @@ -21,10 +21,17 @@ */ package org.jboss.identity.federation.api.wstrust; = +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.GregorianCalendar; +import java.util.Locale; + import javax.xml.bind.JAXBElement; = import org.jboss.identity.federation.ws.addressing.EndpointReferenceType; import org.jboss.identity.federation.ws.policy.AppliesTo; +import org.jboss.identity.federation.ws.trust.LifetimeType; +import org.jboss.identity.federation.ws.wss.utility.AttributedDateTime; = /** *

@@ -64,4 +71,55 @@ } return null; } + + /** + *

+ * Creates a {@code LifetimeType} instance that specifies a range of ti= me that starts at the current GMT time and has + * the specified duration in milliseconds. + *

+ * = + * @param tokenTimeout the token timeout value (in milliseconds). + * @return the constructed {@code LifetimeType} instance. + */ + public static LifetimeType createDefaultLifetime(long tokenTimeout) + { + long createdTime =3D getCurrentGMTTime(); + final SimpleDateFormat calendarFormatter =3D new SimpleDateFormat("y= yyy-MM-dd'T'HH:mm:ss'.'SSS'Z'", Locale + .getDefault()); + Calendar calendar =3D new GregorianCalendar(); + calendarFormatter.setTimeZone(calendar.getTimeZone()); + + // instantiate the "created" time. + calendar.setTimeInMillis(createdTime); + AttributedDateTime created =3D new AttributedDateTime(); + created.setValue(calendarFormatter.format(calendar.getTime())); + + // instantiate the "expires" time. + calendar.setTimeInMillis(createdTime + tokenTimeout); + AttributedDateTime expires =3D new AttributedDateTime(); + expires.setValue(calendarFormatter.format(calendar.getTime())); + + LifetimeType type =3D new LifetimeType(); + type.setCreated(created); + type.setExpires(expires); + return type; + } + + /** + *

+ * Obtains the current GMT time in milliseconds. + *

+ * = + * @return a long representing the current GMT time in milliseconds. + */ + public static long getCurrentGMTTime() + { + Calendar cal =3D new GregorianCalendar(); + int offset =3D cal.get(Calendar.ZONE_OFFSET); + if (cal.getTimeZone().inDaylightTime(cal.getTime())) + offset +=3D cal.getTimeZone().getDSTSavings(); + + // return the UTC/GMT time. + return cal.getTimeInMillis() - offset; + } } --===============7492068937912860328==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 16:07:24 2009 Content-Type: multipart/mixed; boundary="===============3517912368499482939==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r316 - /. Date: Fri, 13 Feb 2009 16:07:24 -0500 Message-ID: --===============3517912368499482939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 16:07:24 -0500 (Fri, 13 Feb 2009) New Revision: 316 Added: platform-build/ Log: workspace for building community platform --===============3517912368499482939==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 18:28:06 2009 Content-Type: multipart/mixed; boundary="===============1466277301721618566==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r317 - identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/jboss. Date: Fri, 13 Feb 2009 18:28:06 -0500 Message-ID: --===============1466277301721618566== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 18:28:06 -0500 (Fri, 13 Feb 2009) New Revision: 317 Removed: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/DefaultJBossSubjectRegistration.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/JBossSubjectRegistration.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/SecurityActions.java Log: delete jboss specific code as integration code for jboss is in a new module Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/jboss/DefaultJBossSubjectRegistration.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/DefaultJBossSubjectRegistration.java 2009-0= 2-13 21:07:24 UTC (rev 316) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/DefaultJBossSubjectRegistration.java 2009-0= 2-13 23:28:06 UTC (rev 317) @@ -1,73 +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.bindings.jboss; - -import java.lang.reflect.Method; -import java.security.acl.Group; - -import javax.security.auth.Subject; - -import org.apache.catalina.realm.GenericPrincipal; = -import org.apache.log4j.Logger; -import org.jboss.identity.federation.bindings.jboss.subject.JBossIdentityG= roup; -import org.jboss.identity.federation.bindings.jboss.subject.JBossIdentityP= rincipal; - -/** - * @author Anil.Saldhana(a)redhat.com - * @since Jan 16, 2009 - */ -public class DefaultJBossSubjectRegistration implements JBossSubjectRegist= ration -{ - protected Logger log =3D Logger.getLogger(DefaultJBossSubjectRegistrati= on.class); - = - public void register(GenericPrincipal principal) - { = - String sa =3D "org.jboss.security.SecurityAssociation"; - try - { - Class securityAssociationClass =3D SecurityActions.getContextC= lassLoader().loadClass(sa); - Method m =3D securityAssociationClass.getDeclaredMethod("setSubje= ct", new Class[] {Subject.class}); - Subject subject =3D this.getJBossSubjectFromTomcatPrincipal(princ= ipal); - m.invoke(null, subject); - } - catch(Exception e) - { - log.trace("Not a JBoss environment. So not registering in Securit= yAssociation"); - } - } - = - private Subject getJBossSubjectFromTomcatPrincipal(GenericPrincipal pri= ncipal) - { - Subject subject =3D new Subject(); - String[] roles =3D principal.getRoles(); - = - subject.getPrincipals().add(new JBossIdentityPrincipal(principal.get= Name())); - = - Group roleGroup =3D new JBossIdentityGroup("Roles"); - for(String role: roles) - { - roleGroup.addMember(new JBossIdentityPrincipal(role)); - } - = - return subject; - } -} \ No newline at end of file Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/jboss/JBossSubjectRegistration.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/JBossSubjectRegistration.java 2009-02-13 21= :07:24 UTC (rev 316) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/JBossSubjectRegistration.java 2009-02-13 23= :28:06 UTC (rev 317) @@ -1,39 +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.bindings.jboss; - -import org.apache.catalina.realm.GenericPrincipal; - -/** - * Register Tomcat Principal/Roles with the JBoss Setup. - * Mainly for propagation of identity to other containers. - * @author Anil.Saldhana(a)redhat.com - * @since Jan 16, 2009 - */ -public interface JBossSubjectRegistration -{ - /** - * Register the Tomcat Principal - * @param principal - */ - void register(GenericPrincipal principal); -} \ No newline at end of file Deleted: identity-federation/trunk/identity-bindings/src/main/java/org/jbos= s/identity/federation/bindings/jboss/SecurityActions.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/SecurityActions.java 2009-02-13 21:07:24 UT= C (rev 316) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/jboss/SecurityActions.java 2009-02-13 23:28:06 UT= C (rev 317) @@ -1,48 +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.bindings.jboss; - -import java.security.AccessController; -import java.security.PrivilegedAction; - -/** - * Privileged Blocks - * @author Anil.Saldhana(a)redhat.com - * @since Dec 9, 2008 - */ -class SecurityActions -{ - /** - * Get the Thread Context ClassLoader - * @return - */ - static ClassLoader getContextClassLoader() - { - return AccessController.doPrivileged(new PrivilegedAction() - { - public ClassLoader run() - { - return Thread.currentThread().getContextClassLoader(); - } - }); - } -} --===============1466277301721618566==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 18:28:53 2009 Content-Type: multipart/mixed; boundary="===============8393332871298319410==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r318 - in identity-federation/trunk/identity-bindings/src/main: resources/schema/config and 1 other directory. Date: Fri, 13 Feb 2009 18:28:53 -0500 Message-ID: --===============8393332871298319410== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 18:28:53 -0500 (Fri, 13 Feb 2009) New Revision: 318 Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/AuthPropertyType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/EncAlgoType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/EncryptionType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/IDPType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/KeyProviderType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/KeyValueType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/ObjectFactory.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/ProviderType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/SPType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/TrustType.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/package-info.java identity-federation/trunk/identity-bindings/src/main/resources/schema/co= nfig/jboss-identity-fed.xsd Log: updated config = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/AuthPropertyType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/AuthPropertyType.java 2009-02-13 23:28:06 = UTC (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/AuthPropertyType.java 2009-02-13 23:28:53 = UTC (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/EncAlgoType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncAlgoType.java 2009-02-13 23:28:06 UTC (= rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncAlgoType.java 2009-02-13 23:28:53 UTC (= rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/EncryptionType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncryptionType.java 2009-02-13 23:28:06 UT= C (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/EncryptionType.java 2009-02-13 23:28:53 UT= C (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/IDPType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/IDPType.java 2009-02-13 23:28:06 UTC (rev = 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/IDPType.java 2009-02-13 23:28:53 UTC (rev = 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/KeyProviderType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyProviderType.java 2009-02-13 23:28:06 U= TC (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyProviderType.java 2009-02-13 23:28:53 U= TC (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/KeyValueType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyValueType.java 2009-02-13 23:28:06 UTC = (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/KeyValueType.java 2009-02-13 23:28:53 UTC = (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/ObjectFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ObjectFactory.java 2009-02-13 23:28:06 UTC= (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ObjectFactory.java 2009-02-13 23:28:53 UTC= (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = @@ -42,27 +42,27 @@ } = /** - * Create an instance of {@link EncryptionType } + * Create an instance of {@link AuthPropertyType } * = */ - public EncryptionType createEncryptionType() { - return new EncryptionType(); + public AuthPropertyType createAuthPropertyType() { + return new AuthPropertyType(); } = /** - * Create an instance of {@link TrustType } + * Create an instance of {@link KeyProviderType } * = */ - public TrustType createTrustType() { - return new TrustType(); + public KeyProviderType createKeyProviderType() { + return new KeyProviderType(); } = /** - * Create an instance of {@link SPType } + * Create an instance of {@link EncryptionType } * = */ - public SPType createSPType() { - return new SPType(); + public EncryptionType createEncryptionType() { + return new EncryptionType(); } = /** @@ -74,35 +74,35 @@ } = /** - * Create an instance of {@link AuthPropertyType } + * Create an instance of {@link IDPType } * = */ - public AuthPropertyType createAuthPropertyType() { - return new AuthPropertyType(); + public IDPType createIDPType() { + return new IDPType(); } = /** - * Create an instance of {@link ProviderType } + * Create an instance of {@link SPType } * = */ - public ProviderType createProviderType() { - return new ProviderType(); + public SPType createSPType() { + return new SPType(); } = /** - * Create an instance of {@link KeyProviderType } + * Create an instance of {@link TrustType } * = */ - public KeyProviderType createKeyProviderType() { - return new KeyProviderType(); + public TrustType createTrustType() { + return new TrustType(); } = /** - * Create an instance of {@link IDPType } + * Create an instance of {@link ProviderType } * = */ - public IDPType createIDPType() { - return new IDPType(); + public ProviderType createProviderType() { + return new ProviderType(); } = /** Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/ProviderType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ProviderType.java 2009-02-13 23:28:06 UTC = (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/ProviderType.java 2009-02-13 23:28:53 UTC = (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = @@ -10,6 +10,7 @@ = 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.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; @@ -31,6 +32,14 @@ * <element name=3D"Trust" type=3D"{urn:jboss:identity-federati= on:config:1.0}TrustType" minOccurs=3D"0"/> * <element name=3D"KeyProvider" type=3D"{urn:jboss:identity-fe= deration:config:1.0}KeyProviderType" minOccurs=3D"0"/> * </sequence> + * <attribute name=3D"ServerEnvironment" default=3D"JBOSS"> + * <simpleType> + * <restriction base=3D"{http://www.w3.org/2001/XMLSchema}str= ing"> + * <enumeration value=3D"JBOSS"/> + * <enumeration value=3D"TOMCAT"/> + * </restriction> + * </simpleType> + * </attribute> * </restriction> * </complexContent> * </complexType> @@ -56,6 +65,8 @@ protected TrustType trust; @XmlElement(name =3D "KeyProvider") protected KeyProviderType keyProvider; + @XmlAttribute(name =3D "ServerEnvironment") + protected String serverEnvironment; = /** * Gets the value of the identityURL property. @@ -129,4 +140,32 @@ this.keyProvider =3D value; } = + /** + * Gets the value of the serverEnvironment property. + * = + * @return + * possible object is + * {@link String } + * = + */ + public String getServerEnvironment() { + if (serverEnvironment =3D=3D null) { + return "JBOSS"; + } else { + return serverEnvironment; + } + } + + /** + * Sets the value of the serverEnvironment property. + * = + * @param value + * allowed object is + * {@link String } + * = + */ + public void setServerEnvironment(String value) { + this.serverEnvironment =3D value; + } + } Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/SPType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/SPType.java 2009-02-13 23:28:06 UTC (rev 3= 17) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/SPType.java 2009-02-13 23:28:53 UTC (rev 3= 18) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/TrustType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/TrustType.java 2009-02-13 23:28:06 UTC (re= v 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/TrustType.java 2009-02-13 23:28:53 UTC (re= v 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/config/package-info.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/package-info.java 2009-02-13 23:28:06 UTC = (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/config/package-info.java 2009-02-13 23:28:53 UTC = (rev 318) @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB= ) Reference Implementation, vhudson-jaxb-ri-2.1-661 = // See http://java.sun.com/xml/ja= xb = // Any modifications to this file will be lost upon recompilation of the s= ource schema. = -// Generated on: 2009.02.04 at 09:20:44 PM CST = +// Generated on: 2009.02.12 at 11:14:14 AM CST = // = @javax.xml.bind.annotation.XmlSchema(namespace =3D "urn:jboss:identity-fed= eration:config:1.0", elementFormDefault =3D javax.xml.bind.annotation.XmlNs= Form.QUALIFIED) Modified: identity-federation/trunk/identity-bindings/src/main/resources/sc= hema/config/jboss-identity-fed.xsd =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/resources/schema/c= onfig/jboss-identity-fed.xsd 2009-02-13 23:28:06 UTC (rev 317) +++ identity-federation/trunk/identity-bindings/src/main/resources/schema/c= onfig/jboss-identity-fed.xsd 2009-02-13 23:28:53 UTC (rev 318) @@ -106,7 +106,16 @@ - = + + + + + + + + + + = --===============8393332871298319410==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 18:29:27 2009 Content-Type: multipart/mixed; boundary="===============5409623090731650398==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r319 - in identity-federation/trunk/identity-bindings: src/main/java/org/jboss/identity/federation/bindings/tomcat/sp and 1 other directories. Date: Fri, 13 Feb 2009 18:29:27 -0500 Message-ID: --===============5409623090731650398== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 18:29:27 -0500 (Fri, 13 Feb 2009) New Revision: 319 Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/holder/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/holder/ServiceProviderSAMLContext.java Modified: identity-federation/trunk/identity-bindings/.project identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPUtil.java Log: handle jboss registration Modified: identity-federation/trunk/identity-bindings/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/.project 2009-02-13 23:28:5= 3 UTC (rev 318) +++ identity-federation/trunk/identity-bindings/.project 2009-02-13 23:29:2= 7 UTC (rev 319) @@ -1,6 +1,6 @@ jboss-identity-bindings - JBoss Identity OpenSAML contains the foundation for Federated I= dentity Needs. + JBoss Identity Bindings jboss-identity-fed-api jboss-identity-fed-core @@ -15,4 +15,4 @@ org.eclipse.jdt.core.javanature - \ No newline at end of file + Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java 2009-0= 2-13 23:28:53 UTC (rev 318) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java 2009-0= 2-13 23:29:27 UTC (rev 319) @@ -25,6 +25,7 @@ import java.io.IOException; import java.io.InputStream; import java.security.Principal; +import java.util.Arrays; import java.util.List; = import javax.servlet.ServletException; @@ -44,8 +45,7 @@ import org.jboss.identity.federation.api.util.DeflateUtil; import org.jboss.identity.federation.bindings.config.SPType; import org.jboss.identity.federation.bindings.config.TrustType; -import org.jboss.identity.federation.bindings.jboss.DefaultJBossSubjectReg= istration; -import org.jboss.identity.federation.bindings.jboss.JBossSubjectRegistrati= on; +import org.jboss.identity.federation.bindings.tomcat.sp.holder.ServiceProv= iderSAMLContext; import org.jboss.identity.federation.bindings.util.HTTPRedirectUtil; import org.jboss.identity.federation.bindings.util.RedirectBindingUtil; import org.jboss.identity.federation.bindings.util.ValveUtil; @@ -64,35 +64,18 @@ * @since Dec 12, 2008 */ public class SPRedirectFormAuthenticator extends FormAuthenticator = -{ - +{ = private static Logger log =3D Logger.getLogger(SPRedirectFormAuthentica= tor.class); = protected SPType spConfiguration =3D null; = private String serviceURL =3D null; private String identityURL =3D null; - = - //Only important if you are deploying in JBoss environment - private JBossSubjectRegistration jbossRegistration =3D new DefaultJBoss= SubjectRegistration(); = public SPRedirectFormAuthenticator() { super(); = } = - = - /** - * For JBoss Deployment, you can change the value of - * the {@code}JBossSubjectRegistration class - * @param fqn - * @throws Exception - */ - public void setJBossSubjectRegistration(String fqn) throws Exception - { - ClassLoader tcl =3D SecurityActions.getContextClassLoader(); - Class clazz =3D tcl.loadClass(fqn); - this.jbossRegistration =3D (JBossSubjectRegistration) clazz.newInsta= nce(); - } = @Override public void start() throws LifecycleException @@ -131,24 +114,34 @@ //Try to get the username try { - Principal p =3D process(request,response); - if(p =3D=3D null) + principal =3D (GenericPrincipal) process(request,response); + = + if(principal =3D=3D null) { String destination =3D createSAMLRequestMessage( relayState, r= esponse); = HTTPRedirectUtil.sendRedirectForRequestor(destination, respons= e); = return false; } - String username =3D p.getName(); - String password =3D "FED_IDENTITY"; + = + String username =3D principal.getName(); + String password =3D ServiceProviderSAMLContext.EMPTY_PASSWORD; + = + //Map to JBoss specific principal + if(spConfiguration.getServerEnvironment().equalsIgnoreCase("JBOSS= ")) + { + GenericPrincipal gp =3D (GenericPrincipal) principal; + //Push a context + ServiceProviderSAMLContext.push(username, Arrays.asList(gp.get= Roles())); + principal =3D context.getRealm().authenticate(username, passwo= rd); = + ServiceProviderSAMLContext.clear(); + } = + = session.setNote(Constants.SESS_USERNAME_NOTE, username); session.setNote(Constants.SESS_PASSWORD_NOTE, password); - request.setUserPrincipal(p); - register(request, response, p, Constants.FORM_METHOD, username, p= assword); + request.setUserPrincipal(principal); + register(request, response, principal, Constants.FORM_METHOD, use= rname, password); = = - //Also register in JBoss SecurityAssociation - this.jbossRegistration.register((GenericPrincipal) principal); = - = return true; } catch(AssertionExpiredException aie) @@ -161,14 +154,12 @@ } catch (Exception e) { - //TODO: send a saml response message log.trace("Exception:",e); = } return false; } catch(Exception e) { - //TODO: send a saml response message log.debug("Exception :",e); = } = Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPUtil.java 2009-02-13 23:28:53 UTC (re= v 318) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPUtil.java 2009-02-13 23:29:27 UTC (re= v 319) @@ -75,6 +75,7 @@ * Handle the SAMLResponse from the IDP * @param request entire request from IDP * @param responseType ResponseType that has been generated + * @param serverEnvironment tomcat,jboss etc * @return * @throws Exception */ Added: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/= identity/federation/bindings/tomcat/sp/holder/ServiceProviderSAMLContext.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/holder/ServiceProviderSAMLContext.java = (rev 0) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/holder/ServiceProviderSAMLContext.java = 2009-02-13 23:29:27 UTC (rev 319) @@ -0,0 +1,59 @@ +/* + * 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.bindings.tomcat.sp.holder; + +import java.util.List; + +/** + * A context of username/roles to be used by login modules + * @author Anil.Saldhana(a)redhat.com + * @since Feb 13, 2009 + */ +public class ServiceProviderSAMLContext +{ + public static final String EMPTY_PASSWORD =3D "EMPTY_STR"; + = + private static ThreadLocal username =3D new ThreadLocal= (); + private static ThreadLocal> userRoles =3D new ThreadLocal<= List>(); + = + public static void push(String user, List roles) + { + username.set(user); + userRoles.set(roles); + } + = + public static void clear() + { + username.remove(); + userRoles.remove(); + } + + public static String getUserName() + { + return username.get(); + } + = + public static List getRoles() + { + return userRoles.get(); + } +} \ No newline at end of file --===============5409623090731650398==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 18:30:50 2009 Content-Type: multipart/mixed; boundary="===============2624027674179159749==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r320 - in identity-federation/trunk: identity-bindings-jboss and 11 other directories. Date: Fri, 13 Feb 2009 18:30:49 -0500 Message-ID: --===============2624027674179159749== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 18:30:49 -0500 (Fri, 13 Feb 2009) New Revision: 320 Added: identity-federation/trunk/identity-bindings-jboss/ identity-federation/trunk/identity-bindings-jboss/.classpath identity-federation/trunk/identity-bindings-jboss/.project identity-federation/trunk/identity-bindings-jboss/pom.xml 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/jbos= s/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/jboss/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/jboss/auth/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/jboss/auth/SAML2LoginModule.java identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/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/ Log: jboss integration code Added: identity-federation/trunk/identity-bindings-jboss/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings-jboss/.classpath = (rev 0) +++ identity-federation/trunk/identity-bindings-jboss/.classpath 2009-02-13= 23:30:49 UTC (rev 320) @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: identity-federation/trunk/identity-bindings-jboss/.project =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings-jboss/.project = (rev 0) +++ identity-federation/trunk/identity-bindings-jboss/.project 2009-02-13 2= 3:30:49 UTC (rev 320) @@ -0,0 +1,18 @@ + + jboss-identity-bindings-jboss + JBoss Identity Bindings for JBoss. + + jboss-identity-fed-api + jboss-identity-fed-core + jboss-identity-fed-model + jboss-identity-xmlsec-model + + + + org.eclipse.jdt.core.javabuilder + + + + org.eclipse.jdt.core.javanature + + Added: identity-federation/trunk/identity-bindings-jboss/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings-jboss/pom.xml = (rev 0) +++ identity-federation/trunk/identity-bindings-jboss/pom.xml 2009-02-13 23= :30:49 UTC (rev 320) @@ -0,0 +1,113 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + + 4.0.0 + jboss-identity-bindings-jboss + jar + JBoss Identity Federation Server Bindings for JBoss + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity OpenSAML contains the foundation for Federa= ted Identity Needs. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + + + maven-surefire-plugin + 2.4.3 + + true + false + false + + **/**TestCase.java + + pertest + -Djava.endorsed.dirs=3D${basedir}/src/test/resources/= endorsed + false + false + + + + + + + + org.jboss.identity + jboss-identity-fed-model + ${project.version} + + + org.jboss.identity + jboss-identity-fed-api + ${project.version} + + + org.jboss.identity + jboss-identity-bindings + ${project.version} + + + javax.servlet + servlet-api + 2.4 + + + org.apache.tomcat + catalina + 6.0.18 + + + org.jboss.security + jbosssx + 2.0.2.SP6 + compile + + + junit + junit + test + + + = + + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.jboss.apiviz.APIviz + + org.jboss.apiviz + apiviz + 1.2.5.GA + + + -charset UTF-8 + -docencoding UTF-8 + -version + -author + -breakiterator + -windowtitle "${project.name} ${project.version} API Reference" + -doctitle "${project.name} ${project.version} API Reference" + -bottom "Copyright =C2=A9 ${project.inceptionYear}-Present ${p= roject.organization.name}. All Rights Reserved." + -link http://java.sun.com/javase/6/docs/api/ + -sourceclasspath ${project.build.outputDirectory} + + UTF-8 + + + + + Added: identity-federation/trunk/identity-bindings-jboss/src/main/java/org/= jboss/identity/federation/bindings/jboss/auth/SAML2LoginModule.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbo= ss/identity/federation/bindings/jboss/auth/SAML2LoginModule.java = (rev 0) +++ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbo= ss/identity/federation/bindings/jboss/auth/SAML2LoginModule.java 2009-02-13= 23:30:49 UTC (rev 320) @@ -0,0 +1,79 @@ +/* + * 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.bindings.jboss.auth; + +import java.security.Principal; +import java.security.acl.Group; +import java.util.List; + +import javax.security.auth.login.LoginException; + +import org.jboss.identity.federation.bindings.tomcat.sp.holder.ServiceProv= iderSAMLContext; +import org.jboss.security.SimpleGroup; +import org.jboss.security.SimplePrincipal; +import org.jboss.security.auth.spi.UsernamePasswordLoginModule; + +/** + * Login Module that is capable of dealing with SAML2 cases + *

+ * The password sent to this module should be = + * {@link ServiceProviderSAMLContext#EMPTY_PASSWORD} + *

+ *

+ * The username is available from {@link ServiceProviderSAMLContext#getUse= rName()} + * and roles is available from {@link ServiceProviderSAMLContext#getRoles(= )}. + * If the roles is null, then plugged in login modules in the stack have t= o provide + * the roles. + *

+ * @author Anil.Saldhana(a)redhat.com + * @since Feb 13, 2009 + */ +public class SAML2LoginModule extends UsernamePasswordLoginModule +{ = + @Override + protected Principal getIdentity() + { = + return new SimplePrincipal(ServiceProviderSAMLContext.getUserName()); + } + + @Override + protected Group[] getRoleSets() throws LoginException + { + Group group =3D new SimpleGroup("Roles"); + = + List roles =3D ServiceProviderSAMLContext.getRoles(); + if(roles !=3D null) + { + for(String role: roles) + { + group.addMember(new SimplePrincipal(role)); + } + } + return new Group[] {group}; + } + + @Override + protected String getUsersPassword() throws LoginException + { + return ServiceProviderSAMLContext.EMPTY_PASSWORD; + } +} \ No newline at end of file --===============2624027674179159749==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 18:31:11 2009 Content-Type: multipart/mixed; boundary="===============5985877211163231629==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r321 - identity-federation/trunk. Date: Fri, 13 Feb 2009 18:31:10 -0500 Message-ID: --===============5985877211163231629== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 18:31:10 -0500 (Fri, 13 Feb 2009) New Revision: 321 Modified: identity-federation/trunk/pom.xml Log: jboss integration code Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-13 23:30:49 UTC (rev 320) +++ identity-federation/trunk/pom.xml 2009-02-13 23:31:10 UTC (rev 321) @@ -20,6 +20,7 @@ identity-fed-core identity-fed-api identity-bindings + identity-bindings-jboss assembly = --===============5985877211163231629==-- From jboss-identity-commits at lists.jboss.org Fri Feb 13 18:31:25 2009 Content-Type: multipart/mixed; boundary="===============7467545651979721090==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r322 - identity-federation/trunk/assembly. Date: Fri, 13 Feb 2009 18:31:25 -0500 Message-ID: --===============7467545651979721090== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-13 18:31:25 -0500 (Fri, 13 Feb 2009) New Revision: 322 Modified: identity-federation/trunk/assembly/bin.xml identity-federation/trunk/assembly/sources.xml Log: remove bindings out of assembly Modified: identity-federation/trunk/assembly/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/bin.xml 2009-02-13 23:31:10 UTC (rev= 321) +++ identity-federation/trunk/assembly/bin.xml 2009-02-13 23:31:25 UTC (rev= 322) @@ -20,9 +20,5 @@ ${basedir}/../identity-fed-api/target/classes/ / - - ${basedir}/../identity-bindings/target/classes/ - / - Modified: identity-federation/trunk/assembly/sources.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/sources.xml 2009-02-13 23:31:10 UTC = (rev 321) +++ identity-federation/trunk/assembly/sources.xml 2009-02-13 23:31:25 UTC = (rev 322) @@ -21,10 +21,6 @@ ${basedir}/../identity-fed-api/src/main/java / - - ${basedir}/../identity-bindings/src/main/java - / - = --===============7467545651979721090==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:28:05 2009 Content-Type: multipart/mixed; boundary="===============2578430698356456064==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r324 - identity-federation/trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:28:04 -0500 Message-ID: --===============2578430698356456064== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:28:03 -0500 (Tue, 17 Feb 2009) New Revision: 324 Added: doc/ Removed: identity-federation/trunk/doc/ Log: move doc module out Copied: doc (from rev 323, identity-federation/trunk/doc) --===============2578430698356456064==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:28:38 2009 Content-Type: multipart/mixed; boundary="===============2430686349756294658==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r325 - identity-federation/trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:28:37 -0500 Message-ID: --===============2430686349756294658== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:28:37 -0500 (Tue, 17 Feb 2009) New Revision: 325 Added: identity-federation/trunk/identity-doc/ Removed: doc/ Log: move doc module out Copied: identity-federation/trunk/identity-doc (from rev 324, doc) --===============2430686349756294658==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:30:03 2009 Content-Type: multipart/mixed; boundary="===============8704746028630156720==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r326 - identity-federation/trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:30:03 -0500 Message-ID: --===============8704746028630156720== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:30:03 -0500 (Tue, 17 Feb 2009) New Revision: 326 Added: identity-doc/ Removed: identity-federation/trunk/identity-doc/ Log: move doc module out = Copied: identity-doc (from rev 325, identity-federation/trunk/identity-doc) --===============8704746028630156720==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:32:27 2009 Content-Type: multipart/mixed; boundary="===============1834946753564189299==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r327 - identity-doc. Date: Tue, 17 Feb 2009 17:32:27 -0500 Message-ID: --===============1834946753564189299== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:32:27 -0500 (Tue, 17 Feb 2009) New Revision: 327 Added: identity-doc/trunk/ Log: trunk dir --===============1834946753564189299==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:33:10 2009 Content-Type: multipart/mixed; boundary="===============1918076352866016362==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r328 - in identity-doc: trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:33:09 -0500 Message-ID: --===============1918076352866016362== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:33:09 -0500 (Tue, 17 Feb 2009) New Revision: 328 Added: identity-doc/trunk/DeveloperGuide/ Removed: identity-doc/DeveloperGuide/ Log: move into trunk Copied: identity-doc/trunk/DeveloperGuide (from rev 327, identity-doc/Devel= operGuide) --===============1918076352866016362==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:33:37 2009 Content-Type: multipart/mixed; boundary="===============4305739811086571976==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r329 - in identity-doc: trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:33:37 -0500 Message-ID: --===============4305739811086571976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:33:37 -0500 (Tue, 17 Feb 2009) New Revision: 329 Added: identity-doc/trunk/UserGuide/ Removed: identity-doc/UserGuide/ Log: move into trunk Copied: identity-doc/trunk/UserGuide (from rev 328, identity-doc/UserGuide) --===============4305739811086571976==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:34:05 2009 Content-Type: multipart/mixed; boundary="===============2264401592547940927==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r330 - in identity-doc: trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:34:05 -0500 Message-ID: --===============2264401592547940927== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:34:04 -0500 (Tue, 17 Feb 2009) New Revision: 330 Added: identity-doc/trunk/images/ Removed: identity-doc/images/ Log: move into trunk Copied: identity-doc/trunk/images (from rev 329, identity-doc/images) --===============2264401592547940927==-- From jboss-identity-commits at lists.jboss.org Tue Feb 17 17:34:17 2009 Content-Type: multipart/mixed; boundary="===============0269981066413380922==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r331 - in identity-doc: trunk and 1 other directory. Date: Tue, 17 Feb 2009 17:34:17 -0500 Message-ID: --===============0269981066413380922== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-17 17:34:17 -0500 (Tue, 17 Feb 2009) New Revision: 331 Added: identity-doc/trunk/pom.xml Removed: identity-doc/pom.xml Log: move into trunk Deleted: identity-doc/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/pom.xml 2009-02-17 22:34:04 UTC (rev 330) +++ identity-doc/pom.xml 2009-02-17 22:34:17 UTC (rev 331) @@ -1,20 +0,0 @@ - - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - - - 4.0.0 - org.jboss.identity.federation.docs - jboss-identity-federation-docs - pom - JBoss Identity Federation Docs - http://www.jboss.com/products/jbossidentity - JBoss Identity Federation Documentation - - UserGuide - DeveloperGuide - - Copied: identity-doc/trunk/pom.xml (from rev 330, identity-doc/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml (rev 0) +++ identity-doc/trunk/pom.xml 2009-02-17 22:34:17 UTC (rev 331) @@ -0,0 +1,20 @@ + + + org.jboss.identity + jboss-identity-fed-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + + + 4.0.0 + org.jboss.identity.federation.docs + jboss-identity-federation-docs + pom + JBoss Identity Federation Docs + http://www.jboss.com/products/jbossidentity + JBoss Identity Federation Documentation + + UserGuide + DeveloperGuide + + --===============0269981066413380922==-- From jboss-identity-commits at lists.jboss.org Wed Feb 18 00:42:08 2009 Content-Type: multipart/mixed; boundary="===============1980025667825515666==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r332 - in identity-federation/trunk/identity-bindings/src/main/java/org/jboss/identity/federation/bindings/tomcat: sp and 1 other directory. Date: Wed, 18 Feb 2009 00:42:08 -0500 Message-ID: --===============1980025667825515666== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-18 00:42:08 -0500 (Wed, 18 Feb 2009) New Revision: 332 Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/idp/IDPRedirectValve.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/SPUtil.java Log: JBID-52: fix the resource path to start with /WEB-INF Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/idp/IDPRedirectValve.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/idp/IDPRedirectValve.java 2009-02-17 22:34= :17 UTC (rev 331) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/idp/IDPRedirectValve.java 2009-02-18 05:42= :08 UTC (rev 332) @@ -406,7 +406,7 @@ lifecycle.fireLifecycleEvent(START_EVENT, null); started =3D true; = - String configFile =3D "WEB-INF/jboss-idfed.xml"; = + String configFile =3D "/WEB-INF/jboss-idfed.xml"; = Context context =3D (Context) getContainer(); InputStream is =3D context.getServletContext().getResourceAsStream(= configFile); if(is =3D=3D null) Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java 2009-0= 2-17 22:34:17 UTC (rev 331) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPRedirectFormAuthenticator.java 2009-0= 2-18 05:42:08 UTC (rev 332) @@ -80,8 +80,9 @@ @Override public void start() throws LifecycleException { - String configFile =3D "WEB-INF/jboss-idfed.xml"; + String configFile =3D "/WEB-INF/jboss-idfed.xml"; super.start(); + = InputStream is =3D context.getServletContext().getResourceAsStream(c= onfigFile); if(is =3D=3D null) throw new RuntimeException(configFile + " missing"); Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/tomcat/sp/SPUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPUtil.java 2009-02-17 22:34:17 UTC (re= v 331) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/tomcat/sp/SPUtil.java 2009-02-18 05:42:08 UTC (re= v 332) @@ -128,7 +128,6 @@ return this.createGenericPrincipal(request, userName, roles); = } = = - = private Principal createGenericPrincipal(Request request, String userna= me, List roles) { = Context ctx =3D request.getContext(); --===============1980025667825515666==-- From jboss-identity-commits at lists.jboss.org Wed Feb 18 01:13:17 2009 Content-Type: multipart/mixed; boundary="===============6171086722651506812==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r333 - in identity-doc/trunk: DeveloperGuide and 2 other directories. Date: Wed, 18 Feb 2009 01:13:13 -0500 Message-ID: --===============6171086722651506812== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-18 01:13:13 -0500 (Wed, 18 Feb 2009) New Revision: 333 Removed: identity-doc/trunk/UserGuide/src/main/docbook/images/ Modified: identity-doc/trunk/DeveloperGuide/pom.xml identity-doc/trunk/UserGuide/pom.xml identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml identity-doc/trunk/pom.xml Log: workspace fixes Modified: identity-doc/trunk/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-18 05:42:08 UTC (rev = 332) +++ identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-18 06:13:13 UTC (rev = 333) @@ -1,20 +1,14 @@ - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT - ../../parent - - 4.0.0 org.jboss.identity.federation Developer-Guide-${translation} + 1.0.0-SNAPSHOT jdocbook Developer Guide (${translation}) - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-doc/tags/1.0.0.alpha1-SNAPSHOT = = @@ -23,13 +17,21 @@ org.jboss.maven.plugins maven-jdocbook-plugin - 2.0.0 + 2.1.2 true org.jboss jbossorg-docbook-xslt 1.1.0 + org.jboss Modified: identity-doc/trunk/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-18 05:42:08 UTC (rev 332) +++ identity-doc/trunk/UserGuide/pom.xml 2009-02-18 06:13:13 UTC (rev 333) @@ -1,22 +1,15 @@ = - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT - ../../parent - - 4.0.0 - org.jboss.identity.federation User-Guide-${translation} + 1.0.0-SNAPSHOT jdocbook User Guide (${translation}) - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-federation/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-doc/tags/1.0.0.alpha1-SNAPSHOT = @@ -24,7 +17,7 @@ org.jboss.maven.plugins maven-jdocbook-plugin - 2.0.0 + 2.1.2 true Modified: identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-18 = 05:42:08 UTC (rev 332) +++ identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-18 = 06:13:13 UTC (rev 333) @@ -131,7 +131,7 @@ - = @@ -814,4 +814,4 @@ - \ No newline at end of file + Modified: identity-doc/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml 2009-02-18 05:42:08 UTC (rev 332) +++ identity-doc/trunk/pom.xml 2009-02-18 06:13:13 UTC (rev 333) @@ -1,20 +1,19 @@ - - org.jboss.identity - jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - + + org.jboss + jboss-parent + 3 + = 4.0.0 - org.jboss.identity.federation.docs - jboss-identity-federation-docs + org.jboss.identity.docs + jboss-identity-docs pom - JBoss Identity Federation Docs + JBoss Identity Docs http://www.jboss.com/products/jbossidentity - JBoss Identity Federation Documentation + JBoss Identity Documentation - UserGuide DeveloperGuide + UserGuide --===============6171086722651506812==-- From jboss-identity-commits at lists.jboss.org Wed Feb 18 01:30:15 2009 Content-Type: multipart/mixed; boundary="===============7460747123780621126==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r334 - in identity-doc/trunk: DeveloperGuide and 2 other directories. Date: Wed, 18 Feb 2009 01:30:15 -0500 Message-ID: --===============7460747123780621126== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-18 01:30:15 -0500 (Wed, 18 Feb 2009) New Revision: 334 Added: identity-doc/trunk/parent/ identity-doc/trunk/parent/pom.xml Modified: identity-doc/trunk/DeveloperGuide/pom.xml identity-doc/trunk/UserGuide/pom.xml identity-doc/trunk/pom.xml Log: workspace Modified: identity-doc/trunk/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-18 06:13:13 UTC (rev = 333) +++ identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-18 06:30:15 UTC (rev = 334) @@ -2,7 +2,7 @@ 4.0.0 org.jboss.identity.federation Developer-Guide-${translation} - 1.0.0-SNAPSHOT + 1.0.0.alpha1-SNAPSHOT jdocbook Developer Guide (${translation}) @@ -24,14 +24,6 @@ org.jboss jbossorg-docbook-xslt 1.1.0 - org.jboss Modified: identity-doc/trunk/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-18 06:13:13 UTC (rev 333) +++ identity-doc/trunk/UserGuide/pom.xml 2009-02-18 06:30:15 UTC (rev 334) @@ -3,7 +3,7 @@ 4.0.0 org.jboss.identity.federation User-Guide-${translation} - 1.0.0-SNAPSHOT + 1.0.0.alpha1-SNAPSHOT jdocbook User Guide (${translation}) Added: identity-doc/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/parent/pom.xml (rev 0) +++ identity-doc/trunk/parent/pom.xml 2009-02-18 06:30:15 UTC (rev 334) @@ -0,0 +1,83 @@ + + + org.jboss + jboss-parent + 4 + + 4.0.0 + org.jboss.identity + jboss-identity-doc-parent + pom + 1.0.0.alpha1-SNAPSHOT + JBoss Identity Doc- Parent + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity is a cross-cutting project that handles ident= ity needs for the JEMS projects + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha1 + + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/identity-doc= /tags + + + + + + + maven-surefire-plugin + + true + false + true + + **/**TestCase.java + + pertest + ${surefire.jvm.args} + false + false + + + + + + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + + + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + + + Modified: identity-doc/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml 2009-02-18 06:13:13 UTC (rev 333) +++ identity-doc/trunk/pom.xml 2009-02-18 06:30:15 UTC (rev 334) @@ -1,18 +1,21 @@ - org.jboss - jboss-parent - 3 + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha1-SNAPSHOT + parent = 4.0.0 org.jboss.identity.docs jboss-identity-docs + 1.0.0.alpha1-SNAPSHOT pom JBoss Identity Docs http://www.jboss.com/products/jbossidentity JBoss Identity Documentation + parent DeveloperGuide UserGuide --===============7460747123780621126==-- From jboss-identity-commits at lists.jboss.org Wed Feb 18 01:51:32 2009 Content-Type: multipart/mixed; boundary="===============1879931683605577418==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r335 - identity-doc/trunk/parent. Date: Wed, 18 Feb 2009 01:51:32 -0500 Message-ID: --===============1879931683605577418== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-18 01:51:32 -0500 (Wed, 18 Feb 2009) New Revision: 335 Modified: identity-doc/trunk/parent/pom.xml Log: fix version Modified: identity-doc/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/parent/pom.xml 2009-02-18 06:30:15 UTC (rev 334) +++ identity-doc/trunk/parent/pom.xml 2009-02-18 06:51:32 UTC (rev 335) @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha1-SNAPSHOT --===============1879931683605577418==-- From jboss-identity-commits at lists.jboss.org Thu Feb 19 17:03:43 2009 Content-Type: multipart/mixed; boundary="===============2968897699298484676==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r336 - identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test/identity/federation/core/util. Date: Thu, 19 Feb 2009 17:03:43 -0500 Message-ID: --===============2968897699298484676== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-19 17:03:43 -0500 (Thu, 19 Feb 2009) New Revision: 336 Modified: identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/test= /identity/federation/core/util/XMLTimeUtilUnitTestCase.java Log: simple fix Modified: identity-federation/trunk/identity-fed-core/src/test/java/org/jbo= ss/test/identity/federation/core/util/XMLTimeUtilUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/tes= t/identity/federation/core/util/XMLTimeUtilUnitTestCase.java 2009-02-18 06:= 51:32 UTC (rev 335) +++ identity-federation/trunk/identity-fed-core/src/test/java/org/jboss/tes= t/identity/federation/core/util/XMLTimeUtilUnitTestCase.java 2009-02-19 22:= 03:43 UTC (rev 336) @@ -52,7 +52,9 @@ //Add 5 minutes nowG.roll(Calendar.MINUTE, 5); = - assertTrue(nowG.compareTo(now5M) =3D=3D 0); + int val =3D nowG.compareTo(now5M); + = + assertTrue( val =3D=3D 0); } = public void testIsValid() throws Exception --===============2968897699298484676==-- From jboss-identity-commits at lists.jboss.org Thu Feb 19 17:12:13 2009 Content-Type: multipart/mixed; boundary="===============1602867539182572162==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r337 - identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/identity/federation/api/util. Date: Thu, 19 Feb 2009 17:12:12 -0500 Message-ID: --===============1602867539182572162== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-19 17:12:12 -0500 (Thu, 19 Feb 2009) New Revision: 337 Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/util/XMLEncryptionUtil.java Log: refactor constant Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/util/XMLEncryptionUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-19 22:03:43 UTC (re= v 336) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-19 22:12:12 UTC (re= v 337) @@ -48,6 +48,7 @@ */ public class XMLEncryptionUtil { = + public static final String XMLNS =3D "http://www.w3.org/2000/xmlns/"; = private static String XMLSIG_NS =3D JBossSAMLURIConstants.XMLDSIG_NSURI= .get(); private static String XMLENC_NS =3D JBossSAMLURIConstants.XMLENC_NSURI.= get(); = @@ -123,7 +124,7 @@ Element wrappingElement =3D encryptedDoc.createElementNS(wrappingEle= mentQName.getNamespaceURI(), wrappingElementQName.getPrefix() + ":" + wrappingElementQName.= getLocalPart()); = - wrappingElement.setAttributeNS("http://www.w3.org/2000/xmlns/", + wrappingElement.setAttributeNS(XMLNS, "xmlns:" + wrappingElementQName.getPrefix(), wrappingElementQN= ame.getNamespaceURI()); = = Element encryptedDocRootElement =3D encryptedDoc.getDocumentElement(= ); = @@ -136,7 +137,7 @@ { // Outer ds:KeyInfo Element to hold the EncryptionKey Element sigElement =3D encryptedDoc.createElementNS(XMLSIG_NS, "d= s:KeyInfo"); - sigElement.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns= :ds", XMLSIG_NS); + sigElement.setAttributeNS(XMLNS, "xmlns:ds", XMLSIG_NS); sigElement.appendChild(encryptedKeyElement); = //Insert the Encrypted key before the CipherData element = --===============1602867539182572162==-- From jboss-identity-commits at lists.jboss.org Thu Feb 19 18:24:52 2009 Content-Type: multipart/mixed; boundary="===============2053596760022306925==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r338 - in platform-build: trunk and 3 other directories. Date: Thu, 19 Feb 2009 18:24:52 -0500 Message-ID: --===============2053596760022306925== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-19 18:24:52 -0500 (Thu, 19 Feb 2009) New Revision: 338 Added: platform-build/trunk/ platform-build/trunk/identity-platform-jbas/ platform-build/trunk/identity-platform-jbas/bin.xml platform-build/trunk/identity-platform-jbas/pom.xml platform-build/trunk/identity-platform-tomcat/ platform-build/trunk/identity-platform-tomcat/bin.xml platform-build/trunk/identity-platform-tomcat/pom.xml platform-build/trunk/parent/ platform-build/trunk/parent/pom.xml platform-build/trunk/pom.xml Log: JBID-55: platform build Added: platform-build/trunk/identity-platform-jbas/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/bin.xml = (rev 0) +++ platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-19 23:24:52= UTC (rev 338) @@ -0,0 +1,14 @@ + + + zip + + false + + + + org.jboss.identity:jboss-identity-bindings-jboss + org.jboss.identity:jboss-identity-fed + + + + Added: platform-build/trunk/identity-platform-jbas/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/pom.xml = (rev 0) +++ platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-19 23:24:52= UTC (rev 338) @@ -0,0 +1,72 @@ + + + org.jboss.identity + jboss-identity-platform-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + + 4.0.0 + jboss-identity-platform-jbas + pom + JBoss Identity Platform to run on JBoss AS + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity Platform provides a collection of individua= l projects as a unified solution. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + = + + + org.jboss.identity + jboss-identity-bindings-jboss + ${project.version} + + + org.jboss.identity + jboss-identity-fed + ${project.version} + + + + + + maven-assembly-plugin + 2.2-beta-3 + + + bundle-project-sources + package + + single + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssec= urity/ + + + + bin.xml + + + + + + + + Added: platform-build/trunk/identity-platform-tomcat/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/bin.xml = (rev 0) +++ platform-build/trunk/identity-platform-tomcat/bin.xml 2009-02-19 23:24:= 52 UTC (rev 338) @@ -0,0 +1,14 @@ + + + zip + + false + + + + org.jboss.identity:jboss-identity-bindings + org.jboss.identity:jboss-identity-fed + + + + Added: platform-build/trunk/identity-platform-tomcat/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/pom.xml = (rev 0) +++ platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-19 23:24:= 52 UTC (rev 338) @@ -0,0 +1,72 @@ + + + org.jboss.identity + jboss-identity-platform-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + + 4.0.0 + jboss-identity-platform-tomcat + pom + JBoss Identity Platform to run on Tomcat + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity Platform provides a collection of individua= l projects as a unified solution. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + = + + + org.jboss.identity + jboss-identity-bindings + ${project.version} + + + org.jboss.identity + jboss-identity-fed + ${project.version} + + + + + + maven-assembly-plugin + 2.2-beta-3 + + + bundle-project-sources + package + + single + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssec= urity/ + + + + bin.xml + + + + + + + + Added: platform-build/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/parent/pom.xml (rev 0) +++ platform-build/trunk/parent/pom.xml 2009-02-19 23:24:52 UTC (rev 338) @@ -0,0 +1,111 @@ + + + org.jboss + jboss-parent + 4 + + 4.0.0 + org.jboss.identity + jboss-identity-platform-parent + pom + 1.0.0.alpha1-SNAPSHOT + JBoss Identity platform- Parent + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha1-SNAPSHOT + + = + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/platform-bu= ild/tags + + + + + = + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + + + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + + = + + + + junit + junit + 4.4 + test + + + apache-log4j + log4j + 1.2.14 + + + org.apache + xmlsec + 1.4.1 + + + apache-logging + commons-logging-api + 1.0.3 + + + javax.persistence + persistence-api + 1.0 + + + sun-jaxb + jaxb-api + 2.1.9 + + + sun-jaxb + jaxb-impl + 2.1.9 + + + org.jboss.security + jbossxacml + 2.0.3.CR1 + + + + Added: platform-build/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/pom.xml (rev 0) +++ platform-build/trunk/pom.xml 2009-02-19 23:24:52 UTC (rev 338) @@ -0,0 +1,21 @@ + + + org.jboss.identity + jboss-identity-platform-parent + 1.0.0.alpha1-SNAPSHOT + parent + + 4.0.0 + org.jboss.identity + jboss-identity-platform-pom + pom + JBoss Identity Platform- Aggregator + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity Platform is the identity project for JEMS p= rojects + + + parent + identity-platform-tomcat + identity-platform-jbas + + --===============2053596760022306925==-- From jboss-identity-commits at lists.jboss.org Thu Feb 19 18:26:51 2009 Content-Type: multipart/mixed; boundary="===============3051680626952228911==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r339 - in platform-build/trunk: identity-platform-jbas and 2 other directories. Date: Thu, 19 Feb 2009 18:26:51 -0500 Message-ID: --===============3051680626952228911== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-19 18:26:51 -0500 (Thu, 19 Feb 2009) New Revision: 339 Modified: platform-build/trunk/ platform-build/trunk/identity-platform-jbas/ platform-build/trunk/identity-platform-tomcat/ platform-build/trunk/parent/ Log: svn ignore propset Property changes on: platform-build/trunk ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata = Property changes on: platform-build/trunk/identity-platform-jbas ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata = Property changes on: platform-build/trunk/identity-platform-tomcat ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata = Property changes on: platform-build/trunk/parent ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata = --===============3051680626952228911==-- From jboss-identity-commits at lists.jboss.org Thu Feb 19 22:29:58 2009 Content-Type: multipart/mixed; boundary="===============4529416507434926390==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r340 - platform-build/trunk/identity-platform-jbas. Date: Thu, 19 Feb 2009 22:29:58 -0500 Message-ID: --===============4529416507434926390== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-19 22:29:58 -0500 (Thu, 19 Feb 2009) New Revision: 340 Modified: platform-build/trunk/identity-platform-jbas/bin.xml Log: JBID-55: platform build Modified: platform-build/trunk/identity-platform-jbas/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-19 23:26:51= UTC (rev 339) +++ platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-20 03:29:58= UTC (rev 340) @@ -6,6 +6,7 @@ + org.jboss.identity:jboss-identity-bindings org.jboss.identity:jboss-identity-bindings-jboss org.jboss.identity:jboss-identity-fed --===============4529416507434926390==-- From jboss-identity-commits at lists.jboss.org Fri Feb 20 15:26:44 2009 Content-Type: multipart/mixed; boundary="===============8005034538031684066==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r341 - in identity-doc/trunk: DeveloperGuide and 9 other directories. Date: Fri, 20 Feb 2009 15:26:43 -0500 Message-ID: --===============8005034538031684066== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-20 15:26:43 -0500 (Fri, 20 Feb 2009) New Revision: 341 Modified: identity-doc/trunk/ identity-doc/trunk/DeveloperGuide/ identity-doc/trunk/DeveloperGuide/src/ identity-doc/trunk/DeveloperGuide/src/main/ identity-doc/trunk/DeveloperGuide/src/main/docbook/ identity-doc/trunk/DeveloperGuide/src/main/docbook/DeveloperGuide.xml identity-doc/trunk/UserGuide/ identity-doc/trunk/UserGuide/src/ identity-doc/trunk/UserGuide/src/main/ identity-doc/trunk/UserGuide/src/main/docbook/ identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml identity-doc/trunk/images/ identity-doc/trunk/parent/ Log: doc changes Property changes on: identity-doc/trunk ___________________________________________________________________ Name: svn:ignore + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/DeveloperGuide ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/DeveloperGuide/src ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/DeveloperGuide/src/main ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/DeveloperGuide/src/main/docbook ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Modified: identity-doc/trunk/DeveloperGuide/src/main/docbook/DeveloperGuide= .xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/src/main/docbook/DeveloperGuide.xml 2= 009-02-20 03:29:58 UTC (rev 340) +++ identity-doc/trunk/DeveloperGuide/src/main/docbook/DeveloperGuide.xml 2= 009-02-20 20:26:43 UTC (rev 341) @@ -13,7 +13,7 @@ xmlns:xi=3D"http://www.w3.org/2001/XInclude" /> = = - 1.0.0.alpha1. + 1.0.0.alpha2. = Property changes on: identity-doc/trunk/UserGuide ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/UserGuide/src ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/UserGuide/src/main ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/UserGuide/src/main/docbook ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Modified: identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-20 = 03:29:58 UTC (rev 340) +++ identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-20 = 20:26:43 UTC (rev 341) @@ -4,6 +4,7 @@ ]> + JBoss Identity Federation = @@ -13,7 +14,7 @@ xmlns:xi=3D"http://www.w3.org/2001/XInclude" /> = = - 1.0.0.alpha1. + 1.0.0.alpha2. = = @@ -80,16 +81,14 @@ to be either downloaded separately or as part of the Java JDK or as part of JBoss Application Server. - + + Download the ZIP version of the JBoss Identity Community Platform. = + Place the unzipped jar files in the lib directory of tomcat + or JBoss AS. Additionally ensure that the following dependencies + are met. + + = - JBoss Identity Federation Library - - - - JBoss XACML Library (jboss-xacml.jar and jboss-sunxacml.j= ar) - - - JAXB V2 Library @@ -147,12 +146,13 @@ The IDP and the SP can be a JBoss Application Server or a = Tomcat instance. + Please note that the instructions for Tomcat and JBAS are differ= ent. = = -
- Configuring the Identity Provider (IDP) +
+ Configuring the Identity Provider (IDP) = Check list for configuring the IDP @@ -289,8 +289,9 @@ to the Service Providers.
= =
@@ -307,6 +308,8 @@ Configure the jboss-idfed.xml for the SP configura= tion. + Perform additional steps if the SP is running on J= Boss Application Server. + = @@ -438,6 +441,46 @@
+ Additional Steps for JBoss AS based SP + Configure a jboss-web.xml file in the = + WEB-INF directory of your SP web application. + + = + + <?xml version=3D"1.0" encoding=3D"UTF-8"?> + <!DOCTYPE jboss-web + PUBLIC "-//JBoss//DTD Web Application 2.4//EN" + "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd"> + <jboss-web> + <security-domain>java:/jaas/sp</security-domain> + </jboss-web> + + = + + + In this example, we have specified a security domain of "s= p". + You can use any security domain name of your choice as lon= g as + you configure the login module in the next step appropriat= ely. + + + = + + Configure the login module in conf/login-config.xml of your J= Boss + AS server configuration. + + + <application-policy name =3D "sp"> + <authentication> + <login-module = + code =3D "org.jboss.identity.federation.bindings.jboss.a= uth.SAML2LoginModule" /> + </authentication> = + </application-policy> = + + = +
+ = + = = Property changes on: identity-doc/trunk/images ___________________________________________________________________ Name: svn:ignore - target .settings .target-eclipse + .project .classpath target target-eclipse .metadata Property changes on: identity-doc/trunk/parent ___________________________________________________________________ Name: svn:ignore + .project .classpath target target-eclipse .metadata --===============8005034538031684066==-- From jboss-identity-commits at lists.jboss.org Mon Feb 23 13:11:49 2009 Content-Type: multipart/mixed; boundary="===============6393901304740291300==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r342 - in identity-federation/trunk: parent and 1 other directory. Date: Mon, 23 Feb 2009 13:11:49 -0500 Message-ID: --===============6393901304740291300== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-23 13:11:48 -0500 (Mon, 23 Feb 2009) New Revision: 342 Modified: identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/parent/pom.xml Log: optional deps Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-20 20:26:43= UTC (rev 341) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-23 18:11:48= UTC (rev 342) @@ -57,11 +57,13 @@ javax.servlet servlet-api 2.4 + true
org.apache.tomcat catalina 6.0.18 + true org.apache.tomcat Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-20 20:26:43 UTC (rev 3= 41) +++ identity-federation/trunk/parent/pom.xml 2009-02-23 18:11:48 UTC (rev 3= 42) @@ -99,31 +99,37 @@ apache-log4j log4j 1.2.14 + true org.apache xmlsec 1.4.1 + true apache-logging commons-logging-api 1.0.3 + true javax.persistence persistence-api 1.0 + true sun-jaxb jaxb-api 2.1.9 + true sun-jaxb jaxb-impl 2.1.9 + true org.jboss.security --===============6393901304740291300==-- From jboss-identity-commits at lists.jboss.org Mon Feb 23 13:12:23 2009 Content-Type: multipart/mixed; boundary="===============1581226348374443583==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r343 - in identity-federation/trunk: identity-fed-api/src/main/java/org/jboss/identity/federation/api/saml/v2/request and 3 other directories. Date: Mon, 23 Feb 2009 13:12:23 -0500 Message-ID: --===============1581226348374443583== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-23 13:12:23 -0500 (Mon, 23 Feb 2009) New Revision: 343 Added: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/constants/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/constants/JBossIdentityFederationConstants.java Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/util/SecurityActions.java identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/util/ValveUtil.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/request/SAML2Request.java identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/request/SecurityActions.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/factories/JBossSAMLAuthnRequestFactory.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/factories/JBossSAMLBaseFactory.java identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/factories/SecurityActions.java Log: JBID-54: disable schema validation by default Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/util/SecurityActions.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/SecurityActions.java 2009-02-23 18:11:48 UTC= (rev 342) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/SecurityActions.java 2009-02-23 18:12:23 UTC= (rev 343) @@ -45,4 +45,21 @@ } }); } + = + /** + * Get the system property + * @param key + * @param defaultValue + * @return + */ + static String getSystemProperty(final String key, final String defaultV= alue) + { + return AccessController.doPrivileged(new PrivilegedAction() + { + public String run() + { + return System.getProperty(key, defaultValue); + } + }); + } } Modified: identity-federation/trunk/identity-bindings/src/main/java/org/jbo= ss/identity/federation/bindings/util/ValveUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/ValveUtil.java 2009-02-23 18:11:48 UTC (rev = 342) +++ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/ide= ntity/federation/bindings/util/ValveUtil.java 2009-02-23 18:12:23 UTC (rev = 343) @@ -31,6 +31,7 @@ = import org.jboss.identity.federation.bindings.config.IDPType; import org.jboss.identity.federation.bindings.config.SPType; +import org.jboss.identity.federation.core.constants.JBossIdentityFederatio= nConstants; import org.jboss.identity.federation.core.saml.v2.factories.JBossSAMLBaseF= actory; = /** @@ -79,7 +80,16 @@ throw new IllegalArgumentException("inputstream is null"); String schema =3D "schema/config/jboss-identity-fed.xsd"; = - Unmarshaller un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller("= org.jboss.identity.federation.bindings.config", schema); + String key =3D JBossIdentityFederationConstants.JAXB_SCHEMA_VALIDATI= ON; + boolean validate =3D Boolean.parseBoolean(SecurityActions.getSystemP= roperty(key, "false")); + = + String pkgName =3D "org.jboss.identity.federation.bindings.config"; + Unmarshaller un =3D null; + if(validate) + un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller(pkgName, sc= hema); + else + un =3D JBossSAMLBaseFactory.getUnmarshaller(pkgName); + = JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal= (is); return jaxbSp.getValue(); = } @@ -91,7 +101,16 @@ throw new IllegalArgumentException("inputstream is null"); String schema =3D "schema/config/jboss-identity-fed.xsd"; = - Unmarshaller un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller("= org.jboss.identity.federation.bindings.config", schema); + String key =3D JBossIdentityFederationConstants.JAXB_SCHEMA_VALIDATI= ON; + boolean validate =3D Boolean.parseBoolean(SecurityActions.getSystemP= roperty(key, "false")); + = + String pkgName =3D "org.jboss.identity.federation.bindings.config"; + Unmarshaller un =3D null; + if(validate) + un =3D JBossSAMLBaseFactory.getValidatingUnmarshaller(pkgName, sc= hema); + else + un =3D JBossSAMLBaseFactory.getUnmarshaller(pkgName); + = JAXBElement jaxbSp =3D (JAXBElement) un.unmarshal(i= s); return jaxbSp.getValue(); = } Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/saml/v2/request/SAML2Request.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/saml/v2/request/SAML2Request.java 2009-02-23 18:11:48 U= TC (rev 342) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/saml/v2/request/SAML2Request.java 2009-02-23 18:12:23 U= TC (rev 343) @@ -29,7 +29,8 @@ import javax.xml.bind.JAXBElement; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; - + = +import org.jboss.identity.federation.core.constants.JBossIdentityFederatio= nConstants; import org.jboss.identity.federation.core.saml.v2.factories.JBossSAMLAuthn= RequestFactory; import org.jboss.identity.federation.core.saml.v2.factories.JBossSAMLBaseF= actory; import org.jboss.identity.federation.core.saml.v2.util.JAXBElementMappingU= til; @@ -95,7 +96,10 @@ { if(is =3D=3D null) throw new IllegalStateException("InputStream is null"); - Unmarshaller un =3D JBossSAMLAuthnRequestFactory.getValidatingUnmars= haller(); + String key =3D JBossIdentityFederationConstants.JAXB_SCHEMA_VALIDATI= ON; + boolean validate =3D Boolean.parseBoolean(SecurityActions.getSystemP= roperty(key, "false")); + = + Unmarshaller un =3D JBossSAMLAuthnRequestFactory.getValidatingUnmars= haller(validate); JAXBElement jaxbAuthnRequestType =3D (JAXBEleme= nt) un.unmarshal(is); return jaxbAuthnRequestType.getValue(); = } @@ -112,7 +116,10 @@ { if(is =3D=3D null) throw new IllegalStateException("InputStream is null"); - Unmarshaller un =3D JBossSAMLAuthnRequestFactory.getValidatingUnmars= haller(); + String key =3D JBossIdentityFederationConstants.JAXB_SCHEMA_VALIDATI= ON; + boolean validate =3D Boolean.parseBoolean(SecurityActions.getSystemP= roperty(key, "false")); + = + Unmarshaller un =3D JBossSAMLAuthnRequestFactory.getValidatingUnmars= haller(validate); JAXBElement jaxbAuthnRequestType =3D (JAXBElement<= AuthnRequestType>) un.unmarshal(is); return jaxbAuthnRequestType.getValue(); = } = @@ -188,7 +195,10 @@ */ public void marshall(RequestAbstractType requestType, OutputStream os) = throws Exception { - Marshaller marshaller =3D JBossSAMLAuthnRequestFactory.getValidating= Marshaller(); + String key =3D JBossIdentityFederationConstants.JAXB_SCHEMA_VALIDATI= ON; + boolean validate =3D Boolean.parseBoolean(SecurityActions.getSystemP= roperty(key, "false")); + = + Marshaller marshaller =3D JBossSAMLAuthnRequestFactory.getValidating= Marshaller(validate); JAXBElement j =3D JAXBElementMappingUtil.get(requestType); marshaller.marshal(j, os); } @@ -201,7 +211,10 @@ */ public void marshall(RequestAbstractType requestType, Writer writer) th= rows Exception { - Marshaller marshaller =3D JBossSAMLAuthnRequestFactory.getValidating= Marshaller(); + String key =3D JBossIdentityFederationConstants.JAXB_SCHEMA_VALIDATI= ON; + boolean validate =3D Boolean.parseBoolean(SecurityActions.getSystemP= roperty(key, "false")); + = + Marshaller marshaller =3D JBossSAMLAuthnRequestFactory.getValidating= Marshaller(validate); JAXBElement j =3D JAXBElementMappingUtil.get(requestType); marshaller.marshal(j, writer); } Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/saml/v2/request/SecurityActions.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/saml/v2/request/SecurityActions.java 2009-02-23 18:11:4= 8 UTC (rev 342) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/saml/v2/request/SecurityActions.java 2009-02-23 18:12:2= 3 UTC (rev 343) @@ -45,4 +45,21 @@ } }); } + = + /** + * Get the system property + * @param key + * @param defaultValue + * @return + */ + static String getSystemProperty(final String key, final String defaultV= alue) + { + return AccessController.doPrivileged(new PrivilegedAction() + { + public String run() + { + return System.getProperty(key, defaultValue); + } + }); + } } Added: identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/= identity/federation/core/constants/JBossIdentityFederationConstants.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/constants/JBossIdentityFederationConstants.java = (rev 0) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/constants/JBossIdentityFederationConstants.java 2009-= 02-23 18:12:23 UTC (rev 343) @@ -0,0 +1,36 @@ +/* + * 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.core.constants; + +/** + * Constants useful to the JBoss + * Identity Federation project + * @author Anil.Saldhana(a)redhat.com + * @since Feb 23, 2009 + */ +public interface JBossIdentityFederationConstants +{ + /** + * Flag to indicate whether JAXB Schema Validation is turned on + */ + String JAXB_SCHEMA_VALIDATION =3D "org.jboss.identity.jaxb.schema.valid= ation"; +} \ No newline at end of file Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/factories/JBossSAMLAuthnRequestFactory.= java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/JBossSAMLAuthnRequestFactory.java 2= 009-02-23 18:11:48 UTC (rev 342) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/JBossSAMLAuthnRequestFactory.java 2= 009-02-23 18:12:23 UTC (rev 343) @@ -93,21 +93,29 @@ = /** * Get the validating marshaller + * @param schemaValidation Whether schema validation is needed * @return * @throws Exception */ - public static Marshaller getValidatingMarshaller() throws Exception + public static Marshaller getValidatingMarshaller(boolean schemaValidati= on) throws Exception { - return JBossSAMLBaseFactory.getValidatingMarshaller(pkgName, schemaL= ocation); = + if(schemaValidation) + return JBossSAMLBaseFactory.getValidatingMarshaller(pkgName, sche= maLocation); + else + return JBossSAMLBaseFactory.getMarshaller(pkgName); } = /** * Get the validating unmarshaller + * @param schemaValidation whether schema validation is needed * @return * @throws Exception */ - public static Unmarshaller getValidatingUnmarshaller() throws Exception + public static Unmarshaller getValidatingUnmarshaller(boolean schemaVali= dation) throws Exception { - return JBossSAMLBaseFactory.getValidatingUnmarshaller(pkgName, schem= aLocation); + if(schemaValidation) + return JBossSAMLBaseFactory.getValidatingUnmarshaller(pkgName, sc= hemaLocation); + else + return JBossSAMLBaseFactory.getUnmarshaller(pkgName); } } \ No newline at end of file Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/factories/JBossSAMLBaseFactory.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/JBossSAMLBaseFactory.java 2009-02-2= 3 18:11:48 UTC (rev 342) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/JBossSAMLBaseFactory.java 2009-02-2= 3 18:12:23 UTC (rev 343) @@ -160,15 +160,13 @@ return nid; } = - = /** * Get the JAXB Marshaller - * @param pkgName The package name for the jaxb context - * @param schemaLocation location of the schema to validate against = + * @param pkgName The package name for the jaxb context = * @return Marshaller * @throws Exception */ - public static Marshaller getValidatingMarshaller(String pkgName, String= schemaLocation) + public static Marshaller getMarshaller(String pkgName) throws Exception { if(pkgName =3D=3D null) @@ -177,6 +175,21 @@ JAXBContext jc =3D JAXBContext.newInstance(pkgName); Marshaller marshaller =3D jc.createMarshaller(); marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8"); + return marshaller; + } + = + /** + * Get the JAXB Marshaller + * @param pkgName The package name for the jaxb context + * @param schemaLocation location of the schema to validate against = + * @return Marshaller + * @throws Exception + */ + public static Marshaller getValidatingMarshaller(String pkgName, String= schemaLocation) + throws Exception + { + Marshaller marshaller =3D getMarshaller(pkgName); + marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8"); //Validate against schema ClassLoader tcl =3D SecurityActions.getContextClassLoader(); URL schemaURL =3D tcl.getResource(schemaLocation); @@ -191,20 +204,29 @@ = /** * Get the JAXB Unmarshaller - * @param pkgName The package name for the jaxb context - * @param schemaLocation location of the schema to validate against - * @param schemaValidating need a validating schema unmarshaller? + * @param pkgName The package name for the jaxb context = * @return unmarshaller * @throws Exception */ - public static Unmarshaller getValidatingUnmarshaller(String pkgName, St= ring schemaLocation) - throws Exception + public static Unmarshaller getUnmarshaller(String pkgName) throws Excep= tion { if(pkgName =3D=3D null) throw new IllegalArgumentException("pkgName is null"); - = JAXBContext jc =3D JAXBContext.newInstance(pkgName); - Unmarshaller unmarshaller =3D jc.createUnmarshaller(); = + return jc.createUnmarshaller(); + } + = + /** + * Get the JAXB Unmarshaller + * @param pkgName The package name for the jaxb context + * @param schemaLocation location of the schema to validate against = + * @return unmarshaller + * @throws Exception + */ + public static Unmarshaller getValidatingUnmarshaller(String pkgName, St= ring schemaLocation) + throws Exception + { = + Unmarshaller unmarshaller =3D getUnmarshaller(pkgName); = //Validate against schema ClassLoader tcl =3D SecurityActions.getContextClassLoader(); URL schemaURL =3D tcl.getResource(schemaLocation); Modified: identity-federation/trunk/identity-fed-core/src/main/java/org/jbo= ss/identity/federation/core/saml/v2/factories/SecurityActions.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/SecurityActions.java 2009-02-23 18:= 11:48 UTC (rev 342) +++ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/ide= ntity/federation/core/saml/v2/factories/SecurityActions.java 2009-02-23 18:= 12:23 UTC (rev 343) @@ -45,4 +45,21 @@ } }); } + = + /** + * Get the system property + * @param key + * @param defaultValue + * @return + */ + static String getSystemProperty(final String key, final String defaultV= alue) + { + return AccessController.doPrivileged(new PrivilegedAction() + { + public String run() + { + return System.getProperty(key, defaultValue); + } + }); + } } --===============1581226348374443583==-- From jboss-identity-commits at lists.jboss.org Mon Feb 23 13:54:23 2009 Content-Type: multipart/mixed; boundary="===============2964692244635665124==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r344 - in identity-doc/trunk: UserGuide and 1 other directories. Date: Mon, 23 Feb 2009 13:54:23 -0500 Message-ID: --===============2964692244635665124== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-23 13:54:23 -0500 (Mon, 23 Feb 2009) New Revision: 344 Modified: identity-doc/trunk/DeveloperGuide/pom.xml identity-doc/trunk/UserGuide/pom.xml identity-doc/trunk/parent/pom.xml Log: remove scm details Modified: identity-doc/trunk/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-23 18:12:23 UTC (rev = 343) +++ identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-23 18:54:23 UTC (rev = 344) @@ -5,13 +5,7 @@ 1.0.0.alpha1-SNAPSHOT jdocbook Developer Guide (${translation}) - - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT - scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-doc/tags/1.0.0.alpha1-SNAPSHOT - = - Modified: identity-doc/trunk/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-23 18:12:23 UTC (rev 343) +++ identity-doc/trunk/UserGuide/pom.xml 2009-02-23 18:54:23 UTC (rev 344) @@ -6,11 +6,6 @@ 1.0.0.alpha1-SNAPSHOT jdocbook User Guide (${translation}) - - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT - scm:svn:https://svn.jboss.org/repos/jbossidentit= y/identity-doc/tags/1.0.0.alpha1-SNAPSHOT - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/i= dentity-doc/tags/1.0.0.alpha1-SNAPSHOT - = Modified: identity-doc/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/parent/pom.xml 2009-02-23 18:12:23 UTC (rev 343) +++ identity-doc/trunk/parent/pom.xml 2009-02-23 18:54:23 UTC (rev 344) @@ -80,4 +80,3 @@
- --===============2964692244635665124==-- From jboss-identity-commits at lists.jboss.org Mon Feb 23 13:58:27 2009 Content-Type: multipart/mixed; boundary="===============2214129687591407303==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r345 - in identity-doc/trunk: UserGuide and 1 other directory. Date: Mon, 23 Feb 2009 13:58:27 -0500 Message-ID: --===============2214129687591407303== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-23 13:58:27 -0500 (Mon, 23 Feb 2009) New Revision: 345 Modified: identity-doc/trunk/DeveloperGuide/pom.xml identity-doc/trunk/UserGuide/pom.xml Log: update parent = Modified: identity-doc/trunk/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-23 18:54:23 UTC (rev = 344) +++ identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-23 18:58:27 UTC (rev = 345) @@ -1,6 +1,11 @@ + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + 4.0.0 - org.jboss.identity.federation Developer-Guide-${translation} 1.0.0.alpha1-SNAPSHOT jdocbook Modified: identity-doc/trunk/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-23 18:54:23 UTC (rev 344) +++ identity-doc/trunk/UserGuide/pom.xml 2009-02-23 18:58:27 UTC (rev 345) @@ -1,7 +1,13 @@ + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + = + 4.0.0 - org.jboss.identity.federation User-Guide-${translation} 1.0.0.alpha1-SNAPSHOT jdocbook --===============2214129687591407303==-- From jboss-identity-commits at lists.jboss.org Mon Feb 23 15:48:00 2009 Content-Type: multipart/mixed; boundary="===============3571172023284398659==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r346 - in platform-build/trunk: identity-platform-tomcat and 1 other directory. Date: Mon, 23 Feb 2009 15:48:00 -0500 Message-ID: --===============3571172023284398659== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-23 15:47:59 -0500 (Mon, 23 Feb 2009) New Revision: 346 Modified: platform-build/trunk/identity-platform-jbas/bin.xml platform-build/trunk/identity-platform-tomcat/bin.xml Log: add jbossxacml Modified: platform-build/trunk/identity-platform-jbas/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-23 18:58:27= UTC (rev 345) +++ platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-23 20:47:59= UTC (rev 346) @@ -9,6 +9,7 @@ org.jboss.identity:jboss-identity-bindings org.jboss.identity:jboss-identity-bindings-jboss org.jboss.identity:jboss-identity-fed + org.jboss.security:jbossxacml Modified: platform-build/trunk/identity-platform-tomcat/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/bin.xml 2009-02-23 18:58:= 27 UTC (rev 345) +++ platform-build/trunk/identity-platform-tomcat/bin.xml 2009-02-23 20:47:= 59 UTC (rev 346) @@ -8,6 +8,7 @@ org.jboss.identity:jboss-identity-bindings org.jboss.identity:jboss-identity-fed + org.jboss.security:jbossxacml --===============3571172023284398659==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 06:13:14 2009 Content-Type: multipart/mixed; boundary="===============3572421418923765502==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r347 - in idm/trunk: assembly and 10 other directories. Date: Thu, 26 Feb 2009 06:13:14 -0500 Message-ID: --===============3572421418923765502== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-26 06:13:14 -0500 (Thu, 26 Feb 2009) New Revision: 347 Modified: idm/trunk/assembly/pom.xml idm/trunk/example/maven2/pom.xml idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/example/DB= TestCase.java idm/trunk/idm-api/pom.xml idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/RelationshipM= anager.java idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/RoleManager.j= ava idm/trunk/idm-common/pom.xml idm/trunk/idm-spi/pom.xml idm/trunk/idm/pom.xml idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/session/mana= gers/RoleManagerImpl.java idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate/= HibernateIdentityStoreImpl.java idm/trunk/parent/pom.xml idm/trunk/pom.xml Log: sync changes for latest snapshot and switch to alpha2 Modified: idm/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/assembly/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/assembly/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 ../parent 4.0.0 Modified: idm/trunk/example/maven2/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/example/maven2/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/example/maven2/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -1,7 +1,7 @@ 4.0.0 org.jboss.identity - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 idm-maven2-example jar JBoss Identity IDM Maven2 example project Modified: idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/exa= mple/DBTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/example/D= BTestCase.java 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/example/maven2/src/test/java/org/jboss/identity/idm/example/D= BTestCase.java 2009-02-26 11:13:14 UTC (rev 347) @@ -135,6 +135,24 @@ assertTrue(Arrays.equals((byte[])attributes.get("picture").getValue(= ), picture)); = = + Identity xUser =3D identitySession.getPersistenceManager().createIde= ntity("x"); + Group someGroup =3D identitySession.getPersistenceManager().createGr= oup("someGroup", GROUP); + + identitySession.getRoleManager().createRole(managerRT, xUser, someGr= oup); + + assertEquals(0, identitySession.getRelationshipManager().findAssocia= tedGroups(xUser, GROUP).size()); + assertEquals(1, identitySession.getRoleManager().findGroupsWithRelat= edRole(xUser, GROUP, null).size()); + assertEquals(1, identitySession.getRoleManager().findGroupsWithRelat= edRole(xUser, null).size()); + + Group otherGroup =3D identitySession.getPersistenceManager().createG= roup("otherGroup", GROUP); + + identitySession.getRelationshipManager().associateIdentities(otherGr= oup, xUser); + + assertEquals(1, identitySession.getRelationshipManager().findAssocia= tedGroups(xUser, GROUP).size()); + assertEquals(1, identitySession.getRoleManager().findGroupsWithRelat= edRole(xUser, GROUP, null).size()); + assertEquals(1, identitySession.getRoleManager().findGroupsWithRelat= edRole(xUser, null).size()); + + identitySession.getTransaction().commit(); identitySession.close(); = Modified: idm/trunk/idm/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 ../parent 4.0.0 Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/sessi= on/managers/RoleManagerImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/session/man= agers/RoleManagerImpl.java 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/api/session/man= agers/RoleManagerImpl.java 2009-02-26 11:13:14 UTC (rev 347) @@ -35,6 +35,8 @@ import org.jboss.identity.idm.exception.IdentityException; import org.jboss.identity.idm.spi.model.IdentityObjectRelationshipType; import org.jboss.identity.idm.spi.model.IdentityObjectRelationship; +import org.jboss.identity.idm.spi.model.IdentityObjectType; +import org.jboss.identity.idm.spi.model.IdentityObject; import org.jboss.identity.idm.spi.exception.OperationNotSupportedException; import org.jboss.identity.idm.spi.searchcontrol.IdentityObjectSearchContro= l; import org.jboss.identity.idm.impl.NotYetImplementedException; @@ -45,6 +47,8 @@ import java.util.Collection; import java.util.Set; import java.util.HashSet; +import java.util.List; +import java.util.LinkedList; = /** * @author Boleslaw D= awidowicz @@ -286,6 +290,45 @@ = } = + public Collection findGroupsWithRelatedRole(Identity identity, I= dentitySearchControl[] controls) throws IdentityException + { + List identities =3D new LinkedList(); + + + Collection ios =3D null; + + ios =3D getRepository().findIdentityObject(getInvocationContext(), c= reateIdentityObject(identity), null, true, convertSearchControls(controls)); + + for (IdentityObject io : ios) + { + + identities.add(createGroup(io)); + } + + return identities; + } + + public Collection findGroupsWithRelatedRole(Identity identity, G= roupType groupType, IdentitySearchControl[] controls) throws IdentityExcept= ion + { + List identities =3D new LinkedList(); + + IdentityObjectType iot =3D getIdentityObjectType(groupType); + + Collection ios =3D null; + + ios =3D getRepository().findIdentityObject(getInvocationContext(), c= reateIdentityObject(identity), null, true, convertSearchControls(controls)); + + for (IdentityObject io : ios) + { + if (io.getIdentityType().getName().equals(iot.getName())) + { + identities.add(createGroup(io)); + } + } + + return identities; + } + public Collection findRoles(IdentityType identityType, RoleType r= oleType) throws IdentityException { Set roles =3D new HashSet(); Modified: idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hib= ernate/HibernateIdentityStoreImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm/src/main/java/org/jboss/identity/idm/impl/store/hibernate= /HibernateIdentityStoreImpl.java 2009-02-26 11:13:14 UTC (rev 347) @@ -659,7 +659,11 @@ = = @SuppressWarnings("unchecked") - public Collection findIdentityObject(IdentityStoreInvoc= ationContext ctx, IdentityObject identity, IdentityObjectRelationshipType r= elationshipType, boolean parent, IdentityObjectSearchControl[] controls) th= rows IdentityException + public Collection findIdentityObject(IdentityStoreInvoc= ationContext ctx, + IdentityObject ide= ntity, + IdentityObjectRela= tionshipType relationshipType, = + boolean parent, + IdentityObjectSear= chControl[] controls) throws IdentityException { //TODO:test = @@ -723,9 +727,18 @@ = if (parent) { - hqlString.append("select ior.toIdentityObject from HibernateId= entityObjectRelationship ior where " + - "ior.toIdentityObject.name like :nameFilter and ior.type.na= me like :relType and ior.fromIdentityObject like :identity"); = + if (relationshipType !=3D null) + { + + hqlString.append("select ior.toIdentityObject from Hibernat= eIdentityObjectRelationship ior where " + + "ior.toIdentityObject.name like :nameFilter and ior.type= .name like :relType and ior.fromIdentityObject like :identity"); + } + else + { + hqlString.append("select ior.toIdentityObject from Hibernat= eIdentityObjectRelationship ior where " + + "ior.toIdentityObject.name like :nameFilter and ior.from= IdentityObject like :identity"); + } if (orderByName) { hqlString.append(" orderBy ior.toIdentityObject.name"); @@ -737,10 +750,17 @@ } else { - hqlString.append("select ior.fromIdentityObject from Hibernate= IdentityObjectRelationship ior where " + - "ior.fromIdentityObject.name like :nameFilter and ior.type.= name like :relType and ior.toIdentityObject like :identity"); + if (relationshipType !=3D null) + { + hqlString.append("select ior.fromIdentityObject from Hibern= ateIdentityObjectRelationship ior where " + + "ior.fromIdentityObject.name like :nameFilter and ior.ty= pe.name like :relType and ior.toIdentityObject like :identity"); + } + else + { + hqlString.append("select ior.fromIdentityObject from Hiberna= teIdentityObjectRelationship ior where " + + "ior.fromIdentityObject.name like :nameFilter and ior.to= IdentityObject like :identity"); = + } = - if (orderByName) { hqlString.append(" orderBy ior.toIdentityObject.name"); @@ -754,9 +774,13 @@ = = q =3D getHibernateSession(ctx).createQuery(hqlString.toString()) - .setParameter("relType", relationshipType.getName()) .setParameter("identity",hibernateObject); = + if (relationshipType !=3D null) + { + q.setParameter("relType", relationshipType.getName()); + } + if (nameFilterSearchControl !=3D null) { q.setParameter("nameFilter", nameFilterSearchControl.getFilter= ().replaceAll("\\*", "%")); Modified: idm/trunk/idm-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-api/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm-api/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 ../parent 4.0.0 Modified: idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/Relati= onshipManager.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/Relationship= Manager.java 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/Relationship= Manager.java 2009-02-26 11:13:14 UTC (rev 347) @@ -168,10 +168,6 @@ = /** * Find all groups that given identity is associated with. - * If the paginatedSearch or orderedSearch operations - * are not supported, dedicated parameters will - * take no effect - * * @param identity child identity * @param groupType can be null * @return Modified: idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/RoleMa= nager.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/RoleManager.= java 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm-api/src/main/java/org/jboss/identity/idm/api/RoleManager.= java 2009-02-26 11:13:14 UTC (rev 347) @@ -176,6 +176,30 @@ IdentitySearchControl[] controls) th= rows IdentityException; = /** + * Find all Groups with which Identity has a Role association + * + * @param identity + * @param controls + * @return + * @throws IdentityException + */ + Collection findGroupsWithRelatedRole(Identity identity, + IdentitySearchControl[] con= trols) throws IdentityException; + + + /** + * Find all Groups with which Identity has a Role association + * + * @param identity + * @param controls + * @return + * @throws IdentityException + */ + Collection findGroupsWithRelatedRole(Identity identity, + GroupType groupType, + IdentitySearchControl[] con= trols) throws IdentityException; + + /** * Find Role objects with a given RoleType associated with a given Iden= tityType * @param identityType * @param roleType Modified: idm/trunk/idm-common/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-common/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm-common/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 ../parent 4.0.0 Modified: idm/trunk/idm-spi/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-spi/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/idm-spi/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 ../parent 4.0.0 Modified: idm/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/parent/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/parent/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -8,7 +8,7 @@ org.jboss.identity idm-parent pom - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 JBoss Identity IDM- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles id= entity needs for the JEMS projects Modified: idm/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/pom.xml 2009-02-23 20:47:59 UTC (rev 346) +++ idm/trunk/pom.xml 2009-02-26 11:13:14 UTC (rev 347) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0-SNAPSHOT + 1.0.0.Alpha2 parent 4.0.0 --===============3572421418923765502==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 06:17:13 2009 Content-Type: multipart/mixed; boundary="===============4210033204522294475==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r348 - idm/tags. Date: Thu, 26 Feb 2009 06:17:12 -0500 Message-ID: --===============4210033204522294475== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-26 06:17:12 -0500 (Thu, 26 Feb 2009) New Revision: 348 Added: idm/tags/1.0.0.Alpha2/ Log: tag 1.0.0.Alpha2 Copied: idm/tags/1.0.0.Alpha2 (from rev 347, idm/trunk) --===============4210033204522294475==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 06:18:43 2009 Content-Type: multipart/mixed; boundary="===============6245108697704305622==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r349 - in idm/trunk: assembly and 6 other directories. Date: Thu, 26 Feb 2009 06:18:43 -0500 Message-ID: --===============6245108697704305622== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: bdaw Date: 2009-02-26 06:18:43 -0500 (Thu, 26 Feb 2009) New Revision: 349 Modified: idm/trunk/assembly/pom.xml idm/trunk/example/maven2/pom.xml idm/trunk/idm-api/pom.xml idm/trunk/idm-common/pom.xml idm/trunk/idm-spi/pom.xml idm/trunk/idm/pom.xml idm/trunk/parent/pom.xml idm/trunk/pom.xml Log: back to snapshot Modified: idm/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/assembly/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/assembly/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT ../parent 4.0.0 Modified: idm/trunk/example/maven2/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/example/maven2/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/example/maven2/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -1,7 +1,7 @@ 4.0.0 org.jboss.identity - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT idm-maven2-example jar JBoss Identity IDM Maven2 example project Modified: idm/trunk/idm/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/idm/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT ../parent 4.0.0 Modified: idm/trunk/idm-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-api/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/idm-api/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT ../parent 4.0.0 Modified: idm/trunk/idm-common/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-common/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/idm-common/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT ../parent 4.0.0 Modified: idm/trunk/idm-spi/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/idm-spi/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/idm-spi/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT ../parent 4.0.0 Modified: idm/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/parent/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/parent/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -8,7 +8,7 @@ org.jboss.identity idm-parent pom - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT JBoss Identity IDM- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles id= entity needs for the JEMS projects Modified: idm/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- idm/trunk/pom.xml 2009-02-26 11:17:12 UTC (rev 348) +++ idm/trunk/pom.xml 2009-02-26 11:18:43 UTC (rev 349) @@ -2,7 +2,7 @@ org.jboss.identity idm-parent - 1.0.0.Alpha2 + 1.0.0-SNAPSHOT parent 4.0.0 --===============6245108697704305622==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 15:53:24 2009 Content-Type: multipart/mixed; boundary="===============1173905460138704495==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r350 - identity-federation/trunk/parent. Date: Thu, 26 Feb 2009 15:53:23 -0500 Message-ID: --===============1173905460138704495== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-26 15:53:23 -0500 (Thu, 26 Feb 2009) New Revision: 350 Modified: identity-federation/trunk/parent/pom.xml Log: JBID-59: apache xml sec 1.4.2 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-26 11:18:43 UTC (rev 3= 49) +++ identity-federation/trunk/parent/pom.xml 2009-02-26 20:53:23 UTC (rev 3= 50) @@ -104,7 +104,7 @@ org.apache xmlsec - 1.4.1 + 1.4.2 true --===============1173905460138704495==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 15:53:50 2009 Content-Type: multipart/mixed; boundary="===============8126292583722554707==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r351 - in identity-federation/trunk/identity-fed-api: src/main/java/org/jboss/identity/federation/api/util and 1 other directories. Date: Thu, 26 Feb 2009 15:53:50 -0500 Message-ID: --===============8126292583722554707== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-26 15:53:50 -0500 (Thu, 26 Feb 2009) New Revision: 351 Modified: identity-federation/trunk/identity-fed-api/.classpath identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/util/XMLEncryptionUtil.java identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test/= identity/federation/api/util/XMLEncryptionUnitTestCase.java Log: XMLEnc updates Modified: identity-federation/trunk/identity-fed-api/.classpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/.classpath 2009-02-26 20:53:= 23 UTC (rev 350) +++ identity-federation/trunk/identity-fed-api/.classpath 2009-02-26 20:53:= 50 UTC (rev 351) @@ -3,7 +3,7 @@ - + @@ -19,5 +19,10 @@ + + + + + Modified: identity-federation/trunk/identity-fed-api/src/main/java/org/jbos= s/identity/federation/api/util/XMLEncryptionUtil.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-26 20:53:23 UTC (re= v 350) +++ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/iden= tity/federation/api/util/XMLEncryptionUtil.java 2009-02-26 20:53:50 UTC (re= v 351) @@ -48,9 +48,13 @@ */ public class XMLEncryptionUtil { = + public static final String CIPHER_DATA_LOCALNAME =3D "CipherData"; + public static final String ENCRYPTED_KEY_LOCALNAME =3D "EncryptedKey"; + public static final String DS_KEY_INFO =3D "ds:KeyInfo"; + = public static final String XMLNS =3D "http://www.w3.org/2000/xmlns/"; = - private static String XMLSIG_NS =3D JBossSAMLURIConstants.XMLDSIG_NSURI= .get(); - private static String XMLENC_NS =3D JBossSAMLURIConstants.XMLENC_NSURI.= get(); + public static String XMLSIG_NS =3D JBossSAMLURIConstants.XMLDSIG_NSURI.= get(); + public static String XMLENC_NS =3D JBossSAMLURIConstants.XMLENC_NSURI.g= et(); = static { @@ -91,7 +95,104 @@ } = /** - * Encrypt an element inside a Document. + * 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 plac= ed 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 =3D=3D null) + throw new IllegalArgumentException("elementQName is null"); + if(document =3D=3D null) + throw new IllegalArgumentException("document is null"); + String wrappingElementPrefix =3D wrappingElementQName.getPrefix(); + if(wrappingElementPrefix =3D=3D null || wrappingElementPrefix =3D=3D= "") + throw new IllegalArgumentException("Wrapping element prefix inval= id"); + = + NodeList elements =3D document.getElementsByTagName(elementQName.toS= tring()); + if(elements =3D=3D null || elements.getLength() > 1) + throw new IllegalStateException("Element was either null or more t= han one:"+elements); + Element documentElement =3D (Element) elements.item(0); + = + if(documentElement =3D=3D null) + throw new IllegalStateException("Element could not be found in th= e document:"+ elementQName.toString()); + = + XMLCipher cipher =3D null; = + EncryptedKey encryptedKey =3D encryptKey(document, secretKey, public= Key, keySize); = + = + String encryptionAlgorithm =3D getXMLEncryptionURL(secretKey.getAlgo= rithm(), keySize); + //Encrypt the Document = + cipher =3D XMLCipher.getInstance(encryptionAlgorithm); + cipher.init(XMLCipher.ENCRYPT_MODE, secretKey); + + Document encryptedDoc =3D cipher.doFinal(document, documentElement)= ; = + = + // The EncryptedKey element is added + Element encryptedKeyElement =3D cipher.martial(document, encryptedK= ey); = + + String wrappingElementName =3D wrappingElementPrefix + ":" + wrappin= gElementQName.getLocalPart(); = + = + //Create the wrapping element and set its attribute NS + Element wrappingElement =3D encryptedDoc.createElementNS(wrappingEle= mentQName.getNamespaceURI(), + wrappingElementName); + = + if(wrappingElementPrefix =3D=3D null || wrappingElementPrefix =3D=3D= "") + { + wrappingElementName =3D wrappingElementQName.getLocalPart(); + } + wrappingElement.setAttributeNS(XMLNS, + "xmlns:" + wrappingElementPrefix, wrappingElementQName.getName= spaceURI()); = + = + //Get Hold of the Cipher Data + NodeList cipherElements =3D encryptedDoc.getElementsByTagNameNS(XMLE= NC_NS, "EncryptedData"); + if(cipherElements =3D=3D null || cipherElements.getLength() =3D=3D 0) + throw new IllegalStateException("xenc:EncryptedData Element Missi= ng"); + Element encryptedDataElement =3D (Element) cipherElements.item(0); + = + Node parentOfEncNode =3D encryptedDataElement.getParentNode(); + parentOfEncNode.replaceChild(wrappingElement, encryptedDataElement); = + = + wrappingElement.appendChild(encryptedDataElement); + = + if (addEncryptedKeyInKeyInfo) = + { + // Outer ds:KeyInfo Element to hold the EncryptionKey + Element sigElement =3D 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 =3D encryptedDoc.getElementsByTagNameNS(XMLENC_= NS, CIPHER_DATA_LOCALNAME); + if (nodeList =3D=3D null || nodeList.getLength() =3D=3D 0) = + throw new IllegalStateException("xenc:CipherData Element Missi= ng"); = + Element cipherDataElement =3D (Element) nodeList.item(0); + Node cipherParent =3D 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. + * 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 encryptio= n key * @param secretKey The secret encryption key @@ -103,10 +204,15 @@ * @return An element that has the wrappingElementQName * @throws Exception */ - public static Element encryptElementInDocument(Document document, Publi= cKey publicKey, + public static Element encryptElementInDocument(Document document, = + PublicKey publicKey, SecretKey secretKey, int keySize, QName wrappingElementQName, boolean addEncryptedKeyInKeyInfo) throws Exception { + String wrappingElementPrefix =3D wrappingElementQName.getPrefix(); + if(wrappingElementPrefix =3D=3D null || wrappingElementPrefix =3D=3D= "") + throw new IllegalArgumentException("Wrapping element prefix inval= id"); + = XMLCipher cipher =3D null; = EncryptedKey encryptedKey =3D encryptKey(document, secretKey, public= Key, keySize); = = @@ -120,12 +226,18 @@ // The EncryptedKey element is added Element encryptedKeyElement =3D cipher.martial(document, encryptedK= ey); = = + String wrappingElementName =3D wrappingElementPrefix + ":" + wrappin= gElementQName.getLocalPart(); = + = //Create the wrapping element and set its attribute NS Element wrappingElement =3D encryptedDoc.createElementNS(wrappingEle= mentQName.getNamespaceURI(), - wrappingElementQName.getPrefix() + ":" + wrappingElementQName.= getLocalPart()); + wrappingElementName); = + if(wrappingElementPrefix =3D=3D null || wrappingElementPrefix =3D=3D= "") + { + wrappingElementName =3D wrappingElementQName.getLocalPart(); + } wrappingElement.setAttributeNS(XMLNS, - "xmlns:" + wrappingElementQName.getPrefix(), wrappingElementQN= ame.getNamespaceURI()); = + "xmlns:" + wrappingElementPrefix, wrappingElementQName.getName= spaceURI()); = = Element encryptedDocRootElement =3D encryptedDoc.getDocumentElement(= ); = //Bring in the encrypted wrapping element to wrap the root node @@ -136,13 +248,13 @@ if (addEncryptedKeyInKeyInfo) = { // Outer ds:KeyInfo Element to hold the EncryptionKey - Element sigElement =3D encryptedDoc.createElementNS(XMLSIG_NS, "d= s:KeyInfo"); + Element sigElement =3D 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 =3D encryptedDocRootElement.getElementsByTagNam= eNS(XMLENC_NS, "CipherData"); - if ((nodeList =3D=3D null) || (nodeList.getLength() =3D=3D 0)) = + NodeList nodeList =3D encryptedDocRootElement.getElementsByTagNam= eNS(XMLENC_NS, CIPHER_DATA_LOCALNAME); + if (nodeList =3D=3D null || nodeList.getLength() =3D=3D 0) = throw new IllegalStateException("xenc:CipherData Element Missi= ng"); = = Element cipherDataElement =3D (Element) nodeList.item(0); = @@ -155,9 +267,8 @@ } = return encryptedDoc.getDocumentElement(); - } = + } = - = /** * Decrypt an encrypted element inside a document * @param documentWithEncryptedElement = @@ -182,7 +293,7 @@ if(encKeyElement =3D=3D null) { = //Search the enc data element for enc key - NodeList nodeList =3D encDataElement.getElementsByTagNameNS( XMLE= NC_NS, "EncryptedKey"); + NodeList nodeList =3D encDataElement.getElementsByTagNameNS( XMLE= NC_NS, ENCRYPTED_KEY_LOCALNAME); = if(nodeList =3D=3D null || nodeList.getLength() =3D=3D 0) throw new IllegalStateException("Encrypted Key not found in th= e enc data"); Modified: identity-federation/trunk/identity-fed-api/src/test/java/org/jbos= s/test/identity/federation/api/util/XMLEncryptionUnitTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/util/XMLEncryptionUnitTestCase.java 2009-02-26 20:= 53:23 UTC (rev 350) +++ identity-federation/trunk/identity-fed-api/src/test/java/org/jboss/test= /identity/federation/api/util/XMLEncryptionUnitTestCase.java 2009-02-26 20:= 53:50 UTC (rev 351) @@ -25,6 +25,7 @@ import java.io.StringWriter; import java.security.KeyPair; import java.security.KeyPairGenerator; +import java.security.PublicKey; import java.util.ArrayList; import java.util.List; = @@ -48,6 +49,8 @@ import org.jboss.identity.federation.saml.v2.protocol.ResponseType; import org.w3c.dom.Document; import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; = = /** @@ -126,6 +129,57 @@ assertEquals("http://identityurl", assertion.getIssuer().getValue()); } = + = + public void testArbitraryXML() throws Exception + { + String myXML =3D ""; + = + KeyPair kp =3D this.getKeyPair("RSA"); + SecretKey sk =3D this.getSecretKey(); + = + PublicKey publicKey =3D kp.getPublic(); + = + Document doc =3D DocumentUtil.getDocument(myXML); + QName qname =3D new QName("urn:test", "encryptedA", "someprefix"); + = + QName elementAQname =3D new QName("a"); + = + XMLEncryptionUtil.encryptElement(elementAQname, doc, + publicKey, sk, 256, qname, true); + = + //Let us verify the document: The original document that has been pa= ssed has been updated + NodeList nl =3D doc.getElementsByTagNameNS(XMLEncryptionUtil.XMLENC_= NS, + XMLEncryptionUtil.ENCRYPTED_KEY_LOCALNAME); + assertTrue(nl !=3D null && nl.getLength() =3D=3D 1); = + = + Node wrappedNode =3D doc.getDocumentElement().getFirstChild(); + assertEquals(wrappedNode.getLocalName(),qname.getLocalPart()); + assertEquals(wrappedNode.getNamespaceURI(), qname.getNamespaceURI()); + assertEquals(wrappedNode.getPrefix(), qname.getPrefix()); = + } + = + public void testArbitraryXMLWithOuterKeyInfo() throws Exception + { + String myXML =3D ""; + = + KeyPair kp =3D this.getKeyPair("RSA"); + SecretKey sk =3D this.getSecretKey(); + = + PublicKey publicKey =3D kp.getPublic(); + = + Document doc =3D DocumentUtil.getDocument(myXML); + QName qname =3D new QName("urn:test", "encryptedA", "someprefix"); + = + QName elementAQname =3D new QName("a"); + = + XMLEncryptionUtil.encryptElement(elementAQname, doc, + publicKey, sk, 256, qname, false); + = + //Let us verify the document: The original document that has been pa= ssed has been updated + NodeList nl =3D doc.getElementsByTagNameNS(XMLEncryptionUtil.XMLENC_= NS, + XMLEncryptionUtil.ENCRYPTED_KEY_LOCALNAME); + assertTrue(nl !=3D null && nl.getLength() =3D=3D 1); + } private ResponseType createResponse() throws Exception { List roles =3D new ArrayList(); --===============8126292583722554707==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 17:21:56 2009 Content-Type: multipart/mixed; boundary="===============0190351890689978988==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r352 - in identity-doc/trunk: UserGuide/src/main/docbook and 1 other directories. Date: Thu, 26 Feb 2009 17:21:56 -0500 Message-ID: --===============0190351890689978988== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-26 17:21:56 -0500 (Thu, 26 Feb 2009) New Revision: 352 Added: identity-doc/trunk/assembly/ identity-doc/trunk/assembly/bin.xml identity-doc/trunk/assembly/pom.xml Modified: identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml identity-doc/trunk/pom.xml Log: add assembly module to zip Modified: identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-26 = 20:53:50 UTC (rev 351) +++ identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-26 = 22:21:56 UTC (rev 352) @@ -712,6 +712,14 @@ = + = + +
+ + Web SSO (XML Encryption Support) + +
+
= @@ -852,6 +860,11 @@ + JBoss Identity User Forum + + + JBoss Identity Design Forum Added: identity-doc/trunk/assembly/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/assembly/bin.xml (rev 0) +++ identity-doc/trunk/assembly/bin.xml 2009-02-26 22:21:56 UTC (rev 352) @@ -0,0 +1,16 @@ + + + zip + + false + + + ../DeveloperGuide/target/docbook/publish + /DeveloperGuide + + + ../UserGuide/target/docbook/publish + /UserGuide + + + Added: identity-doc/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/assembly/pom.xml (rev 0) +++ identity-doc/trunk/assembly/pom.xml 2009-02-26 22:21:56 UTC (rev 352) @@ -0,0 +1,62 @@ + + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha1-SNAPSHOT + ../parent + + 4.0.0 + org.jboss.identity + jboss-identity-doc + pom + JBoss Identity Federation- Assembly + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity doc + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.1 + + + package + + attached + + + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssecuri= ty/ + + + + bin.xml + + + false + + + + = + Modified: identity-doc/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml 2009-02-26 20:53:50 UTC (rev 351) +++ identity-doc/trunk/pom.xml 2009-02-26 22:21:56 UTC (rev 352) @@ -18,5 +18,6 @@ parent DeveloperGuide UserGuide + assembly
--===============0190351890689978988==-- From jboss-identity-commits at lists.jboss.org Thu Feb 26 17:31:20 2009 Content-Type: multipart/mixed; boundary="===============1390543530993503575==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r353 - in identity-doc/trunk: DeveloperGuide and 10 other directories. Date: Thu, 26 Feb 2009 17:31:20 -0500 Message-ID: --===============1390543530993503575== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-26 17:31:20 -0500 (Thu, 26 Feb 2009) New Revision: 353 Modified: identity-doc/trunk/ identity-doc/trunk/DeveloperGuide/ identity-doc/trunk/DeveloperGuide/src/ identity-doc/trunk/DeveloperGuide/src/main/ identity-doc/trunk/DeveloperGuide/src/main/docbook/ identity-doc/trunk/UserGuide/ identity-doc/trunk/UserGuide/src/ identity-doc/trunk/UserGuide/src/main/ identity-doc/trunk/UserGuide/src/main/docbook/ identity-doc/trunk/assembly/ identity-doc/trunk/images/ identity-doc/trunk/parent/ Log: recursively set svn ignore Property changes on: identity-doc/trunk ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/DeveloperGuide ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/DeveloperGuide/src ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/DeveloperGuide/src/main ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/DeveloperGuide/src/main/docbook ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/UserGuide ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/UserGuide/src ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/UserGuide/src/main ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/UserGuide/src/main/docbook ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/assembly ___________________________________________________________________ Name: svn:ignore + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/images ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse Property changes on: identity-doc/trunk/parent ___________________________________________________________________ Name: svn:ignore - .project .classpath target target-eclipse .metadata + .classpath .project .metadata target target-eclipse --===============1390543530993503575==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 15:48:35 2009 Content-Type: multipart/mixed; boundary="===============7241741334989277939==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r354 - in identity-doc/trunk: DeveloperGuide and 3 other directories. Date: Fri, 27 Feb 2009 15:48:35 -0500 Message-ID: --===============7241741334989277939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 15:48:34 -0500 (Fri, 27 Feb 2009) New Revision: 354 Modified: identity-doc/trunk/DeveloperGuide/pom.xml identity-doc/trunk/UserGuide/pom.xml identity-doc/trunk/assembly/pom.xml identity-doc/trunk/parent/pom.xml identity-doc/trunk/pom.xml Log: [maven-release-plugin] prepare release 1.0.0.alpha2 Modified: identity-doc/trunk/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-26 22:31:20 UTC (rev = 353) +++ identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-27 20:48:34 UTC (rev = 354) @@ -2,12 +2,12 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Developer-Guide-${translation} - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 jdocbook Developer Guide (${translation}) = Modified: identity-doc/trunk/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/trunk/UserGuide/pom.xml 2009-02-27 20:48:34 UTC (rev 354) @@ -2,14 +2,14 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent = = 4.0.0 User-Guide-${translation} - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 jdocbook User Guide (${translation}) = Modified: identity-doc/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/assembly/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/trunk/assembly/pom.xml 2009-02-27 20:48:34 UTC (rev 354) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Modified: identity-doc/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/parent/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/trunk/parent/pom.xml 2009-02-27 20:48:34 UTC (rev 354) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-doc-parent pom - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 JBoss Identity Doc- Parent http://labs.jboss.org/portal/jbossidentity/ JBoss Identity is a cross-cutting project that handles ident= ity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha1-SNAPSHOT - scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha2 Modified: identity-doc/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/trunk/pom.xml 2009-02-27 20:48:34 UTC (rev 354) @@ -2,14 +2,14 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 parent = 4.0.0 org.jboss.identity.docs jboss-identity-docs - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 pom JBoss Identity Docs http://www.jboss.com/products/jbossidentity --===============7241741334989277939==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 15:49:30 2009 Content-Type: multipart/mixed; boundary="===============4128276917923613172==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r355 - identity-doc. Date: Fri, 27 Feb 2009 15:49:30 -0500 Message-ID: --===============4128276917923613172== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 15:49:29 -0500 (Fri, 27 Feb 2009) New Revision: 355 Added: identity-doc/tags/ Log: tags dir --===============4128276917923613172==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 15:49:43 2009 Content-Type: multipart/mixed; boundary="===============3327551301372638486==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r356 - in identity-doc/tags: 1.0.0.alpha2 and 7 other directories. Date: Fri, 27 Feb 2009 15:49:43 -0500 Message-ID: --===============3327551301372638486== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 15:49:43 -0500 (Fri, 27 Feb 2009) New Revision: 356 Added: identity-doc/tags/1.0.0.alpha2/ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Author_Gr= oup.xml identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Developer= Guide.xml identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_Group.x= ml identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuide.xml identity-doc/tags/1.0.0.alpha2/assembly/bin.xml identity-doc/tags/1.0.0.alpha2/assembly/pom.xml identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.png identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg identity-doc/tags/1.0.0.alpha2/images/WS-Trust.png identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg identity-doc/tags/1.0.0.alpha2/parent/pom.xml identity-doc/tags/1.0.0.alpha2/pom.xml Removed: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Author_Gr= oup.xml identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Developer= Guide.xml identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_Group.x= ml identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuide.xml identity-doc/tags/1.0.0.alpha2/assembly/bin.xml identity-doc/tags/1.0.0.alpha2/assembly/pom.xml identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.png identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg identity-doc/tags/1.0.0.alpha2/images/WS-Trust.png identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg identity-doc/tags/1.0.0.alpha2/parent/pom.xml identity-doc/tags/1.0.0.alpha2/pom.xml Log: [maven-release-plugin] copy for tag 1.0.0.alpha2 Copied: identity-doc/tags/1.0.0.alpha2 (from rev 353, identity-doc/trunk) Deleted: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-26 22:31:20 UTC (rev = 353) +++ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml 2009-02-27 20:49:= 43 UTC (rev 356) @@ -1,82 +0,0 @@ - - - org.jboss.identity - jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - - 4.0.0 - Developer-Guide-${translation} - 1.0.0.alpha1-SNAPSHOT - jdocbook - Developer Guide (${translation}) - - - - - org.jboss.maven.plugins - maven-jdocbook-plugin - 2.1.2 - true - - - org.jboss - jbossorg-docbook-xslt - 1.1.0 - - - org.jboss - jbossorg-jdocbook-style - 1.1.0 - jdocbook-style - - - - DeveloperGuide.xml - - ${basedir}/src/main/docbook - - ${basedir}/../images/*.png - - - - - - pdf - classpath:/xslt/org/jboss/= pdf.xsl - DeveloperGuide.pdf - - - html - classpath:/xslt/org/jboss/xhtml.xsl - index.html - - - html_single - classpath:/xslt/org/jboss/= xhtml-single.xsl - index.html - - - eclipse - classpath:/xslt/org/jboss/= eclipse.xsl - index.html - - - - true - saxon - - - 1.72.0 - - - - - - - - en-US - = - Copied: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml (from rev 354= , identity-doc/trunk/DeveloperGuide/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml = (rev 0) +++ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/pom.xml 2009-02-27 20:49:= 43 UTC (rev 356) @@ -0,0 +1,82 @@ + + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha2 + ../parent + + 4.0.0 + Developer-Guide-${translation} + 1.0.0.alpha2 + jdocbook + Developer Guide (${translation}) + + + + + org.jboss.maven.plugins + maven-jdocbook-plugin + 2.1.2 + true + + + org.jboss + jbossorg-docbook-xslt + 1.1.0 + + + org.jboss + jbossorg-jdocbook-style + 1.1.0 + jdocbook-style + + + + DeveloperGuide.xml + + ${basedir}/src/main/docbook + + ${basedir}/../images/*.png + + + + + + pdf + classpath:/xslt/org/jboss/= pdf.xsl + DeveloperGuide.pdf + + + html + classpath:/xslt/org/jboss/xhtml.xsl + index.html + + + html_single + classpath:/xslt/org/jboss/= xhtml-single.xsl + index.html + + + eclipse + classpath:/xslt/org/jboss/= eclipse.xsl + index.html + + + + true + saxon + + + 1.72.0 + + + + + + + + en-US + = + Deleted: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Aut= hor_Group.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/src/main/docbook/Author_Group.xml 200= 9-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Author_G= roup.xml 2009-02-27 20:49:43 UTC (rev 356) @@ -1,6 +0,0 @@ - - - - Anil Saldhana - Copied: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Auth= or_Group.xml (from rev 352, identity-doc/trunk/DeveloperGuide/src/main/docb= ook/Author_Group.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Author_G= roup.xml (rev 0) +++ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Author_G= roup.xml 2009-02-27 20:49:43 UTC (rev 356) @@ -0,0 +1,6 @@ + + + + Anil Saldhana + Deleted: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Dev= eloperGuide.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/src/main/docbook/DeveloperGuide.xml 2= 009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Develope= rGuide.xml 2009-02-27 20:49:43 UTC (rev 356) @@ -1,187 +0,0 @@ - - -]> - = - - JBoss Identity Federation - - Developer Guide = - - = - = - - 1.0.0.alpha2. - - = - - - - What this Book Covers? - - This book aims to help you become familiar with JBoss Identity - Federation in order that you can use it to develop your own Federated - Identity based services or applications. - - Part I 'Getting Started' introduces the federated identity - technologies that are provided in this product. - - Part II 'Developer Usage' takes a look at the API and Object Mod= el - available to you to create applications and services for your needs wi= th - Federated Identity. - = - = - Part IV 'Resources' provides additional resources. - - = - - = - - Getting Started - - - Introduction - - JBoss Identity Federation allows you to implement SAML v2.0 ba= sed - services and applications. It also has support for Oasis WS-Trust ba= sed - applications. - - - With JBoss Identity Federation, you have the following - features. - - - - - SAML v2 and WS-Trust v1.3 Object Model. - - - - SAML v2 Identity API. - - - - SAML v2 HTTP/Redirect Binding Support for JBoss and - Tomcat. - - - - SAML v2 HTTP/Redirect Binding Support for JBoss and Tomcat - with XML Signature Support. - - - - WS-Trust Security Token Service (STS). - - - - The SAML v2 specification provides multiple profiles and bindi= ngs. - In this version of the product, we provide support for web browser b= ased - single sign on (SSO) via HTTP/Redirect Binding. - - An user/developer is free to implement the other profiles and - bindings using the object model provided in this product. - - - - = - = - Developer Usage - - - Identity API for SAML v2 - - Use SAML2Request API class for creating SAML request objec= ts. - Use SAML2Response API class for creating SAML response obj= ects. - - The following examples displays usage of the API provided in - the Identity Federation product. - - The SAML2Request API class can be used to create SAML2 reque= sts - and convert it into XML and back using the marshall or unmarshall= methods. - - - import org.jboss.identity.federation.api.saml.v2.request.SAML2Re= quest; - import org.jboss.identity.federation.saml.v2.protocol.LogoutRequ= estType; - - SAML2Request saml2Request =3D new SAML2Request(); = - - //We will create an AuthnRequest - AuthnRequestType authnRequest =3D request.createAuthnRequestType= ( = - id, "http://sp", "http://idp", "http://sp"); = - - //Now marshall the request into a byte array based output stream - ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); - request.marshall(authnRequest, baos); = - request.marshall(authnRequest, System.out); //To Console = - - //Assume that we have an inputstream where we get the SAML feed - InputStream is =3D new ByteArrayInputStream(baos.toCharArray()); - authnRequest =3D saml2Request.unmarshall(is); - - //We will create a log out request = - LogoutRequestType lrt =3D saml2Request.createLogoutRequest("http= ://idp"); - - SAML2Response API class can be used to create SAML2 response= objects - as well as marshall and unmarshall to xml and back. - - - import org.jboss.identity.federation.api.saml.v2.request.SAML2Re= sponse; - - SAML2Response saml2Response =3D new SAML2Response(); = - saml2Response.createTimedConditions(assertion, this.assertionVal= idity) - - //IssuerInfoHolder is a class for information on the Issuer of S= AML Assertions - IssuerInfoHolder issuerHolder =3D new IssuerInfoHolder("http://i= dp"); - issuerHolder.setStatusCode(JBossSAMLURIConstants.STATUS_SUCCESS.= get()); - = - //IDPInfoHolder is a class for information on the Identity Provi= der - IDPInfoHolder idp =3D new IDPInfoHolder(); - idp.setNameIDFormatValue(IDGenerator.create()); - = - //SPInfoHolder is a class for information on the Service Provider - - ResponseType rt =3D JBossSAMLAuthnResponseFactory.createResponse= Type( - "response111", - new SPInfoHolder(), idp, issuerHolder); - = - ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); - saml2Response.marshall(rt, baos); - - - = - - JAXB2 Based Object Model for SAML and WS-Trust - JBoss Identity Federation contains an object model for SAMLv= 2 and WS-Trust v1.3 - applications. The object model is very useful for developers who wa= nt to build advanced - applications that are not fully supported by the Identity API from = the previous section. = - - - Object Model for SAML v2 - org.jboss.identity.federation.sam= l.v2 is - the package that contains the object model. - - - Object Model for WS-Trust v1.3 - org.jboss.identity.federation.ws.= trust is - the package that contains the object model. - - = - - = - - Resources - - Resources on the Web - - JBossIdentity P= roject Page - - - JB= oss Identity Design Forum - - - - Copied: identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Deve= loperGuide.xml (from rev 352, identity-doc/trunk/DeveloperGuide/src/main/do= cbook/DeveloperGuide.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Develope= rGuide.xml (rev 0) +++ identity-doc/tags/1.0.0.alpha2/DeveloperGuide/src/main/docbook/Develope= rGuide.xml 2009-02-27 20:49:43 UTC (rev 356) @@ -0,0 +1,187 @@ + + +]> + = + + JBoss Identity Federation + + Developer Guide = + + = + = + + 1.0.0.alpha2. + + = + + + + What this Book Covers? + + This book aims to help you become familiar with JBoss Identity + Federation in order that you can use it to develop your own Federated + Identity based services or applications. + + Part I 'Getting Started' introduces the federated identity + technologies that are provided in this product. + + Part II 'Developer Usage' takes a look at the API and Object Mod= el + available to you to create applications and services for your needs wi= th + Federated Identity. + = + = + Part IV 'Resources' provides additional resources. + + = + + = + + Getting Started + + + Introduction + + JBoss Identity Federation allows you to implement SAML v2.0 ba= sed + services and applications. It also has support for Oasis WS-Trust ba= sed + applications. + + + With JBoss Identity Federation, you have the following + features. + + + + + SAML v2 and WS-Trust v1.3 Object Model. + + + + SAML v2 Identity API. + + + + SAML v2 HTTP/Redirect Binding Support for JBoss and + Tomcat. + + + + SAML v2 HTTP/Redirect Binding Support for JBoss and Tomcat + with XML Signature Support. + + + + WS-Trust Security Token Service (STS). + + + + The SAML v2 specification provides multiple profiles and bindi= ngs. + In this version of the product, we provide support for web browser b= ased + single sign on (SSO) via HTTP/Redirect Binding. + + An user/developer is free to implement the other profiles and + bindings using the object model provided in this product. + + + + = + = + Developer Usage + + + Identity API for SAML v2 + + Use SAML2Request API class for creating SAML request objec= ts. + Use SAML2Response API class for creating SAML response obj= ects. + + The following examples displays usage of the API provided in + the Identity Federation product. + + The SAML2Request API class can be used to create SAML2 reque= sts + and convert it into XML and back using the marshall or unmarshall= methods. + + + import org.jboss.identity.federation.api.saml.v2.request.SAML2Re= quest; + import org.jboss.identity.federation.saml.v2.protocol.LogoutRequ= estType; + + SAML2Request saml2Request =3D new SAML2Request(); = + + //We will create an AuthnRequest + AuthnRequestType authnRequest =3D request.createAuthnRequestType= ( = + id, "http://sp", "http://idp", "http://sp"); = + + //Now marshall the request into a byte array based output stream + ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); + request.marshall(authnRequest, baos); = + request.marshall(authnRequest, System.out); //To Console = + + //Assume that we have an inputstream where we get the SAML feed + InputStream is =3D new ByteArrayInputStream(baos.toCharArray()); + authnRequest =3D saml2Request.unmarshall(is); + + //We will create a log out request = + LogoutRequestType lrt =3D saml2Request.createLogoutRequest("http= ://idp"); + + SAML2Response API class can be used to create SAML2 response= objects + as well as marshall and unmarshall to xml and back. + + + import org.jboss.identity.federation.api.saml.v2.request.SAML2Re= sponse; + + SAML2Response saml2Response =3D new SAML2Response(); = + saml2Response.createTimedConditions(assertion, this.assertionVal= idity) + + //IssuerInfoHolder is a class for information on the Issuer of S= AML Assertions + IssuerInfoHolder issuerHolder =3D new IssuerInfoHolder("http://i= dp"); + issuerHolder.setStatusCode(JBossSAMLURIConstants.STATUS_SUCCESS.= get()); + = + //IDPInfoHolder is a class for information on the Identity Provi= der + IDPInfoHolder idp =3D new IDPInfoHolder(); + idp.setNameIDFormatValue(IDGenerator.create()); + = + //SPInfoHolder is a class for information on the Service Provider + + ResponseType rt =3D JBossSAMLAuthnResponseFactory.createResponse= Type( + "response111", + new SPInfoHolder(), idp, issuerHolder); + = + ByteArrayOutputStream baos =3D new ByteArrayOutputStream(); + saml2Response.marshall(rt, baos); + + + = + + JAXB2 Based Object Model for SAML and WS-Trust + JBoss Identity Federation contains an object model for SAMLv= 2 and WS-Trust v1.3 + applications. The object model is very useful for developers who wa= nt to build advanced + applications that are not fully supported by the Identity API from = the previous section. = + + + Object Model for SAML v2 + org.jboss.identity.federation.sam= l.v2 is + the package that contains the object model. + + + Object Model for WS-Trust v1.3 + org.jboss.identity.federation.ws.= trust is + the package that contains the object model. + + = + + = + + Resources + + Resources on the Web + + JBossIdentity P= roject Page + + + JB= oss Identity Design Forum + + + + Deleted: identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml 2009-02-27 20:49:43 UT= C (rev 356) @@ -1,84 +0,0 @@ - - - org.jboss.identity - jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - - - - 4.0.0 - User-Guide-${translation} - 1.0.0.alpha1-SNAPSHOT - jdocbook - User Guide (${translation}) - - - - - org.jboss.maven.plugins - maven-jdocbook-plugin - 2.1.2 - true - - - org.jboss - jbossorg-docbook-xslt - 1.1.0 - - - org.jboss - jbossorg-jdocbook-style - 1.1.0 - jdocbook-style - - - - UserGuide.xml - - ${basedir}/src/main/docbook - - ${basedir}/../images/*.png - - - - - - pdf - classpath:/xslt/org/jboss/= pdf.xsl - UserGuide.pdf - - - html - classpath:/xslt/org/jboss/xhtml.xsl - index.html - - - html_single - classpath:/xslt/org/jboss/= xhtml-single.xsl - index.html - - - eclipse - classpath:/xslt/org/jboss/= eclipse.xsl - index.html - - - - true - saxon - - - 1.72.0 - - - - - - - - en-US - = - Copied: identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml (from rev 354, ide= ntity-doc/trunk/UserGuide/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml = (rev 0) +++ identity-doc/tags/1.0.0.alpha2/UserGuide/pom.xml 2009-02-27 20:49:43 UT= C (rev 356) @@ -0,0 +1,84 @@ + + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha2 + ../parent + + + + 4.0.0 + User-Guide-${translation} + 1.0.0.alpha2 + jdocbook + User Guide (${translation}) + + + + + org.jboss.maven.plugins + maven-jdocbook-plugin + 2.1.2 + true + + + org.jboss + jbossorg-docbook-xslt + 1.1.0 + + + org.jboss + jbossorg-jdocbook-style + 1.1.0 + jdocbook-style + + + + UserGuide.xml + + ${basedir}/src/main/docbook + + ${basedir}/../images/*.png + + + + + + pdf + classpath:/xslt/org/jboss/= pdf.xsl + UserGuide.pdf + + + html + classpath:/xslt/org/jboss/xhtml.xsl + index.html + + + html_single + classpath:/xslt/org/jboss/= xhtml-single.xsl + index.html + + + eclipse + classpath:/xslt/org/jboss/= eclipse.xsl + index.html + + + + true + saxon + + + 1.72.0 + + + + + + + + en-US + = + Deleted: identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_G= roup.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/src/main/docbook/Author_Group.xml 2009-02-= 26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_Group.= xml 2009-02-27 20:49:43 UTC (rev 356) @@ -1,6 +0,0 @@ - - - - Anil Saldhana - Copied: identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_Gr= oup.xml (from rev 352, identity-doc/trunk/UserGuide/src/main/docbook/Author= _Group.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_Group.= xml (rev 0) +++ identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/Author_Group.= xml 2009-02-27 20:49:43 UTC (rev 356) @@ -0,0 +1,6 @@ + + + + Anil Saldhana + Deleted: identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuid= e.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/src/main/docbook/UserGuide.xml 2009-02-26 = 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuide.xml= 2009-02-27 20:49:43 UTC (rev 356) @@ -1,873 +0,0 @@ - - -]> - - - - JBoss Identity Federation - - User Guide = - - = - = - - 1.0.0.alpha2. - - = - = - - - - What this Book Covers - - This book aims to help you become familiar with JBoss Identity - Federation in order that you can use it to build your own Federated - Identity based services or applications. - - Part I 'Getting Started' introduces the federated identity - technologies that are provided in this product. It also indicates - the libraries required for the installation. - - Part II 'Simple Usage' describes SAML v2 Web Browser based = - Single Sign On (SSO). - - Part III 'Advanced Usage' describes SAML v2 Web Browser based SS= O = - with advanced features such as Trust Management and XML - Digital Signatures. - = - Part IV 'Trouble Shooting' describes some basic - troubleshooting tips when things do not work the way they were intende= d. - - = - Part V 'Resources' provides additional resources. - - - - - Getting Started - - - Introduction - - JBoss Identity Federation allows you to implement SAML v2.0 ba= sed - services and applications. It also has support for Oasis WS-Trust ba= sed - applications (which is under development). - - With JBoss Identity Federation, you have the following - features. - - - = - SAML v2 Web Browser SSO (HTTP/Redirect Binding) Support fo= r = - JBoss Application Server and Apache Tomcat. - - - - SAML v2 Web Browser SSO (HTTP/Redirect Binding) Support fo= r = - JBoss Application Server and Apache Tomcat - with XML Signature Support. - = - - = - - = - - Installation - - JBoss Identity Federation requires the following libraries - to be either downloaded separately or as part of the Java JDK - or as part of JBoss Application Server. - - - Download the ZIP version of the JBoss Identity Community Platform. = - Place the unzipped jar files in the lib directory of tomcat - or JBoss AS. Additionally ensure that the following dependencies - are met. - - = - - JAXB V2 Library - - - - STAX API Library (a dependency for JAXB2) - - - - Activation API Library (a dependency for JAXB2) - - - - = - - Location for downloading the jars - - JBoss Maven Rep= ository - = - - = - - = - = - Simple Usage - - - Web Single Sign On (SSO) - In this chapter, we will look at usage of JBoss Identity - Federation to help you obtain a platform to implement federated iden= tity - based services (including centralized identity services - and Single Sign-On (SSO) for applications). - -
- SAML v2 based Web SSO - This section will talk about the configuration information to - support the SAML V2.0 based Web Single Sign On (SSO). The SAML p= rofile - that is implemented is the HTTP/Redirect binding with centralized - identity services to enable web SSO for your applications. - - - - = - - - - Hub and Spoke Architecture for the S= AML v2 based Web SSO - - - - The architecture follows the Hub and Spoke architecture of I= dentity Management. = - An Identity Provider (IDP) acts as the central source (hub) for id= entity and role = - information to all the applications (Service Providers/SP). The sp= okes are the = - Service Providers (SP). - - - The IDP and the SP can be a JBoss Application Server or a = Tomcat instance. - Please note that the instructions for Tomcat and JBAS are differ= ent. - - - - = -
- Configuring the Identity Provider (IDP) - = - - Check list for configuring the IDP - - Configure the IDP as a secure web application. - - Configure the web.xml to either allow FORM or BASIC= authentication. - - Configure the context.xml for IDP valves. - - Configure the jboss-idfed.xml for IDP configuration. - - - - = - The IDP can be a JBoss Application Server or a Tomcat inst= ance. - - - You need to configure a web application as the Identity provider= . = - - = - = -
- Configure the web application security for the IDP</titl= e> - <para>The web application needs to have FORM or BASIC based sec= urity enabled in its web.xml. - We recommend the use of FORM based web application security as = it gives you the ability to - customize the login page.</para> - <para>The web.xml needs to have a configuration such as the fol= lowing: - </para> - <programlisting role=3D"XML"> - <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> -<web-app xmlns=3D"http://java.sun.com/xml/ns/javaee" - xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javaee http://java.sun= .com/xml/ns/javaee/web-app_2_5.xsd" - version=3D"2.5"> - - <display-name>IDP</display-name> - <description>IDP</description> - - <!-- Define a security constraint that gives unlimited access to imag= es --> - <security-constraint> - <web-resource-collection> - <web-resource-name>Images</web-resource-name> - <url-pattern>/images/*</url-pattern> - </web-resource-collection> - </security-constraint> - - <!-- Define a Security Constraint on this Application --> - <security-constraint> - <web-resource-collection> - <web-resource-name>IDP</web-resource-name> - <url-pattern>/*</url-pattern> - </web-resource-collection> - <auth-constraint> - <role-name>manager</role-name> - </auth-constraint> - </security-constraint> - - <!-- Define the Login Configuration for this Application --> - <login-config> - <auth-method>FORM</auth-method> - <realm-name>IDP Application</realm-name> - <form-login-config> - <form-login-page>/jsp/login.jsp</form-login-page> - <form-error-page>/jsp/loginerror.jsp</form-error-page> - </form-login-config> - </login-config> - - <!-- Security roles referenced by this web application --> - <security-role> - <description> - The role that is required to log in to the IDP Application - </description> - <role-name>manager</role-name> - </security-role> -</web-app> - </programlisting> - = - = - <note> = - <para> Remember to configure the realm or login modules for yo= ur IDP as per the Tomcat or = - JBoss AS documentation on "securing your web application". - </para> - <ulink url=3D"http://tomcat.apache.org/tomcat-6.0-doc/realm-ho= wto.html">Tomcat Realm</ulink> - and - <ulink url=3D"http://jboss.org/community/docs/DOC-10760">JBoss= AS Security</ulink> - </note> - = - = - </section> <!-- Section on configuring web app security - IDP -= -> - = - = - <section> <!-- Configure the IDP Valves --> - <title>Configure the IDP Valves - Create a context.xml file for configuring = - the valves for the IDP. - - The context.xml file should look like: - - - <Context> - <Valve = - className=3D"org.jboss.identity.federation.bindings.tomcat= .idp.IDPRedirectValve" = - /> - </Context> - - = - = - If the IDP is running in Apache Tomcat, then place the = context.xml in = - META-INF of your IDP web = application. - - - = - - If the IDP is running in JBoss Application Server, the= n place the context.xml in = - WEB-INF of your IDP web a= pplication. - - - = -
- = -
- Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) - Configure jboss-idfed.xml in WEB-INF of your = - IDP web application - - <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > - <IdentityURL>http://localhost:8080/idp</IdentityURL= > = - </JBossIDP> - - = - In this configuration file, you are providing the URL of= your IDP. = - This is the URL that gets added as the issuer in the outgoing = SAML2 assertions = - to the Service Providers. - -
- = - = -
- Configure the Service Provider (SP) - - Check List for configuring the Service Provider. - - - Configure the SP as a secure FORM authentication b= ased web application. - - Configure the web.xml of the SP web application. - - Configure the context.xml for the SP valves. - - Configure the jboss-idfed.xml for the SP configura= tion. - - Perform additional steps if the SP is running on J= Boss Application Server. - - - - = - = - The SP can be a JBoss Application Server or a Tomcat insta= nce. - - - You need to configure a web application as the Service Provider(= SP). = - - = - = -
- Configure the web application security for the SP - The web application needs to have FORM based security ena= bled in its web.xml. - - The web.xml needs to have a configuration such as the fol= lowing: - - - - - <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> -<web-app xmlns=3D"http://java.sun.com/xml/ns/javaee" - xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javaee http://java.sun= .com/xml/ns/javaee/web-app_2_5.xsd" - version=3D"2.5"> = - - <display-name>Test SALES Application</display-name> - <description> - Just a Test SP - </description> - - <!-- Define a Security Constraint on this Application --> - <security-constraint> - <web-resource-collection> - <web-resource-name>SALES Application</web-resource-name> - <url-pattern>/*</url-pattern> - </web-resource-collection> - <auth-constraint> - <role-name>manager</role-name> - </auth-constraint> - </security-constraint> - - <!-- Define a security constraint that gives unlimted access to freez= one --> - <security-constraint> - <web-resource-collection> - <web-resource-name>freezone</web-resource-name> - <url-pattern>/freezone/*</url-pattern> - </web-resource-collection> - </security-constraint> - - <!-- Define the Login Configuration for this Application --> - <login-config> - <auth-method>FORM</auth-method> - <realm-name>Tomcat SALES Application</realm-name> - <form-login-config> - <form-login-page>/jsp/login.jsp</form-login-page> - <form-error-page>/jsp/loginerror.jsp</form-error-page> - </form-login-config> - </login-config> - - <!-- Security roles referenced by this web application --> - <security-role> - <description> - The role that is required to log in to the SP Application - </description> - <role-name>manager</role-name> - </security-role> -</web-app> - - - = - - - The SP web application should be configured with FORM based = authentication. = - - - = -
- = - = -
- Configure the SP Valves - Create a context.xml file for configuring = - the valves for the SP. - - The context.xml file should look like: - - - = - <Context> - <Valve - className=3D"org.jboss.identity.federation.bindings.tomcat.s= p.SPRedirectFormAuthenticator" = - /> - </Context> - - - = - = - If the SP is running in Apache Tomcat, then place the c= ontext.xml in = - META-INF of your SP web a= pplication. - - - = - - If the SP is running in JBoss Application Server, then= place the context.xml in = - WEB-INF of your SP web ap= plication. - - - = -
- = -
- Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) - Configure jboss-idfed.xml in WEB-INF of your = - SP web application - = - - = - <JBossSP xmlns=3D"urn:jboss:identity-federation:config:1.0"= > - <IdentityURL>http://localhost:8080/idp</IdentityURL= > - <ServiceURL>http://localhost:8080/sales</ServiceURL= > - </JBossSP> - - - = - - In this configuration file, we define the URLs for the servi= ce provider and = - the identity provider. - -
- Additional Steps for JBoss AS based SP - Configure a jboss-web.xml file in the = - WEB-INF directory of your SP web application. - - = - - <?xml version=3D"1.0" encoding=3D"UTF-8"?> - <!DOCTYPE jboss-web - PUBLIC "-//JBoss//DTD Web Application 2.4//EN" - "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd"> - <jboss-web> - <security-domain>java:/jaas/sp</security-domain> - </jboss-web> - - = - - - In this example, we have specified a security domain of "s= p". - You can use any security domain name of your choice as lon= g as - you configure the login module in the next step appropriat= ely. - - - = - - Configure the login module in conf/login-config.xml of your J= Boss - AS server configuration. - - - <application-policy name =3D "sp"> - <authentication> - <login-module = - code =3D "org.jboss.identity.federation.bindings.jboss.a= uth.SAML2LoginModule" /> - </authentication> = - </application-policy> = - - = -
- = - = -
- = -
-
-
- = - - Advanced Usage (Trust Management) - - Web SSO - XML Signature Support - - In this chapter, we describe the configuration for Web SSO with = XML Signature Support. - = -
- Configuring the Identity Provider - - The IDP needs to be configured to provide Web SSO with XML Signa= ture Support. - - = - - Check list for configuring the IDP - - Configure the IDP as a secure web application. - - Configure the web.xml to either allow FORM or BASIC= authentication. - - Configure the context.xml for IDP valves. - - Configure the jboss-idfed.xml for IDP configuration. - - - - = -
- Configure the IDP Web Application Security - - Configure the web application security for IDP - Follow the web.xml security configuration for the IDP= from the previous section - "Simple Usage". - - -
- = -
- Configure the IDP Valves - Create a context.xml file for configuring = - the valves for the IDP. - - The context.xml file should look like: - - - <Context> - <Valve = - className - =3D"org.jboss.identity.federation.bindings.tomcat.idp.IDPR= edirectWithSignatureValve" = - /> - </Context> - - = - = - If the IDP is running in Apache Tomcat, then place the = context.xml in = - META-INF of your IDP web = application. - - - = - - If the IDP is running in JBoss Application Server, the= n place the context.xml in = - WEB-INF of your IDP web a= pplication. - - - = -
- = -
- Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) - Configure jboss-idfed.xml in WEB-INF of your = - IDP web application - - <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > - <IdentityURL>http://localhost:8080/idp-sig</Identit= yURL> - <Trust> - <Domains>localhost,jboss.com,jboss.org</Domains&= gt; - </Trust> - <KeyProvider = - ClassName=3D"org.jboss.identity.federation.bindings.tomca= t.KeyStoreKeyManager"> - <Auth Key=3D"KeyStoreURL" Value=3D"jbid_test_keystore.= jks" /> - <Auth Key=3D"KeyStorePass" Value=3D"store123" /> - <Auth Key=3D"SigningKeyPass" Value=3D"test123" /> - <Auth Key=3D"SigningKeyAlias" Value=3D"servercert" /&g= t; - <ValidatingAlias Key=3D"localhost" Value=3D"servercert= "/> - <ValidatingAlias Key=3D"127.0.0.1" Value=3D"servercert= "/> - </KeyProvider> - </JBossIDP> - - = - In this configuration file, you are providing the URL of= your IDP. = - This is the URL that gets added as the issuer in the outgoing = SAML2 assertions = - to the Service Providers. - - - Additionally, you can configure the = Trust - element to indicate which domains the IDP trusts. - - - You can configure a TrustKeyManager - implementation for the Signing (Private) Key and the Validatin= g (Public) Key - information. In this example, we have used the = - KeyStoreKeyManager that - stores the keys in a Java KeyStore. The Auth - element define the key value pair needed to authenticate again= st the = - TrustKeyManager implementat= ion. The - ValidatingAlias is a map = of the domains - that need to be validated against an alias where the public ke= y of the domains - are stored. - -
- = - = -
- Configure the Service Provider (SP) - - Check List for configuring the Service Provider. - - - Configure the SP as a secure FORM authentication b= ased web application. - - Configure the web.xml of the SP web application. - - Configure the context.xml for the SP valves. - - Configure the jboss-idfed.xml for the SP configura= tion. - - - = - = - The SP can be a JBoss Application Server or a Tomcat insta= nce. - - - You need to configure a web application as the Service Provider(= SP). = - - = -
- Configure the SP Web Application Security - - Configure the web application security for SP - Follow the web.xml security configuration for the SP = from the previous section - "Simple Usage". - - -
- = -
- Configure the SP Valves - Create a context.xml file for configuring = - the valves for the SP. - - The context.xml file should look like: - - - = - <Context> - <Valve - className=3D - "org.jboss.identity.federation.bindings.tomcat.sp.SPRedirect= SignatureFormAuthenticator" = - /> - </Context> - - - = - = - If the SP is running in Apache Tomcat, then place the c= ontext.xml in = - META-INF of your SP web a= pplication. - - - = - - If the SP is running in JBoss Application Server, then= place the context.xml in = - WEB-INF of your SP web ap= plication. - - - = -
- = -
- Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) - Configure jboss-idfed.xml in WEB-INF of your = - IDP web application - - <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > - <IdentityURL>http://localhost:8080/idp-sig</Identit= yURL> - <Trust> - <Domains>localhost,jboss.com,jboss.org</Domains&= gt; - </Trust> - <KeyProvider = - ClassName=3D"org.jboss.identity.federation.bindings.tomca= t.KeyStoreKeyManager"> - <Auth Key=3D"KeyStoreURL" Value=3D"jbid_test_keystore.= jks" /> - <Auth Key=3D"KeyStorePass" Value=3D"store123" /> - <Auth Key=3D"SigningKeyPass" Value=3D"test123" /> - <Auth Key=3D"SigningKeyAlias" Value=3D"servercert" /&g= t; - <ValidatingAlias Key=3D"localhost" Value=3D"servercert= "/> - <ValidatingAlias Key=3D"127.0.0.1" Value=3D"servercert= "/> - </KeyProvider> - </JBossIDP> - - = - In this configuration file, we define the URLs for the s= ervice provider and = - the identity provider. - - - Additionally, you can configure the = Trust - element to indicate which domains the SP trusts. - - - You can configure a TrustKeyManager - implementation for the Signing (Private) Key and the Validatin= g (Public) Key - information. In this example, we have used the = - KeyStoreKeyManager that - stores the keys in a Java KeyStore. The Auth - element define the key value pair needed to authenticate again= st the = - TrustKeyManager implementat= ion. The - ValidatingAlias is a map = of the domains - that need to be validated against an alias where the public ke= y of the domains - are stored. - -
- = - - = - -
- - Web SSO (XML Encryption Support) - -
-
- - = - - Troubleshooting - -
- Configuring Logging - - JBoss Identity Federation uses Apache log4j as the logging fra= mework. - -
- Configuring Logging on Apache Tomcat - - Log4J jars and xml file - - Add a log4j.jar (from the Apache log4j Distribution) into t= he lib directory of - tomcat 6.x or server/lib of tomcat 5.5.x - - Also add a log4j.xml as shown below to the lib direc= tory. - - - = - - <?xml version=3D"1.0" encoding=3D"UTF-8"?> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> - -<!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> -<!-- = --> -<!-- Log4j Configuration = --> -<!-- = --> -<!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> - -<!-- - | For more configuration information and examples see the Jakarta Log4j - | owebsite: http://jakarta.apache.org/log4j - --> - -<log4j:configuration xmlns:log4j=3D"http://jakarta.apache.org/log4j/" d= ebug=3D"false"> - - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> - <!-- Preserve messages in a local file --> - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> - - <!-- A time/date based rolling appender --> - <appender name=3D"FILE" class=3D"org.apache.log4j.DailyRollingFileAp= pender"> - <param name=3D"File" value=3D"../logs/server.log"/> - <param name=3D"Append" value=3D"false"/> - <!-- = - Set the threshold via a system property. Note this is parsed by l= og4j, - so the full JBoss system property format is not supported; e.g. - setting a default via ${jboss.server.log.threshold:WARN} will not= work. = - --> - <param name=3D"Threshold" value=3D"TRACE"/> - - <!-- Rollover at midnight each day --> - <param name=3D"DatePattern" value=3D"'.'yyyy-MM-dd"/> - - <!-- Rollover at the top of each hour - <param name=3D"DatePattern" value=3D"'.'yyyy-MM-dd-HH"/> - --> - - <layout class=3D"org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] (Thread) Me= ssage\n --> - <param name=3D"ConversionPattern" value=3D"%d %-5p [%c] (%t) %= m%n"/> - - <!-- The full pattern: Date MS Priority [Category] (Thread:NDC= ) Message\n - <param name=3D"ConversionPattern" value=3D"%d %-5r %-5p [%c] (= %t:%x) %m%n"/> - --> - </layout> - </appender> - - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --> - <!-- Append messages to the console --> - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --> - - <appender name=3D"CONSOLE" class=3D"org.apache.log4j.ConsoleAppender= "> - <param name=3D"Target" value=3D"System.out"/> - <param name=3D"Threshold" value=3D"INFO"/> - - <layout class=3D"org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n -= -> - <param name=3D"ConversionPattern" value=3D"%d{ABSOLUTE} %-5p [= %c{1}] %m%n"/> - </layout> - </appender> - - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> - <!-- Limit categories --> - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> - - <!-- Limit the org.apache category to INFO as its DEBUG is verbose -= -> - <category name=3D"org.apache"> - <priority value=3D"TRACE"/> - </category> - <category name=3D"org.jboss"> - <priority value=3D"TRACE"/> - </category> - = - <!-- Setup the Root category --> - <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D --> - - <root> - <appender-ref ref=3D"CONSOLE"/> - <appender-ref ref=3D"FILE"/> - </root> - -</log4j:configuration> - = - = - - Location of the generated log file - - The generated log file will be server.log in the logs direc= tory. - - - = -
- = -
- Configuring logging in JBoss - - You can configure log4j in the conf directory of your JBoss se= rver (default, all etc) - - - Please refer to JBoss AS documentation on logging. - -
- = -
-
-
- = - - Resources - - Resources on the Web - - JBossIdentity P= roject Page - - - - JBoss Identity User Forum - - - - JBoss Identity Design Forum - - - - Copied: identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuide= .xml (from rev 352, identity-doc/trunk/UserGuide/src/main/docbook/UserGuide= .xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuide.xml= (rev 0) +++ identity-doc/tags/1.0.0.alpha2/UserGuide/src/main/docbook/UserGuide.xml= 2009-02-27 20:49:43 UTC (rev 356) @@ -0,0 +1,873 @@ + + +]> + + + + JBoss Identity Federation + + User Guide = + + = + = + + 1.0.0.alpha2. + + = + = + + + + What this Book Covers + + This book aims to help you become familiar with JBoss Identity + Federation in order that you can use it to build your own Federated + Identity based services or applications. + + Part I 'Getting Started' introduces the federated identity + technologies that are provided in this product. It also indicates + the libraries required for the installation. + + Part II 'Simple Usage' describes SAML v2 Web Browser based = + Single Sign On (SSO). + + Part III 'Advanced Usage' describes SAML v2 Web Browser based SS= O = + with advanced features such as Trust Management and XML + Digital Signatures. + = + Part IV 'Trouble Shooting' describes some basic + troubleshooting tips when things do not work the way they were intende= d. + + = + Part V 'Resources' provides additional resources. + + + + + Getting Started + + + Introduction + + JBoss Identity Federation allows you to implement SAML v2.0 ba= sed + services and applications. It also has support for Oasis WS-Trust ba= sed + applications (which is under development). + + With JBoss Identity Federation, you have the following + features. + + + = + SAML v2 Web Browser SSO (HTTP/Redirect Binding) Support fo= r = + JBoss Application Server and Apache Tomcat. + + + + SAML v2 Web Browser SSO (HTTP/Redirect Binding) Support fo= r = + JBoss Application Server and Apache Tomcat + with XML Signature Support. + = + + = + + = + + Installation + + JBoss Identity Federation requires the following libraries + to be either downloaded separately or as part of the Java JDK + or as part of JBoss Application Server. + + + Download the ZIP version of the JBoss Identity Community Platform. = + Place the unzipped jar files in the lib directory of tomcat + or JBoss AS. Additionally ensure that the following dependencies + are met. + + = + + JAXB V2 Library + + + + STAX API Library (a dependency for JAXB2) + + + + Activation API Library (a dependency for JAXB2) + + + + = + + Location for downloading the jars + + JBoss Maven Rep= ository + = + + = + + = + = + Simple Usage + + + Web Single Sign On (SSO) + In this chapter, we will look at usage of JBoss Identity + Federation to help you obtain a platform to implement federated iden= tity + based services (including centralized identity services + and Single Sign-On (SSO) for applications). + +
+ SAML v2 based Web SSO + This section will talk about the configuration information to + support the SAML V2.0 based Web Single Sign On (SSO). The SAML p= rofile + that is implemented is the HTTP/Redirect binding with centralized + identity services to enable web SSO for your applications. + + + + = + + + + Hub and Spoke Architecture for the S= AML v2 based Web SSO + + + + The architecture follows the Hub and Spoke architecture of I= dentity Management. = + An Identity Provider (IDP) acts as the central source (hub) for id= entity and role = + information to all the applications (Service Providers/SP). The sp= okes are the = + Service Providers (SP). + + + The IDP and the SP can be a JBoss Application Server or a = Tomcat instance. + Please note that the instructions for Tomcat and JBAS are differ= ent. + + + + = +
+ Configuring the Identity Provider (IDP) + = + + Check list for configuring the IDP + + Configure the IDP as a secure web application. + + Configure the web.xml to either allow FORM or BASIC= authentication. + + Configure the context.xml for IDP valves. + + Configure the jboss-idfed.xml for IDP configuration. + + + + = + The IDP can be a JBoss Application Server or a Tomcat inst= ance. + + + You need to configure a web application as the Identity provider= . = + + = + = +
+ Configure the web application security for the IDP</titl= e> + <para>The web application needs to have FORM or BASIC based sec= urity enabled in its web.xml. + We recommend the use of FORM based web application security as = it gives you the ability to + customize the login page.</para> + <para>The web.xml needs to have a configuration such as the fol= lowing: + </para> + <programlisting role=3D"XML"> + <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> +<web-app xmlns=3D"http://java.sun.com/xml/ns/javaee" + xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javaee http://java.sun= .com/xml/ns/javaee/web-app_2_5.xsd" + version=3D"2.5"> + + <display-name>IDP</display-name> + <description>IDP</description> + + <!-- Define a security constraint that gives unlimited access to imag= es --> + <security-constraint> + <web-resource-collection> + <web-resource-name>Images</web-resource-name> + <url-pattern>/images/*</url-pattern> + </web-resource-collection> + </security-constraint> + + <!-- Define a Security Constraint on this Application --> + <security-constraint> + <web-resource-collection> + <web-resource-name>IDP</web-resource-name> + <url-pattern>/*</url-pattern> + </web-resource-collection> + <auth-constraint> + <role-name>manager</role-name> + </auth-constraint> + </security-constraint> + + <!-- Define the Login Configuration for this Application --> + <login-config> + <auth-method>FORM</auth-method> + <realm-name>IDP Application</realm-name> + <form-login-config> + <form-login-page>/jsp/login.jsp</form-login-page> + <form-error-page>/jsp/loginerror.jsp</form-error-page> + </form-login-config> + </login-config> + + <!-- Security roles referenced by this web application --> + <security-role> + <description> + The role that is required to log in to the IDP Application + </description> + <role-name>manager</role-name> + </security-role> +</web-app> + </programlisting> + = + = + <note> = + <para> Remember to configure the realm or login modules for yo= ur IDP as per the Tomcat or = + JBoss AS documentation on "securing your web application". + </para> + <ulink url=3D"http://tomcat.apache.org/tomcat-6.0-doc/realm-ho= wto.html">Tomcat Realm</ulink> + and + <ulink url=3D"http://jboss.org/community/docs/DOC-10760">JBoss= AS Security</ulink> + </note> + = + = + </section> <!-- Section on configuring web app security - IDP -= -> + = + = + <section> <!-- Configure the IDP Valves --> + <title>Configure the IDP Valves + Create a context.xml file for configuring = + the valves for the IDP. + + The context.xml file should look like: + + + <Context> + <Valve = + className=3D"org.jboss.identity.federation.bindings.tomcat= .idp.IDPRedirectValve" = + /> + </Context> + + = + = + If the IDP is running in Apache Tomcat, then place the = context.xml in = + META-INF of your IDP web = application. + + + = + + If the IDP is running in JBoss Application Server, the= n place the context.xml in = + WEB-INF of your IDP web a= pplication. + + + = +
+ = +
+ Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) + Configure jboss-idfed.xml in WEB-INF of your = + IDP web application + + <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > + <IdentityURL>http://localhost:8080/idp</IdentityURL= > = + </JBossIDP> + + = + In this configuration file, you are providing the URL of= your IDP. = + This is the URL that gets added as the issuer in the outgoing = SAML2 assertions = + to the Service Providers. + +
+ = + = +
+ Configure the Service Provider (SP) + + Check List for configuring the Service Provider. + + + Configure the SP as a secure FORM authentication b= ased web application. + + Configure the web.xml of the SP web application. + + Configure the context.xml for the SP valves. + + Configure the jboss-idfed.xml for the SP configura= tion. + + Perform additional steps if the SP is running on J= Boss Application Server. + + + + = + = + The SP can be a JBoss Application Server or a Tomcat insta= nce. + + + You need to configure a web application as the Service Provider(= SP). = + + = + = +
+ Configure the web application security for the SP + The web application needs to have FORM based security ena= bled in its web.xml. + + The web.xml needs to have a configuration such as the fol= lowing: + + + + + <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> +<web-app xmlns=3D"http://java.sun.com/xml/ns/javaee" + xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=3D"http://java.sun.com/xml/ns/javaee http://java.sun= .com/xml/ns/javaee/web-app_2_5.xsd" + version=3D"2.5"> = + + <display-name>Test SALES Application</display-name> + <description> + Just a Test SP + </description> + + <!-- Define a Security Constraint on this Application --> + <security-constraint> + <web-resource-collection> + <web-resource-name>SALES Application</web-resource-name> + <url-pattern>/*</url-pattern> + </web-resource-collection> + <auth-constraint> + <role-name>manager</role-name> + </auth-constraint> + </security-constraint> + + <!-- Define a security constraint that gives unlimted access to freez= one --> + <security-constraint> + <web-resource-collection> + <web-resource-name>freezone</web-resource-name> + <url-pattern>/freezone/*</url-pattern> + </web-resource-collection> + </security-constraint> + + <!-- Define the Login Configuration for this Application --> + <login-config> + <auth-method>FORM</auth-method> + <realm-name>Tomcat SALES Application</realm-name> + <form-login-config> + <form-login-page>/jsp/login.jsp</form-login-page> + <form-error-page>/jsp/loginerror.jsp</form-error-page> + </form-login-config> + </login-config> + + <!-- Security roles referenced by this web application --> + <security-role> + <description> + The role that is required to log in to the SP Application + </description> + <role-name>manager</role-name> + </security-role> +</web-app> + + + = + + + The SP web application should be configured with FORM based = authentication. = + + + = +
+ = + = +
+ Configure the SP Valves + Create a context.xml file for configuring = + the valves for the SP. + + The context.xml file should look like: + + + = + <Context> + <Valve + className=3D"org.jboss.identity.federation.bindings.tomcat.s= p.SPRedirectFormAuthenticator" = + /> + </Context> + + + = + = + If the SP is running in Apache Tomcat, then place the c= ontext.xml in = + META-INF of your SP web a= pplication. + + + = + + If the SP is running in JBoss Application Server, then= place the context.xml in = + WEB-INF of your SP web ap= plication. + + + = +
+ = +
+ Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) + Configure jboss-idfed.xml in WEB-INF of your = + SP web application + = + + = + <JBossSP xmlns=3D"urn:jboss:identity-federation:config:1.0"= > + <IdentityURL>http://localhost:8080/idp</IdentityURL= > + <ServiceURL>http://localhost:8080/sales</ServiceURL= > + </JBossSP> + + + = + + In this configuration file, we define the URLs for the servi= ce provider and = + the identity provider. + +
+ Additional Steps for JBoss AS based SP + Configure a jboss-web.xml file in the = + WEB-INF directory of your SP web application. + + = + + <?xml version=3D"1.0" encoding=3D"UTF-8"?> + <!DOCTYPE jboss-web + PUBLIC "-//JBoss//DTD Web Application 2.4//EN" + "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd"> + <jboss-web> + <security-domain>java:/jaas/sp</security-domain> + </jboss-web> + + = + + + In this example, we have specified a security domain of "s= p". + You can use any security domain name of your choice as lon= g as + you configure the login module in the next step appropriat= ely. + + + = + + Configure the login module in conf/login-config.xml of your J= Boss + AS server configuration. + + + <application-policy name =3D "sp"> + <authentication> + <login-module = + code =3D "org.jboss.identity.federation.bindings.jboss.a= uth.SAML2LoginModule" /> + </authentication> = + </application-policy> = + + = +
+ = + = +
+ = +
+
+
+ = + + Advanced Usage (Trust Management) + + Web SSO - XML Signature Support + + In this chapter, we describe the configuration for Web SSO with = XML Signature Support. + = +
+ Configuring the Identity Provider + + The IDP needs to be configured to provide Web SSO with XML Signa= ture Support. + + = + + Check list for configuring the IDP + + Configure the IDP as a secure web application. + + Configure the web.xml to either allow FORM or BASIC= authentication. + + Configure the context.xml for IDP valves. + + Configure the jboss-idfed.xml for IDP configuration. + + + + = +
+ Configure the IDP Web Application Security + + Configure the web application security for IDP + Follow the web.xml security configuration for the IDP= from the previous section + "Simple Usage". + + +
+ = +
+ Configure the IDP Valves + Create a context.xml file for configuring = + the valves for the IDP. + + The context.xml file should look like: + + + <Context> + <Valve = + className + =3D"org.jboss.identity.federation.bindings.tomcat.idp.IDPR= edirectWithSignatureValve" = + /> + </Context> + + = + = + If the IDP is running in Apache Tomcat, then place the = context.xml in = + META-INF of your IDP web = application. + + + = + + If the IDP is running in JBoss Application Server, the= n place the context.xml in = + WEB-INF of your IDP web a= pplication. + + + = +
+ = +
+ Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) + Configure jboss-idfed.xml in WEB-INF of your = + IDP web application + + <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > + <IdentityURL>http://localhost:8080/idp-sig</Identit= yURL> + <Trust> + <Domains>localhost,jboss.com,jboss.org</Domains&= gt; + </Trust> + <KeyProvider = + ClassName=3D"org.jboss.identity.federation.bindings.tomca= t.KeyStoreKeyManager"> + <Auth Key=3D"KeyStoreURL" Value=3D"jbid_test_keystore.= jks" /> + <Auth Key=3D"KeyStorePass" Value=3D"store123" /> + <Auth Key=3D"SigningKeyPass" Value=3D"test123" /> + <Auth Key=3D"SigningKeyAlias" Value=3D"servercert" /&g= t; + <ValidatingAlias Key=3D"localhost" Value=3D"servercert= "/> + <ValidatingAlias Key=3D"127.0.0.1" Value=3D"servercert= "/> + </KeyProvider> + </JBossIDP> + + = + In this configuration file, you are providing the URL of= your IDP. = + This is the URL that gets added as the issuer in the outgoing = SAML2 assertions = + to the Service Providers. + + + Additionally, you can configure the = Trust + element to indicate which domains the IDP trusts. + + + You can configure a TrustKeyManager + implementation for the Signing (Private) Key and the Validatin= g (Public) Key + information. In this example, we have used the = + KeyStoreKeyManager that + stores the keys in a Java KeyStore. The Auth + element define the key value pair needed to authenticate again= st the = + TrustKeyManager implementat= ion. The + ValidatingAlias is a map = of the domains + that need to be validated against an alias where the public ke= y of the domains + are stored. + +
+ = + = +
+ Configure the Service Provider (SP) + + Check List for configuring the Service Provider. + + + Configure the SP as a secure FORM authentication b= ased web application. + + Configure the web.xml of the SP web application. + + Configure the context.xml for the SP valves. + + Configure the jboss-idfed.xml for the SP configura= tion. + + + = + = + The SP can be a JBoss Application Server or a Tomcat insta= nce. + + + You need to configure a web application as the Service Provider(= SP). = + + = +
+ Configure the SP Web Application Security + + Configure the web application security for SP + Follow the web.xml security configuration for the SP = from the previous section + "Simple Usage". + + +
+ = +
+ Configure the SP Valves + Create a context.xml file for configuring = + the valves for the SP. + + The context.xml file should look like: + + + = + <Context> + <Valve + className=3D + "org.jboss.identity.federation.bindings.tomcat.sp.SPRedirect= SignatureFormAuthenticator" = + /> + </Context> + + + = + = + If the SP is running in Apache Tomcat, then place the c= ontext.xml in = + META-INF of your SP web a= pplication. + + + = + + If the SP is running in JBoss Application Server, then= place the context.xml in = + WEB-INF of your SP web ap= plication. + + + = +
+ = +
+ Configure the JBoss Identity Federation configuration f= ile (jboss-idfed.xml) + Configure jboss-idfed.xml in WEB-INF of your = + IDP web application + + <JBossIDP xmlns=3D"urn:jboss:identity-federation:config:1.0= " > + <IdentityURL>http://localhost:8080/idp-sig</Identit= yURL> + <Trust> + <Domains>localhost,jboss.com,jboss.org</Domains&= gt; + </Trust> + <KeyProvider = + ClassName=3D"org.jboss.identity.federation.bindings.tomca= t.KeyStoreKeyManager"> + <Auth Key=3D"KeyStoreURL" Value=3D"jbid_test_keystore.= jks" /> + <Auth Key=3D"KeyStorePass" Value=3D"store123" /> + <Auth Key=3D"SigningKeyPass" Value=3D"test123" /> + <Auth Key=3D"SigningKeyAlias" Value=3D"servercert" /&g= t; + <ValidatingAlias Key=3D"localhost" Value=3D"servercert= "/> + <ValidatingAlias Key=3D"127.0.0.1" Value=3D"servercert= "/> + </KeyProvider> + </JBossIDP> + + = + In this configuration file, we define the URLs for the s= ervice provider and = + the identity provider. + + + Additionally, you can configure the = Trust + element to indicate which domains the SP trusts. + + + You can configure a TrustKeyManager + implementation for the Signing (Private) Key and the Validatin= g (Public) Key + information. In this example, we have used the = + KeyStoreKeyManager that + stores the keys in a Java KeyStore. The Auth + element define the key value pair needed to authenticate again= st the = + TrustKeyManager implementat= ion. The + ValidatingAlias is a map = of the domains + that need to be validated against an alias where the public ke= y of the domains + are stored. + +
+ = + + = + +
+ + Web SSO (XML Encryption Support) + +
+
+ + = + + Troubleshooting + +
+ Configuring Logging + + JBoss Identity Federation uses Apache log4j as the logging fra= mework. + +
+ Configuring Logging on Apache Tomcat + + Log4J jars and xml file + + Add a log4j.jar (from the Apache log4j Distribution) into t= he lib directory of + tomcat 6.x or server/lib of tomcat 5.5.x + + Also add a log4j.xml as shown below to the lib direc= tory. + + + = + + <?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> + +<!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> +<!-- = --> +<!-- Log4j Configuration = --> +<!-- = --> +<!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + +<!-- + | For more configuration information and examples see the Jakarta Log4j + | owebsite: http://jakarta.apache.org/log4j + --> + +<log4j:configuration xmlns:log4j=3D"http://jakarta.apache.org/log4j/" d= ebug=3D"false"> + + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + <!-- Preserve messages in a local file --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + + <!-- A time/date based rolling appender --> + <appender name=3D"FILE" class=3D"org.apache.log4j.DailyRollingFileAp= pender"> + <param name=3D"File" value=3D"../logs/server.log"/> + <param name=3D"Append" value=3D"false"/> + <!-- = + Set the threshold via a system property. Note this is parsed by l= og4j, + so the full JBoss system property format is not supported; e.g. + setting a default via ${jboss.server.log.threshold:WARN} will not= work. = + --> + <param name=3D"Threshold" value=3D"TRACE"/> + + <!-- Rollover at midnight each day --> + <param name=3D"DatePattern" value=3D"'.'yyyy-MM-dd"/> + + <!-- Rollover at the top of each hour + <param name=3D"DatePattern" value=3D"'.'yyyy-MM-dd-HH"/> + --> + + <layout class=3D"org.apache.log4j.PatternLayout"> + <!-- The default pattern: Date Priority [Category] (Thread) Me= ssage\n --> + <param name=3D"ConversionPattern" value=3D"%d %-5p [%c] (%t) %= m%n"/> + + <!-- The full pattern: Date MS Priority [Category] (Thread:NDC= ) Message\n + <param name=3D"ConversionPattern" value=3D"%d %-5r %-5p [%c] (= %t:%x) %m%n"/> + --> + </layout> + </appender> + + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --> + <!-- Append messages to the console --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D --> + + <appender name=3D"CONSOLE" class=3D"org.apache.log4j.ConsoleAppender= "> + <param name=3D"Target" value=3D"System.out"/> + <param name=3D"Threshold" value=3D"INFO"/> + + <layout class=3D"org.apache.log4j.PatternLayout"> + <!-- The default pattern: Date Priority [Category] Message\n -= -> + <param name=3D"ConversionPattern" value=3D"%d{ABSOLUTE} %-5p [= %c{1}] %m%n"/> + </layout> + </appender> + + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + <!-- Limit categories --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --> + + <!-- Limit the org.apache category to INFO as its DEBUG is verbose -= -> + <category name=3D"org.apache"> + <priority value=3D"TRACE"/> + </category> + <category name=3D"org.jboss"> + <priority value=3D"TRACE"/> + </category> + = + <!-- Setup the Root category --> + <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D --> + + <root> + <appender-ref ref=3D"CONSOLE"/> + <appender-ref ref=3D"FILE"/> + </root> + +</log4j:configuration> + = + = + + Location of the generated log file + + The generated log file will be server.log in the logs direc= tory. + + + = +
+ = +
+ Configuring logging in JBoss + + You can configure log4j in the conf directory of your JBoss se= rver (default, all etc) + + + Please refer to JBoss AS documentation on logging. + +
+ = +
+
+
+ = + + Resources + + Resources on the Web + + JBossIdentity P= roject Page + + + + JBoss Identity User Forum + + + + JBoss Identity Design Forum + + + + Deleted: identity-doc/tags/1.0.0.alpha2/assembly/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/assembly/bin.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/assembly/bin.xml 2009-02-27 20:49:43 UTC= (rev 356) @@ -1,16 +0,0 @@ - - - zip - - false - - - ../DeveloperGuide/target/docbook/publish - /DeveloperGuide - - - ../UserGuide/target/docbook/publish - /UserGuide - - - Copied: identity-doc/tags/1.0.0.alpha2/assembly/bin.xml (from rev 352, iden= tity-doc/trunk/assembly/bin.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/assembly/bin.xml = (rev 0) +++ identity-doc/tags/1.0.0.alpha2/assembly/bin.xml 2009-02-27 20:49:43 UTC= (rev 356) @@ -0,0 +1,16 @@ + + + zip + + false + + + ../DeveloperGuide/target/docbook/publish + /DeveloperGuide + + + ../UserGuide/target/docbook/publish + /UserGuide + + + Deleted: identity-doc/tags/1.0.0.alpha2/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/assembly/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/assembly/pom.xml 2009-02-27 20:49:43 UTC= (rev 356) @@ -1,62 +0,0 @@ - - - org.jboss.identity - jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - - 4.0.0 - org.jboss.identity - jboss-identity-doc - pom - JBoss Identity Federation- Assembly - http://labs.jboss.org/portal/jbosssecurity/ - JBoss Identity doc - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - = - - - - org.apache.maven.plugins - maven-assembly-plugin - 2.1 - - - package - - attached - - - - - - - JBoss Identity - ${project.version} - Red Hat Middleware LLC - JBoss Identity - ${project.version} - org.jboss.security - Red Hat Middleware LLC - http://labs.jboss.org/portal/jbosssecuri= ty/ - - - - bin.xml - - - false - - - - = - Copied: identity-doc/tags/1.0.0.alpha2/assembly/pom.xml (from rev 354, iden= tity-doc/trunk/assembly/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/assembly/pom.xml = (rev 0) +++ identity-doc/tags/1.0.0.alpha2/assembly/pom.xml 2009-02-27 20:49:43 UTC= (rev 356) @@ -0,0 +1,62 @@ + + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha2 + ../parent + + 4.0.0 + org.jboss.identity + jboss-identity-doc + pom + JBoss Identity Federation- Assembly + http://labs.jboss.org/portal/jbosssecurity/ + JBoss Identity doc + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.1 + + + package + + attached + + + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssecuri= ty/ + + + + bin.xml + + + false + + + + = + Deleted: identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Copied: identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.png (fr= om rev 352, identity-doc/trunk/images/HubNSpokeArchitecture.png) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Deleted: identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/images/HubNSpokeArchitecture.svg 2009-02-26 22:31:20= UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg 2009-02= -27 20:49:43 UTC (rev 356) @@ -1,922 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identity Provider - Service Provider - Service Provider - Service Provider - Service Provider - Circle Of Trust - - Copied: identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg (fr= om rev 352, identity-doc/trunk/images/HubNSpokeArchitecture.svg) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg = (rev 0) +++ identity-doc/tags/1.0.0.alpha2/images/HubNSpokeArchitecture.svg 2009-02= -27 20:49:43 UTC (rev 356) @@ -0,0 +1,922 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identity Provider + Service Provider + Service Provider + Service Provider + Service Provider + Circle Of Trust + + Deleted: identity-doc/tags/1.0.0.alpha2/images/WS-Trust.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Copied: identity-doc/tags/1.0.0.alpha2/images/WS-Trust.png (from rev 352, i= dentity-doc/trunk/images/WS-Trust.png) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Deleted: identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/images/WS-Trust.svg 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg 2009-02-27 20:49:43 = UTC (rev 356) @@ -1,256 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - SecurityTokenService= - - WSTrustRequestHandler - - SecurityTokenProvider - - SAMLTokenProvider - - KerberosTokenProvider - - X509TokenProvider - - STSConfiguration - - WS-TrustRequest - - - - - Copied: identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg (from rev 352, i= dentity-doc/trunk/images/WS-Trust.svg) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg = (rev 0) +++ identity-doc/tags/1.0.0.alpha2/images/WS-Trust.svg 2009-02-27 20:49:43 = UTC (rev 356) @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + SecurityTokenService= + + WSTrustRequestHandler + + SecurityTokenProvider + + SAMLTokenProvider + + KerberosTokenProvider + + X509TokenProvider + + STSConfiguration + + WS-TrustRequest + + + + + Deleted: identity-doc/tags/1.0.0.alpha2/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/parent/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/parent/pom.xml 2009-02-27 20:49:43 UTC (= rev 356) @@ -1,82 +0,0 @@ - - - org.jboss - jboss-parent - 4 - - 4.0.0 - org.jboss.identity - jboss-identity-doc-parent - pom - 1.0.0.alpha1-SNAPSHOT - JBoss Identity Doc- Parent - http://labs.jboss.org/portal/jbossidentity/ - JBoss Identity is a cross-cutting project that handles ident= ity needs for the JEMS projects - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha1-SNAPSHOT - scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha1-SNAPSHOT - - - - - maven-release-plugin - - https://svn.jboss.org/repos/jbossidentity/identity-doc= /tags - - - - - - - maven-surefire-plugin - - true - false - true - - **/**TestCase.java - - pertest - ${surefire.jvm.args} - false - false - - - - - - - - repository.jboss.org - JBoss Repository - default - http://repository.jboss.org/maven2/ - - false - - - - - snapshots.jboss.org - JBoss Snapshots Repository - default - http://snapshots.jboss.org/maven2/ - - true - - - false - - - - Copied: identity-doc/tags/1.0.0.alpha2/parent/pom.xml (from rev 354, identi= ty-doc/trunk/parent/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/parent/pom.xml (= rev 0) +++ identity-doc/tags/1.0.0.alpha2/parent/pom.xml 2009-02-27 20:49:43 UTC (= rev 356) @@ -0,0 +1,82 @@ + + + org.jboss + jboss-parent + 4 + + 4.0.0 + org.jboss.identity + jboss-identity-doc-parent + pom + 1.0.0.alpha2 + JBoss Identity Doc- Parent + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity is a cross-cutting project that handles ident= ity needs for the JEMS projects + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha2 + + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/identity-doc= /tags + + + + + + + maven-surefire-plugin + + true + false + true + + **/**TestCase.java + + pertest + ${surefire.jvm.args} + false + false + + + + + + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + + + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + + Deleted: identity-doc/tags/1.0.0.alpha2/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml 2009-02-26 22:31:20 UTC (rev 353) +++ identity-doc/tags/1.0.0.alpha2/pom.xml 2009-02-27 20:49:43 UTC (rev 356) @@ -1,23 +0,0 @@ - - - org.jboss.identity - jboss-identity-doc-parent - 1.0.0.alpha1-SNAPSHOT - parent - - - 4.0.0 - org.jboss.identity.docs - jboss-identity-docs - 1.0.0.alpha1-SNAPSHOT - pom - JBoss Identity Docs - http://www.jboss.com/products/jbossidentity - JBoss Identity Documentation - - parent - DeveloperGuide - UserGuide - assembly - - Copied: identity-doc/tags/1.0.0.alpha2/pom.xml (from rev 354, identity-doc/= trunk/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/tags/1.0.0.alpha2/pom.xml (rev 0) +++ identity-doc/tags/1.0.0.alpha2/pom.xml 2009-02-27 20:49:43 UTC (rev 356) @@ -0,0 +1,23 @@ + + + org.jboss.identity + jboss-identity-doc-parent + 1.0.0.alpha2 + parent + + + 4.0.0 + org.jboss.identity.docs + jboss-identity-docs + 1.0.0.alpha2 + pom + JBoss Identity Docs + http://www.jboss.com/products/jbossidentity + JBoss Identity Documentation + + parent + DeveloperGuide + UserGuide + assembly + + --===============3327551301372638486==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 15:49:54 2009 Content-Type: multipart/mixed; boundary="===============4863176561936150138==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r357 - in identity-doc/trunk: DeveloperGuide and 3 other directories. Date: Fri, 27 Feb 2009 15:49:48 -0500 Message-ID: --===============4863176561936150138== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 15:49:48 -0500 (Fri, 27 Feb 2009) New Revision: 357 Modified: identity-doc/trunk/DeveloperGuide/pom.xml identity-doc/trunk/UserGuide/pom.xml identity-doc/trunk/assembly/pom.xml identity-doc/trunk/parent/pom.xml identity-doc/trunk/pom.xml Log: [maven-release-plugin] prepare for next development iteration Modified: identity-doc/trunk/DeveloperGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-27 20:49:43 UTC (rev = 356) +++ identity-doc/trunk/DeveloperGuide/pom.xml 2009-02-27 20:49:48 UTC (rev = 357) @@ -2,12 +2,12 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Developer-Guide-${translation} - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT jdocbook Developer Guide (${translation}) = Modified: identity-doc/trunk/UserGuide/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/UserGuide/pom.xml 2009-02-27 20:49:43 UTC (rev 356) +++ identity-doc/trunk/UserGuide/pom.xml 2009-02-27 20:49:48 UTC (rev 357) @@ -2,14 +2,14 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent = = 4.0.0 User-Guide-${translation} - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT jdocbook User Guide (${translation}) = Modified: identity-doc/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/assembly/pom.xml 2009-02-27 20:49:43 UTC (rev 356) +++ identity-doc/trunk/assembly/pom.xml 2009-02-27 20:49:48 UTC (rev 357) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Modified: identity-doc/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/parent/pom.xml 2009-02-27 20:49:43 UTC (rev 356) +++ identity-doc/trunk/parent/pom.xml 2009-02-27 20:49:48 UTC (rev 357) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-doc-parent pom - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT JBoss Identity Doc- Parent http://labs.jboss.org/portal/jbossidentity/ JBoss Identity is a cross-cutting project that handles ident= ity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/identi= ty-doc/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:https://svn.jboss.org/repos/jbossidentity/= identity-doc/tags/1.0.0.alpha1-SNAPSHOT Modified: identity-doc/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-doc/trunk/pom.xml 2009-02-27 20:49:43 UTC (rev 356) +++ identity-doc/trunk/pom.xml 2009-02-27 20:49:48 UTC (rev 357) @@ -2,14 +2,14 @@ org.jboss.identity jboss-identity-doc-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT parent = 4.0.0 org.jboss.identity.docs jboss-identity-docs - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT pom JBoss Identity Docs http://www.jboss.com/products/jbossidentity --===============4863176561936150138==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:01:47 2009 Content-Type: multipart/mixed; boundary="===============1072213020345999242==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r358 - in identity-federation/trunk: assembly and 235 other directories. Date: Fri, 27 Feb 2009 16:01:47 -0500 Message-ID: --===============1072213020345999242== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:01:47 -0500 (Fri, 27 Feb 2009) New Revision: 358 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/jbos= s/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/jboss/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/identity/federation/bindings/jboss/auth/ identity-federation/trunk/identity-bindings-jboss/src/main/java/org/jbos= s/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/iden= tity/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/config/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/interfaces/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/subject/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/jboss/trust/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/servlets/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/idp/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/tomcat/sp/holder/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/federation/bindings/util/ identity-federation/trunk/identity-bindings/src/main/java/org/jboss/iden= tity/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/co= nfig/ 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/pol= icies/ identity-federation/trunk/identity-bindings/src/test/resources/xacml/pol= icies/config/ identity-federation/trunk/identity-bindings/src/test/resources/xacml/req= uests/ 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/ident= ity/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/common/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/request/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/saml/v2/response/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/util/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/federation/api/wstrust/ identity-federation/trunk/identity-fed-api/src/main/java/org/jboss/ident= ity/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/au= thnrequest/ 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/iden= tity/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/constants/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/constants/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/exceptions/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/factories/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/holders/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/saml/v2/util/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/federation/core/xmlenc/ identity-federation/trunk/identity-fed-core/src/main/java/org/jboss/iden= tity/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-xacm= l/ 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/ide= ntity/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/org/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/org/xmlsoap/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/org/xmlsoap/schemas/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/org/xmlsoap/schemas/soap/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/org/xmlsoap/schemas/soap/envelope/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/authenticatedtelephony/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/internetprotocol/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/internetprotocolpassword/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/kerberos/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/mobileonefactorcontract/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/mobileonefactorunregistered/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/mobiletwofactorcontract/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/mobiletwofactorunregistered/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/nomadtelephony/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/password/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/passwordprotectedtransport/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/personalizedtelephony/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/pgp/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/previoussession/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/secureremotepassword/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/smartcard/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/smartcardpki/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/softwarepki/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/spki/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/telephony/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/timesynctoken/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/tlsclient/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/x509/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/ac/classes/xmldsig/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/assertion/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/generated/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/generated/runtime/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/metadata/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/attribute/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/attribute/dce/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/sso/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/sso/ecp/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/xacml/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/xacml/assertion/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/profiles/xacml/protocol/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/saml/v2/protocol/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ws/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ws/addressing/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ws/policy/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ws/trust/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ws/wss/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/federation/ws/wss/secext/ identity-federation/trunk/identity-fed-model/src/main/java/org/jboss/ide= ntity/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/s= aml/ identity-federation/trunk/identity-fed-model/src/main/resources/schema/s= aml/v2/ identity-federation/trunk/identity-fed-model/src/main/resources/schema/w= strust/ identity-federation/trunk/identity-fed-model/src/main/resources/schema/w= strust/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/tes= t/ identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/tes= t/identity/ identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/tes= t/identity/federation/ identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/tes= t/identity/federation/ws/ identity-federation/trunk/identity-fed-model/src/test/java/org/jboss/tes= t/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/i= dentity/ identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/i= dentity/xmlsec/ identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/i= dentity/xmlsec/w3/ identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/i= dentity/xmlsec/w3/xmldsig/ identity-federation/trunk/identity-xmlsecmodel/src/main/java/org/jboss/i= dentity/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: propset svn ign Property changes on: identity-federation/trunk ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/assembly ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/config ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/interfaces ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/jboss/subject ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/jboss/trust ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/servlets ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/tomcat ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/tomcat/idp ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/tomcat/sp ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/tomcat/sp/holder ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/util ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/j= ava/org/jboss/identity/federation/bindings/util/cert ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/r= esources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/r= esources/schema ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/main/r= esources/schema/config ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/identity/federation/bindings ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/identity/federation/bindings/config ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/identity/federation/bindings/servlets ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/identity/federation/bindings/util ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/tomcat ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/tomcat/bindings ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/j= ava/org/jboss/test/tomcat/helpers ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources/config ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources/keystore ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources/xacml ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources/xacml/policies ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources/xacml/policies/config ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings/src/test/r= esources/xacml/requests ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main/java/org ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main/java/org/jboss ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main/java/org/jboss/identity ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main/java/org/jboss/identity/federation ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings 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 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 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 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 Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= main/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= test ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= test/java ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-bindings-jboss/src/= test/resources ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/saml/v2/common ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/saml/v2/request ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/saml/v2/response ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/util ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/wstrust ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/ja= va/org/jboss/identity/federation/api/wstrust/protocol ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/main/re= sources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test/identity/federation/api ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test/identity/federation/api/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test/identity/federation/api/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/ja= va/org/jboss/test/identity/federation/api/util ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/endorsed ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/saml/v2/authnrequest ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/xml ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-api/src/test/re= sources/xml/dom ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/constants ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml/v2/constants ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml/v2/exceptions ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml/v2/factories ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml/v2/holders ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/saml/v2/util ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/xmlenc ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/j= ava/org/jboss/identity/federation/core/xmlenc/factories ___________________________________________________________________ Name: svn:ignore + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/main/r= esources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org/jboss/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org/jboss/test/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org/jboss/test/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org/jboss/test/identity/federation/core ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/j= ava/org/jboss/test/identity/federation/core/util ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/r= esources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-core/src/test/r= esources/saml-xacml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/org/xmlsoap ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/org/xmlsoap/schemas ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/org/xmlsoap/schemas/soap ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes/internetprotocolpassw= ord ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorcontra= ct ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes/mobileonefactorunregi= stered ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorcontra= ct ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes/mobiletwofactorunregi= stered ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/ac/classes/passwordprotectedtran= sport ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/assertion ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/generated ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/generated/runtime ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/metadata ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/profiles ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/profiles/attribute ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/profiles/sso ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/profiles/xacml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings 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 target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/saml/v2/protocol ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws/addressing ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws/policy ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws/trust ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws/wss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws/wss/secext ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= java/org/jboss/identity/federation/ws/wss/utility ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= resources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= resources/schema ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= resources/schema/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= resources/schema/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= resources/schema/wstrust ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/main/= resources/schema/wstrust/v1_3 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org/jboss/test ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org/jboss/test/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org/jboss/test/identity/federation ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org/jboss/test/identity/federation/ws ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= java/org/jboss/test/identity/federation/ws/trust ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= resources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= resources/endorsed ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= resources/saml ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= resources/saml/v2 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-fed-model/src/test/= resources/wstrust ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/employee ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/employee/re= sources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/employee/re= sources/META-INF ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/employee/re= sources/WEB-INF ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/sales ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/sales/resou= rces ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/sales/resou= rces/META-INF ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-samples/sales/resou= rces/WEB-INF ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/main ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org/jboss ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org/jboss/identity ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org/jboss/identity/xmlsec ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org/jboss/identity/xmlsec/w3 ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org/jboss/identity/xmlsec/w3/xmldsig ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/java/org/jboss/identity/xmlsec/w3/xmlenc ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/resources ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/resources/schema ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/resources/schema/w3c ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/resources/schema/w3c/xmldsig ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/identity-xmlsecmodel/src/mai= n/resources/schema/w3c/xmlenc ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings Property changes on: identity-federation/trunk/parent ___________________________________________________________________ Name: svn:ignore - .metadata target target-eclipse + target target-eclipse .metadata .settings --===============1072213020345999242==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:04:54 2009 Content-Type: multipart/mixed; boundary="===============4272245662409634785==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r359 - in identity-federation/trunk: assembly and 7 other directories. Date: Fri, 27 Feb 2009 16:04:54 -0500 Message-ID: --===============4272245662409634785== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:04:54 -0500 (Fri, 27 Feb 2009) New Revision: 359 Modified: identity-federation/trunk/assembly/pom.xml identity-federation/trunk/identity-bindings-jboss/pom.xml identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-core/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/parent/pom.xml identity-federation/trunk/pom.xml Log: [maven-release-plugin] prepare release 1.0.0.alpha2 Modified: identity-federation/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-27 21:01:47 UTC (rev= 358) +++ identity-federation/trunk/assembly/pom.xml 2009-02-27 21:04:54 UTC (rev= 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-27 21:01:47= UTC (rev 358) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-27 21:04:54= UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Modified: identity-federation/trunk/identity-bindings-jboss/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings-jboss/pom.xml 2009-02-27 21= :01:47 UTC (rev 358) +++ identity-federation/trunk/identity-bindings-jboss/pom.xml 2009-02-27 21= :04:54 UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-27 21:01:47 = UTC (rev 358) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-27 21:04:54 = UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 Modified: identity-federation/trunk/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-27 21:01:47= UTC (rev 358) +++ identity-federation/trunk/identity-fed-core/pom.xml 2009-02-27 21:04:54= UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-27 21:01:4= 7 UTC (rev 358) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-27 21:04:5= 4 UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-27 21:01= :47 UTC (rev 358) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-27 21:04= :54 UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-27 21:01:47 UTC (rev 3= 58) +++ identity-federation/trunk/parent/pom.xml 2009-02-27 21:04:54 UTC (rev 3= 59) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-fed-parent pom - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 JBoss Identity Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/tags/1.0.0.alpha1 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 = Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-27 21:01:47 UTC (rev 358) +++ identity-federation/trunk/pom.xml 2009-02-27 21:04:54 UTC (rev 359) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 parent 4.0.0 --===============4272245662409634785==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:14:07 2009 Content-Type: multipart/mixed; boundary="===============5985008220414568966==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r361 - in identity-federation/trunk: assembly and 7 other directories. Date: Fri, 27 Feb 2009 16:14:07 -0500 Message-ID: --===============5985008220414568966== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:14:06 -0500 (Fri, 27 Feb 2009) New Revision: 361 Modified: identity-federation/trunk/assembly/pom.xml identity-federation/trunk/identity-bindings-jboss/pom.xml identity-federation/trunk/identity-bindings/pom.xml identity-federation/trunk/identity-fed-api/pom.xml identity-federation/trunk/identity-fed-core/pom.xml identity-federation/trunk/identity-fed-model/pom.xml identity-federation/trunk/identity-xmlsecmodel/pom.xml identity-federation/trunk/parent/pom.xml identity-federation/trunk/pom.xml Log: [maven-release-plugin] prepare for next development iteration Modified: identity-federation/trunk/assembly/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/assembly/pom.xml 2009-02-27 21:13:24 UTC (rev= 360) +++ identity-federation/trunk/assembly/pom.xml 2009-02-27 21:14:06 UTC (rev= 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/identity-bindings/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings/pom.xml 2009-02-27 21:13:24= UTC (rev 360) +++ identity-federation/trunk/identity-bindings/pom.xml 2009-02-27 21:14:06= UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/identity-bindings-jboss/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-bindings-jboss/pom.xml 2009-02-27 21= :13:24 UTC (rev 360) +++ identity-federation/trunk/identity-bindings-jboss/pom.xml 2009-02-27 21= :14:06 UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Modified: identity-federation/trunk/identity-fed-api/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-api/pom.xml 2009-02-27 21:13:24 = UTC (rev 360) +++ identity-federation/trunk/identity-fed-api/pom.xml 2009-02-27 21:14:06 = UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/identity-fed-core/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-core/pom.xml 2009-02-27 21:13:24= UTC (rev 360) +++ identity-federation/trunk/identity-fed-core/pom.xml 2009-02-27 21:14:06= UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/identity-fed-model/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-fed-model/pom.xml 2009-02-27 21:13:2= 4 UTC (rev 360) +++ identity-federation/trunk/identity-fed-model/pom.xml 2009-02-27 21:14:0= 6 UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/identity-xmlsecmodel/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-27 21:13= :24 UTC (rev 360) +++ identity-federation/trunk/identity-xmlsecmodel/pom.xml 2009-02-27 21:14= :06 UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 @@ -22,9 +22,9 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 - http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 + http://viewvc.jboss.org/cgi-bin/viewvc.cgi/repos/jbossidentity/= identity-federation/tags/1.0.0.alpha1 Modified: identity-federation/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/parent/pom.xml 2009-02-27 21:13:24 UTC (rev 3= 60) +++ identity-federation/trunk/parent/pom.xml 2009-02-27 21:14:06 UTC (rev 3= 61) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-fed-parent pom - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT JBoss Identity Federation- Parent http://labs.jboss.org/portal/jbosssecurity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/ide= ntity-federation/tags/1.0.0.alpha1 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/identity-federation/tags/1.0.0.alpha1 = Modified: identity-federation/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- identity-federation/trunk/pom.xml 2009-02-27 21:13:24 UTC (rev 360) +++ identity-federation/trunk/pom.xml 2009-02-27 21:14:06 UTC (rev 361) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-fed-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT parent 4.0.0 --===============5985008220414568966==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:26:54 2009 Content-Type: multipart/mixed; boundary="===============8214683551654181877==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r362 - in platform-build/trunk: identity-platform-tomcat and 1 other directory. Date: Fri, 27 Feb 2009 16:26:53 -0500 Message-ID: --===============8214683551654181877== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:26:53 -0500 (Fri, 27 Feb 2009) New Revision: 362 Modified: platform-build/trunk/identity-platform-jbas/bin.xml platform-build/trunk/identity-platform-jbas/pom.xml platform-build/trunk/identity-platform-tomcat/bin.xml platform-build/trunk/identity-platform-tomcat/pom.xml Log: JBID-57: update to versions to package Modified: platform-build/trunk/identity-platform-jbas/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-27 21:14:06= UTC (rev 361) +++ platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-27 21:26:53= UTC (rev 362) @@ -6,6 +6,7 @@ + org.jboss.identity:idm org.jboss.identity:jboss-identity-bindings org.jboss.identity:jboss-identity-bindings-jboss org.jboss.identity:jboss-identity-fed Modified: platform-build/trunk/identity-platform-jbas/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-27 21:14:06= UTC (rev 361) +++ platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-27 21:26:53= UTC (rev 362) @@ -26,13 +26,18 @@ org.jboss.identity + idm + ${idm} + + + org.jboss.identity jboss-identity-bindings-jboss - ${project.version} + ${idfed} org.jboss.identity jboss-identity-fed - ${project.version} + ${idfed} @@ -69,4 +74,9 @@ + + 1.0.0.Alpha2 + 1.0.0.alpha2 + 1.0.0.alpha2 + Modified: platform-build/trunk/identity-platform-tomcat/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/bin.xml 2009-02-27 21:14:= 06 UTC (rev 361) +++ platform-build/trunk/identity-platform-tomcat/bin.xml 2009-02-27 21:26:= 53 UTC (rev 362) @@ -6,6 +6,7 @@ + org.jboss.identity:idm org.jboss.identity:jboss-identity-bindings org.jboss.identity:jboss-identity-fed org.jboss.security:jbossxacml Modified: platform-build/trunk/identity-platform-tomcat/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-27 21:14:= 06 UTC (rev 361) +++ platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-27 21:26:= 53 UTC (rev 362) @@ -26,13 +26,18 @@ org.jboss.identity + idm + ${idm} + + + org.jboss.identity jboss-identity-bindings - ${project.version} + ${idfed} org.jboss.identity jboss-identity-fed - ${project.version} + ${idfed} @@ -69,4 +74,9 @@ + + 1.0.0.Alpha2 + 1.0.0.alpha2 + 1.0.0.alpha2 + --===============8214683551654181877==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:28:04 2009 Content-Type: multipart/mixed; boundary="===============5041398232130071086==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r363 - platform-build. Date: Fri, 27 Feb 2009 16:28:04 -0500 Message-ID: --===============5041398232130071086== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:28:04 -0500 (Fri, 27 Feb 2009) New Revision: 363 Added: platform-build/tags/ Log: JBID-57: tags dir --===============5041398232130071086==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:29:21 2009 Content-Type: multipart/mixed; boundary="===============7212046537579261027==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r364 - in platform-build/trunk: identity-platform-jbas and 2 other directories. Date: Fri, 27 Feb 2009 16:29:20 -0500 Message-ID: --===============7212046537579261027== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:29:20 -0500 (Fri, 27 Feb 2009) New Revision: 364 Modified: platform-build/trunk/identity-platform-jbas/pom.xml platform-build/trunk/identity-platform-tomcat/pom.xml platform-build/trunk/parent/pom.xml platform-build/trunk/pom.xml Log: [maven-release-plugin] prepare release 1.0.0.alpha2 Modified: platform-build/trunk/identity-platform-jbas/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-27 21:28:04= UTC (rev 363) +++ platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-27 21:29:20= UTC (rev 364) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-platform-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Modified: platform-build/trunk/identity-platform-tomcat/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-27 21:28:= 04 UTC (rev 363) +++ platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-27 21:29:= 20 UTC (rev 364) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-platform-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 ../parent 4.0.0 Modified: platform-build/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/parent/pom.xml 2009-02-27 21:28:04 UTC (rev 363) +++ platform-build/trunk/parent/pom.xml 2009-02-27 21:29:20 UTC (rev 364) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-platform-parent pom - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 JBoss Identity platform- Parent http://labs.jboss.org/portal/jbossidentity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha1-SNAPSHOT - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha2 = Modified: platform-build/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/pom.xml 2009-02-27 21:28:04 UTC (rev 363) +++ platform-build/trunk/pom.xml 2009-02-27 21:29:20 UTC (rev 364) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-platform-parent - 1.0.0.alpha1-SNAPSHOT + 1.0.0.alpha2 parent 4.0.0 --===============7212046537579261027==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:29:27 2009 Content-Type: multipart/mixed; boundary="===============3079476060518357276==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r365 - in platform-build/tags: 1.0.0.alpha2 and 3 other directories. Date: Fri, 27 Feb 2009 16:29:27 -0500 Message-ID: --===============3079476060518357276== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:29:26 -0500 (Fri, 27 Feb 2009) New Revision: 365 Added: platform-build/tags/1.0.0.alpha2/ platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml platform-build/tags/1.0.0.alpha2/parent/pom.xml platform-build/tags/1.0.0.alpha2/pom.xml Removed: platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml platform-build/tags/1.0.0.alpha2/parent/pom.xml platform-build/tags/1.0.0.alpha2/pom.xml Log: [maven-release-plugin] copy for tag 1.0.0.alpha2 Copied: platform-build/tags/1.0.0.alpha2 (from rev 339, platform-build/trun= k) Deleted: platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/bin.xml 2009-02-19 23:26:51= UTC (rev 339) +++ platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml 2009-02= -27 21:29:26 UTC (rev 365) @@ -1,14 +0,0 @@ - - - zip - - false - - - - org.jboss.identity:jboss-identity-bindings-jboss - org.jboss.identity:jboss-identity-fed - - - - Copied: platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml (fr= om rev 362, platform-build/trunk/identity-platform-jbas/bin.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml = (rev 0) +++ platform-build/tags/1.0.0.alpha2/identity-platform-jbas/bin.xml 2009-02= -27 21:29:26 UTC (rev 365) @@ -0,0 +1,17 @@ + + + zip + + false + + + + org.jboss.identity:idm + org.jboss.identity:jboss-identity-bindings + org.jboss.identity:jboss-identity-bindings-jboss + org.jboss.identity:jboss-identity-fed + org.jboss.security:jbossxacml + + + + Deleted: platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-19 23:26:51= UTC (rev 339) +++ platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml 2009-02= -27 21:29:26 UTC (rev 365) @@ -1,72 +0,0 @@ - - - org.jboss.identity - jboss-identity-platform-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-platform-jbas - pom - JBoss Identity Platform to run on JBoss AS - http://labs.jboss.org/portal/jbossidentity/ - JBoss Identity Platform provides a collection of individua= l projects as a unified solution. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - = - = - - - org.jboss.identity - jboss-identity-bindings-jboss - ${project.version} - - - org.jboss.identity - jboss-identity-fed - ${project.version} - - - - - - maven-assembly-plugin - 2.2-beta-3 - - - bundle-project-sources - package - - single - - - - - JBoss Identity - ${project.version} - Red Hat Middleware LLC - JBoss Identity - ${project.version} - org.jboss.security - Red Hat Middleware LLC - http://labs.jboss.org/portal/jbosssec= urity/ - - - - bin.xml - - - - - - - - Copied: platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml (fr= om rev 364, platform-build/trunk/identity-platform-jbas/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml = (rev 0) +++ platform-build/tags/1.0.0.alpha2/identity-platform-jbas/pom.xml 2009-02= -27 21:29:26 UTC (rev 365) @@ -0,0 +1,82 @@ + + + org.jboss.identity + jboss-identity-platform-parent + 1.0.0.alpha2 + ../parent + + 4.0.0 + jboss-identity-platform-jbas + pom + JBoss Identity Platform to run on JBoss AS + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity Platform provides a collection of individua= l projects as a unified solution. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + = + + + org.jboss.identity + idm + ${idm} + + + org.jboss.identity + jboss-identity-bindings-jboss + ${idfed} + + + org.jboss.identity + jboss-identity-fed + ${idfed} + + + + + + maven-assembly-plugin + 2.2-beta-3 + + + bundle-project-sources + package + + single + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssec= urity/ + + + + bin.xml + + + + + + + + + 1.0.0.Alpha2 + 1.0.0.alpha2 + 1.0.0.alpha2 + + Deleted: platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/bin.xml 2009-02-19 23:26:= 51 UTC (rev 339) +++ platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml 2009-= 02-27 21:29:26 UTC (rev 365) @@ -1,14 +0,0 @@ - - - zip - - false - - - - org.jboss.identity:jboss-identity-bindings - org.jboss.identity:jboss-identity-fed - - - - Copied: platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml (= from rev 362, platform-build/trunk/identity-platform-tomcat/bin.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml = (rev 0) +++ platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/bin.xml 2009-= 02-27 21:29:26 UTC (rev 365) @@ -0,0 +1,16 @@ + + + zip + + false + + + + org.jboss.identity:idm + org.jboss.identity:jboss-identity-bindings + org.jboss.identity:jboss-identity-fed + org.jboss.security:jbossxacml + + + + Deleted: platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-19 23:26:= 51 UTC (rev 339) +++ platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml 2009-= 02-27 21:29:26 UTC (rev 365) @@ -1,72 +0,0 @@ - - - org.jboss.identity - jboss-identity-platform-parent - 1.0.0.alpha1-SNAPSHOT - ../parent - - 4.0.0 - jboss-identity-platform-tomcat - pom - JBoss Identity Platform to run on Tomcat - http://labs.jboss.org/portal/jbossidentity/ - JBoss Identity Platform provides a collection of individua= l projects as a unified solution. - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - = - = - - - org.jboss.identity - jboss-identity-bindings - ${project.version} - - - org.jboss.identity - jboss-identity-fed - ${project.version} - - - - - - maven-assembly-plugin - 2.2-beta-3 - - - bundle-project-sources - package - - single - - - - - JBoss Identity - ${project.version} - Red Hat Middleware LLC - JBoss Identity - ${project.version} - org.jboss.security - Red Hat Middleware LLC - http://labs.jboss.org/portal/jbosssec= urity/ - - - - bin.xml - - - - - - - - Copied: platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml (= from rev 364, platform-build/trunk/identity-platform-tomcat/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml = (rev 0) +++ platform-build/tags/1.0.0.alpha2/identity-platform-tomcat/pom.xml 2009-= 02-27 21:29:26 UTC (rev 365) @@ -0,0 +1,82 @@ + + + org.jboss.identity + jboss-identity-platform-parent + 1.0.0.alpha2 + ../parent + + 4.0.0 + jboss-identity-platform-tomcat + pom + JBoss Identity Platform to run on Tomcat + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity Platform provides a collection of individua= l projects as a unified solution. + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + = + = + + + org.jboss.identity + idm + ${idm} + + + org.jboss.identity + jboss-identity-bindings + ${idfed} + + + org.jboss.identity + jboss-identity-fed + ${idfed} + + + + + + maven-assembly-plugin + 2.2-beta-3 + + + bundle-project-sources + package + + single + + + + + JBoss Identity + ${project.version} + Red Hat Middleware LLC + JBoss Identity + ${project.version} + org.jboss.security + Red Hat Middleware LLC + http://labs.jboss.org/portal/jbosssec= urity/ + + + + bin.xml + + + + + + + + + 1.0.0.Alpha2 + 1.0.0.alpha2 + 1.0.0.alpha2 + + Deleted: platform-build/tags/1.0.0.alpha2/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/parent/pom.xml 2009-02-19 23:26:51 UTC (rev 339) +++ platform-build/tags/1.0.0.alpha2/parent/pom.xml 2009-02-27 21:29:26 UTC= (rev 365) @@ -1,111 +0,0 @@ - - - org.jboss - jboss-parent - 4 - - 4.0.0 - org.jboss.identity - jboss-identity-platform-parent - pom - 1.0.0.alpha1-SNAPSHOT - JBoss Identity platform- Parent - http://labs.jboss.org/portal/jbossidentity/ - JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects - - - lgpl - http://repository.jboss.com/licenses/lgpl.txt - - - - JBoss Inc. - http://www.jboss.org - - - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha1-SNAPSHOT - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha1-SNAPSHOT - - = - - - - maven-release-plugin - - https://svn.jboss.org/repos/jbossidentity/platform-bu= ild/tags - - - - - = - - - repository.jboss.org - JBoss Repository - default - http://repository.jboss.org/maven2/ - - false - - - - - snapshots.jboss.org - JBoss Snapshots Repository - default - http://snapshots.jboss.org/maven2/ - - true - - - false - - - - = - - - - junit - junit - 4.4 - test - - - apache-log4j - log4j - 1.2.14 - - - org.apache - xmlsec - 1.4.1 - - - apache-logging - commons-logging-api - 1.0.3 - - - javax.persistence - persistence-api - 1.0 - - - sun-jaxb - jaxb-api - 2.1.9 - - - sun-jaxb - jaxb-impl - 2.1.9 - - - org.jboss.security - jbossxacml - 2.0.3.CR1 - - - - Copied: platform-build/tags/1.0.0.alpha2/parent/pom.xml (from rev 364, plat= form-build/trunk/parent/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/tags/1.0.0.alpha2/parent/pom.xml = (rev 0) +++ platform-build/tags/1.0.0.alpha2/parent/pom.xml 2009-02-27 21:29:26 UTC= (rev 365) @@ -0,0 +1,111 @@ + + + org.jboss + jboss-parent + 4 + + 4.0.0 + org.jboss.identity + jboss-identity-platform-parent + pom + 1.0.0.alpha2 + JBoss Identity platform- Parent + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects + + + lgpl + http://repository.jboss.com/licenses/lgpl.txt + + + + JBoss Inc. + http://www.jboss.org + + + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha2 + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha2 + + = + + + + maven-release-plugin + + https://svn.jboss.org/repos/jbossidentity/platform-bu= ild/tags + + + + + = + + + repository.jboss.org + JBoss Repository + default + http://repository.jboss.org/maven2/ + + false + + + + + snapshots.jboss.org + JBoss Snapshots Repository + default + http://snapshots.jboss.org/maven2/ + + true + + + false + + + + = + + + + junit + junit + 4.4 + test + + + apache-log4j + log4j + 1.2.14 + + + org.apache + xmlsec + 1.4.1 + + + apache-logging + commons-logging-api + 1.0.3 + + + javax.persistence + persistence-api + 1.0 + + + sun-jaxb + jaxb-api + 2.1.9 + + + sun-jaxb + jaxb-impl + 2.1.9 + + + org.jboss.security + jbossxacml + 2.0.3.CR1 + + + + Deleted: platform-build/tags/1.0.0.alpha2/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/pom.xml 2009-02-19 23:26:51 UTC (rev 339) +++ platform-build/tags/1.0.0.alpha2/pom.xml 2009-02-27 21:29:26 UTC (rev 3= 65) @@ -1,21 +0,0 @@ - - - org.jboss.identity - jboss-identity-platform-parent - 1.0.0.alpha1-SNAPSHOT - parent - - 4.0.0 - org.jboss.identity - jboss-identity-platform-pom - pom - JBoss Identity Platform- Aggregator - http://labs.jboss.org/portal/jbossidentity/ - JBoss Identity Platform is the identity project for JEMS p= rojects - - - parent - identity-platform-tomcat - identity-platform-jbas - - Copied: platform-build/tags/1.0.0.alpha2/pom.xml (from rev 364, platform-bu= ild/trunk/pom.xml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/tags/1.0.0.alpha2/pom.xml (rev 0) +++ platform-build/tags/1.0.0.alpha2/pom.xml 2009-02-27 21:29:26 UTC (rev 3= 65) @@ -0,0 +1,21 @@ + + + org.jboss.identity + jboss-identity-platform-parent + 1.0.0.alpha2 + parent + + 4.0.0 + org.jboss.identity + jboss-identity-platform-pom + pom + JBoss Identity Platform- Aggregator + http://labs.jboss.org/portal/jbossidentity/ + JBoss Identity Platform is the identity project for JEMS p= rojects + + + parent + identity-platform-tomcat + identity-platform-jbas + + --===============3079476060518357276==-- From jboss-identity-commits at lists.jboss.org Fri Feb 27 16:29:31 2009 Content-Type: multipart/mixed; boundary="===============0440509165773035215==" MIME-Version: 1.0 From: jboss-identity-commits at lists.jboss.org To: jboss-identity-commits at lists.jboss.org Subject: [jboss-identity-commits] JBoss Identity SVN: r366 - in platform-build/trunk: identity-platform-jbas and 2 other directories. Date: Fri, 27 Feb 2009 16:29:31 -0500 Message-ID: --===============0440509165773035215== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: anil.saldhana(a)jboss.com Date: 2009-02-27 16:29:31 -0500 (Fri, 27 Feb 2009) New Revision: 366 Modified: platform-build/trunk/identity-platform-jbas/pom.xml platform-build/trunk/identity-platform-tomcat/pom.xml platform-build/trunk/parent/pom.xml platform-build/trunk/pom.xml Log: [maven-release-plugin] prepare for next development iteration Modified: platform-build/trunk/identity-platform-jbas/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-27 21:29:26= UTC (rev 365) +++ platform-build/trunk/identity-platform-jbas/pom.xml 2009-02-27 21:29:31= UTC (rev 366) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-platform-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Modified: platform-build/trunk/identity-platform-tomcat/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-27 21:29:= 26 UTC (rev 365) +++ platform-build/trunk/identity-platform-tomcat/pom.xml 2009-02-27 21:29:= 31 UTC (rev 366) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-platform-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT ../parent 4.0.0 Modified: platform-build/trunk/parent/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/parent/pom.xml 2009-02-27 21:29:26 UTC (rev 365) +++ platform-build/trunk/parent/pom.xml 2009-02-27 21:29:31 UTC (rev 366) @@ -8,7 +8,7 @@ org.jboss.identity jboss-identity-platform-parent pom - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT JBoss Identity platform- Parent http://labs.jboss.org/portal/jbossidentity/ JBoss Identity is a cross-cutting project that handles ide= ntity needs for the JEMS projects @@ -23,8 +23,8 @@ http://www.jboss.org - scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha2 - scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha2 + scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/pla= tform-build/tags/1.0.0.alpha1-SNAPSHOT + scm:svn:https://svn.jboss.org/repos/jbossidenti= ty/platform-build/tags/1.0.0.alpha1-SNAPSHOT = Modified: platform-build/trunk/pom.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- platform-build/trunk/pom.xml 2009-02-27 21:29:26 UTC (rev 365) +++ platform-build/trunk/pom.xml 2009-02-27 21:29:31 UTC (rev 366) @@ -2,7 +2,7 @@ org.jboss.identity jboss-identity-platform-parent - 1.0.0.alpha2 + 1.0.0.alpha2-SNAPSHOT parent 4.0.0 --===============0440509165773035215==--