Problems with JAASRealm, Form-based authenticating and Cyrillic

I want my users can authenticate using cyrillic in thier names.

I have JAASRealm ... and if i use BASIC authenticating it works very well. But when i use FORM-BASED authenticating it doesn't works with cyrillic while it works with latin.

In tomcat's console i see "?" instead of username.

Why?

[320 byte] By [SergeySergeya] at [2007-10-1 21:55:01]
# 1
And if i change JAASRealm to UserDatabaseRealm it works with cyrillic as well as latin!!!!
SergeySergeya at 2007-7-13 7:58:38 > top of Java-index,Security,Other Security APIs, Tools, and Issues...