when I want to redirect in my page to other I use this method exception:
throw new RedirectToUrlException("/login/j_security_check?j_username=" + username + "&j_password=" + pass);
problem is that this information are visible in browser. How I can send this and use POST method ?