Authentication is working fine butrequest.getUserPrincipal(); is pointing to nullI am using DatabaseServerLoginModule.can any body help me or if you are having any working code. please send it to me.Thanks in advance