You can set these up in the WSAD 5.0 server editor. Open the server editor. Go to the Security Tab. Hit the "add" button under "JAAS Authentication Entries". Then you can select it from the container-managed and component-manged authentication drop-downs when you add or reconfigure a Datasource.