First page Back Continue Last page Summary Graphics
Login Context Example
protected void processRequest(
HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
ServletCallbackHandler handler=
- new ServletCallbackHandler(request,response);
LoginContext context=null;
try{
context=new LoginContext("MyApp",handler);
context.login();
}
catch(LoginException e){
//handle exception
}
Notes: