users@glassfish.java.net

Re: GF Bug? Getting empty credentials in JCA Adapter

From: <forums_at_java.net>
Date: Fri, 23 Dec 2011 00:03:54 -0600 (CST)

connector-work-security-map is used to map principal/user-group of EIS domain
to Application server's security domain. (inbound communication),

connection-manager is for outbound communication.

http://docs.oracle.com/cd/E19226-01/820-7701/6nium5vr6/index.html

Do you have either of :

1) config-property (for username and password) in the connection-definition
of ra.xml 

2) username, password properties in connector-connection-pool

3) Have a resource-ref defined in application's descriptor
(eg: <resource-ref> in sun-web.xml/sun-ejb-jar.xml with
<default-resource-principal> <name>xyz</name>
<password>password</password></default-resource-principal>

In the above cases, you will receive the credentials (option-3 overrides
option-2 overrides option-1 )

 


--
[Message sent by forum member 'jr158900']
View Post: http://forums.java.net/node/876829