Hello,
In embedded Jetty setting, with web.xml I have successfully gotten basic
auth to prompt the user and send credentials to my cusom auhtorizing
realm configured through web.xml and now I want to convert it to forms
auth instead of browser basic auth.
I can get shiro to redirect to my login page, but it does not seem to
submit the params to shiro, instead simply posting back and doing
nothing with my realm. The Shiro site has this as an example for login.jsp:
<form ...>
Username:<input type="text" name="username"/> <br/>
Password:<input type="password" name="password"/>
...
<input type="checkbox" name="rememberMe" value="true"/>Remember Me?
...
</form>
I have this type of section in my form, but what else is needed. Are
imports or other declarations needed in order to make this JSP page wire
up to Shiro?
Is there a complete, basic example of a login.jsp for doing this. Can
plain .html page with this form element work?
Thanks,
Chris