I have the below JSP file:
<%@page import="RdbmsLoginModule, PassiveCallbackHandler" %>
<%@page import="SessionLoginContext" %>
<%@page import="javax.security.auth.login.LoginContext, java.util.*" %>
<%@page import="java.io.*" %>
<!--
index.jsp: Simple JSP page to test a session-based LoginContext.
-->
<%
if(request.getParameter("user")==null) {
%>
<form action="jaas.jsp" method="POST">
...