This content has been marked as final.
Show 3 replies
-
1. Re: JCA login modules moved out of connector module
adrian.brock Apr 22, 2008 9:17 AM (in response to anil.saldhana)"anil.saldhana@jboss.com" wrote:
If we have broken something, please point them to us and we will fix immediately.
How would we know, this test has been failing for nearly a year?
http://hudson.jboss.org/hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/533/testReport/org.jboss.test.jca.test/SecurityContextUnitTestCase(tests-security-basic-unit)/testRunAsIdentityPropagationFS/ -
2. Re: JCA login modules moved out of connector module
anil.saldhana Apr 24, 2008 2:32 PM (in response to anil.saldhana)There is a file called as notxfs-ds.xml in the deployment.
<?xml version="1.0" encoding="UTF-8"?> <connection-factories> <no-tx-connection-factory> <jndi-name>RunAsIdentityFS</jndi-name> <rar-name>jca-securedejb.jar#notxfs.rar</rar-name> <connection-definition>org.jboss.test.jca.fs.DirContextFactory</connection -definition> <config-property name="FileSystemRootDir" type="java.lang.String">/tmp/db/ fs_store</config-property> <config-property name="Roles" type="java.lang.String">RunAsIdentityRole,Ru nAsRole2</config-property> <security-domain>RunAsIdentityFSRealm</security-domain> </no-tx-connection-factory> </connection-factories>
The issue is that the value in "security-domain" element is not getting injected into the BaseConnectionManager2. With the new JCA deployer framework (I did place breakpoints in vain), I am unable to figure out where the gaps are for this data to be injected. -
3. Re: JCA login modules moved out of connector module
anil.saldhana May 8, 2008 8:48 AM (in response to anil.saldhana)Never mind. Jeff Zhang located the code where the injection of the security-domain element was not happening in http://jira.jboss.com/jira/browse/JBAS-5023