[jboss-dev-forums] [Design of JCA on JBoss] - JCA ConnectionManager SubjectFactory Injection
anil.saldhana@jboss.com
do-not-reply at jboss.com
Wed May 21 13:37:38 EDT 2008
http://jira.jboss.com/jira/browse/JBAS-5067
The new changes happen in:
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/org/jboss/resource/connectionmanager/BaseConnectionManager2.java
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/org/jboss/resource/connectionmanager/BaseConnectionManager2MBean.java
Injection happens in:
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/org/jboss/resource/deployers/builder/ConnectionManagerBuilder.java
| private static final String SUBJECT_FACTORY_NAME = "JBossSecuritySubjectFactory";
| private String subjectFactoryName = SUBJECT_FACTORY_NAME;
|
| attribute = new ServiceAttributeMetaData();
| attribute.setName("SubjectFactory");
| ServiceInjectionValueMetaData injectionValue = new ServiceInjectionValueMetaData(subjectFactoryName);
| attribute.setValue(injectionValue);
| attributes.add(attribute);
|
The SubjectFactory interface from the security project looks:
http://anonsvn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java
The implementation of the SubjectFactory in AS5 is:
http://anonsvn.jboss.org/repos/jbossas/trunk/security/src/main/org/jboss/security/integration/JBossSecuritySubjectFactory.java
Questions:
- Should I retain the property of jaasSecurityMgrService in BaseConnectionManager2?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152452#4152452
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152452
More information about the jboss-dev-forums
mailing list