[jboss-user] [Security & JAAS/JBoss] - Re: Regarding the SubjectFactory and SecurityDomainJndiName

jeff.zhang do-not-reply at jboss.com
Mon Apr 27 00:57:56 EDT 2009


The reason is you use mbean to configure datasource, so you should inject the subjectFactory, try this:
add line

  | <attribute name="SubjectFactory"><inject bean="JBossSecuritySubjectFactory"/></attribute>
  | 
see if it works

BTW: if you use *-ds.xml to deploy datasource, you wouldn't see this fails.

anonymous wrote : 
  |     <mbean code="org.jboss.resource.connectionmanager.TxConnectionManager" display-name="Broadvision TX data source: bv_framework.bvdbPool" name="bv.ds:service=LocalTxCM,name=bv_framework.bvdbPool">
  |         <depends optional-attribute-name="ManagedConnectionPool">bv.ds:service=ManagedConnectionPool,name=bv_framework.BVRuntimeDBPool
  |         <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager
  |         <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager
  |         bv/bv_framework/dataSource/bvdbPool
  |         bvdb-password-encrypted
  |         <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager
  |         true
  |         true
  |     
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226847#4226847

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226847



More information about the jboss-user mailing list