Hello,
I have a page HelloWorld.xhtml in /Login
folder. I have set this constraint for this page. I am using jdbcRealm:-
<user-data-constraint>
<description/>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
I have a filter on this page and in filter i do this :-
if (objHttpServletRequest.isUserInRole("Admin")) {
objHttpServletResponse.sendRedirect("http://blogger.blogdns.com:8080/Blogger/Admin/home.jsf");
}
else if(objHttpServletRequest.isUserInRole("Member")){
objHttpServletResponse.sendRedirect("http://blogger.blogdns.com:8080/Blogger/Member/home.jsf");
}
In spite of http protocol which i have specified for redirect, it always redirects using https, so the url becomes :- https://blogger.blogdns.com:8181/Blogger/Member/home.jsf
i have set transport-gaurantee for Admin folder and Member folder to NONE.
Any idea why is this happening and how should i resolve this?