JBoss Community

Resource Adapter + authentication

created by Dmitri Voronov in IronJacamar - View the full discussion

Hi all,

 

I'm testing my resource adapter with JBoss AS 7.1 and trying to protect it by means of a security-domain. I configured:

                        <security>
                            <security-domain>other</security-domain>
                        </security>

 

but the subject in the method MyManagedConnectionImpl.getConnection(Subject subject, ConnectionRequestInfo crInfo) is null.

Can anybody write me what is the right way to protect a JCA connection factory by means of a security-domain?

 

Thanks

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community