I resolved it. I put none on digest of realms before it had no value.
Another issue:
When the login authentication is successful, the page that appears is the list of file in the main directory of project. I would like to go to a special page. How?
I use form with action j_security_check.
[Message sent by forum member 'helixb' (helixb)]
http://forums.java.net/jive/thread.jspa?messageID=254948