Coverage Report - org.paneris.bibliomania.EnsureLogin
 
Classes in this File Line Coverage Branch Coverage Complexity
EnsureLogin
0%
0/4
0%
0/2
3
 
 1  
 package org.paneris.bibliomania;
 2  
 
 3  
 import org.melati.Melati;
 4  
 import org.webmacro.servlet.WebContext;
 5  
 
 6  0
 public class EnsureLogin extends BibliomaniaServlet {
 7  
 
 8  
   /**
 9  
    * 
 10  
    */
 11  
   private static final long serialVersionUID = 1L;
 12  
 
 13  
   protected String bibliomaniaHandle(Melati melati, WebContext context)
 14  
             throws Exception {
 15  
 
 16  0
     if (melati.getUser().isGuest()) throw new BibliomaniaAccessPoemException();
 17  0
     melati.getResponse().sendRedirect(context.getForm("continuationURL"));
 18  0
     return null;
 19  
   }
 20  
 }