1 Reply Latest reply on Aug 25, 2004 4:33 PM by Scott Stark

    Resource Adapter: subject always null

    Marco Schulze Newbie


      I don't get the security information into my resource adapter. When a client logs in, my stateful session beans see the correct principal, but if such a bean gets my resource adapter factory from jndi and then creates a resource adapter from it, the subject is always null when the following methods are called:

      ManagedConnectionFactory.createManagedConnection(Subject subject, ConnectionRequestInfo cri)
      ManagedConnectionFactory.matchManagedConnections(Set mcs, Subject subject, ConnectionRequestInfo cri)

      What configuration file may be wrong? Please help.

      Best regards, Marco :-)