1 28 29 package com.caucho.server.security; 30 31 import java.util.logging.*; 32 33 import javax.servlet.*; 34 import javax.naming.*; 35 36 import com.caucho.log.Log; 37 38 import com.caucho.util.L10N; 39 40 import com.caucho.vfs.WriteStream; 41 42 45 public class FormLoginConfig { 46 static final Logger log = Log.open(FormLoginConfig.class); 47 static final L10N L = new L10N(FormLoginConfig.class); 48 49 private String _formLoginPage; 50 private String _formErrorPage; 51 private boolean _isInternalForward; 52 53 56 public FormLoginConfig() 57 { 58 } 59 60 63 public void setFormLoginPage(String page) 64 { 65 _formLoginPage = page; 66 } 67 68 71 public String getFormLoginPage() 72 { 73 return _formLoginPage; 74 } 75 76 79 public void setFormErrorPage(String page) 80 { 81 _formErrorPage = page; 82 } 83 84 87 public String getFormErrorPage() 88 { 89 return _formErrorPage; 90 } 91 92 95 public boolean isInternalForward() 96 { 97 return _isInternalForward; 98 } 99 100 103 public void setInternalForward(boolean isInternalForward) 104 { 105 _isInternalForward = isInternalForward; 106 } 107 } 108 | Popular Tags |