How to make a dummy security-domain?

Latest response

We are using the JBoss generic resource adapter to connect to JMS queues on Tibco EMS server. We don't use any authentication to connect to Tibo EMS, that is we connect without username and password. However, the configuration of the resource adapter requires a recovery element (for XA recovery) that specifies some kind of authentication, see [1].
Someone mentioned that we might be able to define a custom security domain that always authenticates or returns empty username and passwords. (Specifying empty username or password directly in the recover element is not allowed)

Does anyone know how to make such a dummy security-domain?

[1] https://access.redhat.com/site/solutions/361463

Responses