public void setUseBrowserBasedHttpAuthentication(String value) {

        m_useBrowserBasedHttpAuthentication = Boolean.valueOf(value).booleanValue();
        if (!m_useBrowserBasedHttpAuthentication && !value.equalsIgnoreCase(Boolean.FALSE.toString())) {
            if (value.equalsIgnoreCase(AUTHENTICATION_BASIC)) {
                m_useBrowserBasedHttpAuthentication = true;
            } else {
                m_browserBasedAuthenticationMechanism = value;
                m_useBrowserBasedHttpAuthentication = false;
            }
        }
    }
public void setUseBrowserBasedHttpAuthentication ( String value ) { m_useBrowserBasedHttpAuthentication = Boolean . valueOf ( value ) . booleanValue ( ) ; if ( ! m_useBrowserBasedHttpAuthentication && ! value . equalsIgnoreCase ( Boolean . FALSE . toString ( ) ) ) { if ( value . equalsIgnoreCase ( AUTHENTICATION_BASIC ) ) { m_useBrowserBasedHttpAuthentication = true ; } else { m_browserBasedAuthenticationMechanism = value ; m_useBrowserBasedHttpAuthentication = false ; } } }
Sets if browser-based HTTP basic authentication is enabled or disabled.<p>

@param value a string {<code>"true"</code>|<code>"false"</code>} to specify if browser-based HTTP basic authentication should be enabled;
if another string is provided, the flag for browser based basic authentication is disabled and the value is stored as authentication mechanism.