About join chat private room

when I set chat room to private at admin-console, make the room can’t be display in spark conferenece room list.

but i press ‘create or join room’ button,input the name of private room,the spark don’t give me a chance to input password.

I found the source about joinroom, and output password the user sent from spark,it’ll be null. So the openfire throws an UnauthorizedException.

is there anybody can tell me how to make the room private and we also can join it through input the name and password.

thx all~ my regards