Ok I debug a little my problem
What I understood :
In fact I can't be bound to my datasource directly from my client java. I must put in my auth.conf clientLoginMoule required. It didn't authentication but just keep my principals and my credentials. From a bean I send my credentials and my principals and server use his auth.conf (in my example I use databaseServrLoginModule) and server authenticated my user and give him his role.
But I can't send my login and password to server, so authentication fails..
If somebody can help me ?
Nothing under the java: namespace is available outside of the server. Further, datasources are generally not usable outside of the server.
but I solve my probem. It functions with ClientLoginModule