JMSリソース・アダプタは、http://download.oracle.com/otndocs/jcp/connector_architecture-1_7-mrel-spec/にあるJava™ EE Connector Architectureバージョン1.7の仕様に記載されている、Java Connector Architectureセキュリティ契約に完全に準拠しています。
アウトバウンド通信の場合、ra.xmlファイルで、authentication-mechanism-type、credential-interfaceおよびreauthentication-support要素を指定できます。
次に例を示します。
. . .
<outbound-resourceadapter>
. . .
<authentication-mechanism>
<authentication-mechanism-type>
BasicPassword
</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
. . .
</outbound-resourceadapter>
. . .