Ok forget the second config, that is not relevent and your domain configuration is not compatible with that realm - for the first option how have you set the username and password for the client?
Reply to this message by going to Community
Start a new discussion in JBoss AS 7 Development at Community