Also, I tried defining the <security-domain>java:/jaas/myDomain</security-domain> in jboss.xml. It did not work.
Then I tried the following
auth.conf has to be defined as
// org.jboss.security.ClientLoginModule required
It did not work either. I tried all possible combination and could not succeed. Dont tell any typos or what ever. All checked properly. I'm looking precise steps what to include and where . Please guide me. Thanks