From: <db...@us...> - 2003-05-01 02:00:58
|
Update of /cvsroot/hibernate/Hibernate2/src/META-INF In directory sc8-pr-cvs1:/tmp/cvs-serv30503/src/META-INF Modified Files: ra.xml Log Message: JCA rework from Igor Fedorenko that relies on preconfigured datasources Index: ra.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/META-INF/ra.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ra.xml 2 Mar 2003 15:28:28 -0000 1.1 --- ra.xml 1 May 2003 02:00:52 -0000 1.2 *************** *** 8,16 **** <spec-version>1.0</spec-version> <eis-type>Hibernate Sessions</eis-type> ! <version>0.9</version> <license> ! <description></description> ! <license-required></license-required> ! </license> <resourceadapter> <managedconnectionfactory-class>net.sf.hibernate.jca.ManagedConnectionFactoryImpl</managedconnectionfactory-class> --- 8,16 ---- <spec-version>1.0</spec-version> <eis-type>Hibernate Sessions</eis-type> ! <version>2.0</version> <license> ! <description></description> ! <license-required></license-required> ! </license> <resourceadapter> <managedconnectionfactory-class>net.sf.hibernate.jca.ManagedConnectionFactoryImpl</managedconnectionfactory-class> *************** *** 18,64 **** <connectionfactory-impl-class>net.sf.hibernate.jca.JCASessionFactoryImpl</connectionfactory-impl-class> <connection-interface>net.sf.hibernate.Session</connection-interface> ! <connection-impl-class>net.sf.hibernate.impl.SessionImpl</connection-impl-class> ! <transaction-support>LocalTransaction</transaction-support> <config-property> ! <config-property-name>ConnectionURL</config-property-name> <config-property-type>java.lang.String</config-property-type> - <config-property-value></config-property-value> </config-property> <config-property> ! <config-property-name>DriverClass</config-property-name> <config-property-type>java.lang.String</config-property-type> - <config-property-value></config-property-value> </config-property> <config-property> ! <config-property-name>UserName</config-property-name> <config-property-type>java.lang.String</config-property-type> - <config-property-value></config-property-value> </config-property> <config-property> ! <config-property-name>Password</config-property-name> ! <config-property-type>java.lang.String</config-property-type> ! <config-property-value></config-property-value> ! </config-property> ! <config-property> ! <config-property-name>Dialect</config-property-name> ! <config-property-type>java.lang.String</config-property-type> ! <config-property-value></config-property-value> ! </config-property> ! <config-property> ! <config-property-name>MapResources</config-property-name> <config-property-type>java.lang.String</config-property-type> ! <config-property-value></config-property-value> ! </config-property> <authentication-mechanism> ! <description>BasicPassword</description> <authentication-mechanism-type>BasicPassword</authentication-mechanism-type> <credential-interface>javax.resource.security.PasswordCredential</credential-interface> </authentication-mechanism> <reauthentication-support>true</reauthentication-support> <security-permission> <description></description> <security-permission-spec> </security-permission-spec> ! </security-permission> ! </resourceadapter> </connector> --- 18,62 ---- <connectionfactory-impl-class>net.sf.hibernate.jca.JCASessionFactoryImpl</connectionfactory-impl-class> <connection-interface>net.sf.hibernate.Session</connection-interface> ! <connection-impl-class>net.sf.hibernate.jca.JCASessionImpl</connection-impl-class> ! <transaction-support>XATransaction</transaction-support> <config-property> ! <config-property-name>Dialect</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> ! <config-property-name>MapResources</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> ! <config-property-name>DatasourceJndi</config-property-name> <config-property-type>java.lang.String</config-property-type> </config-property> <config-property> ! <config-property-name>HibernateProperties</config-property-name> <config-property-type>java.lang.String</config-property-type> ! </config-property> ! <!-- ! JCA 1.0, 10.3.1 ! If no authentication mechanism is specified as part of the deployment ! descriptor, the resource adapter supports no standard security ! authentication mechanism as part of thesecurity contract. <authentication-mechanism> ! <description>BasicPassword</description> <authentication-mechanism-type>BasicPassword</authentication-mechanism-type> <credential-interface>javax.resource.security.PasswordCredential</credential-interface> </authentication-mechanism> + --> <reauthentication-support>true</reauthentication-support> + <!-- + JCA 1.0, 10.3.1 (what is that supposed to mean???) + The security permissions listed in the deployment descriptor are + different from those required by the default permission set (refer + to Section 11.2 for more details on security permissions). <security-permission> <description></description> <security-permission-spec> </security-permission-spec> ! </security-permission> ! --> ! </resourceadapter> </connector> |