1 7 package org.enhydra.pim.presentation.enhydrapim; 8 9 import org.enhydra.pim.presentation.BasePO; 10 import org.enhydra.xml.xmlc.XMLObject; 11 12 import com.lutris.appserver.server.httpPresentation.HttpPresentationException; 13 14 19 public class Logout extends BasePO { 20 21 22 public XMLObject handleDefault() throws HttpPresentationException { 23 this.removeUserFromSession(); 24 return (LogoutHTML) myComms.xmlcFactory.create(LogoutHTML.class); 25 } 26 27 33 public XMLObject handleLogout() throws HttpPresentationException { 34 this.removeUserFromSession(); 35 return (LogoutHTML) myComms.xmlcFactory.create(LogoutHTML.class); 36 } 37 38 39 protected boolean loggedInUserRequired() { 40 return true; 41 } 42 43 } 44 | Popular Tags |