1 31 32 package org.opencms.main; 33 34 import org.opencms.workplace.CmsWorkplace; 35 36 53 public class CmsHttpAuthenticationSettings { 54 55 56 public static final String DEFAULT_AUTHENTICATION_URI = CmsWorkplace.VFS_PATH_WORKPLACE 57 + "action/authenticate.html"; 58 59 60 private String m_formBasedHttpAuthenticationUri; 61 62 63 private boolean m_useBrowserBasedHttpAuthentication; 64 65 68 public CmsHttpAuthenticationSettings() { 69 70 super(); 71 m_useBrowserBasedHttpAuthentication = true; 72 m_formBasedHttpAuthenticationUri = null; 73 } 74 75 80 public String getFormBasedHttpAuthenticationUri() { 81 82 return m_formBasedHttpAuthenticationUri; 83 } 84 85 90 public void setFormBasedHttpAuthenticationUri(String uri) { 91 92 m_formBasedHttpAuthenticationUri = uri; 93 } 94 95 100 public void setUseBrowserBasedHttpAuthentication(boolean value) { 101 102 m_useBrowserBasedHttpAuthentication = value; 103 } 104 105 110 public void setUseBrowserBasedHttpAuthentication(String value) { 111 112 m_useBrowserBasedHttpAuthentication = Boolean.valueOf(value).booleanValue(); 113 } 114 115 120 public boolean useBrowserBasedHttpAuthentication() { 121 122 return m_useBrowserBasedHttpAuthentication; 123 } 124 125 } 126 | Popular Tags |