public interface HTTPBasicAuthorizationMechanismCfg extends HTTPAuthorizationMechanismCfg
The HTTP Basic Authorization Mechanism authenticates the end-user using credentials extracted from the HTTP Basic 'Authorization' header.
| Modifier and Type | Method and Description |
|---|---|
void |
addHTTPBasicAuthorizationMechanismChangeListener(ConfigurationChangeListener<HTTPBasicAuthorizationMechanismCfg> listener)
Register to be notified when this HTTP Basic Authorization Mechanism is changed.
|
Class<? extends HTTPBasicAuthorizationMechanismCfg> |
configurationClass()
Gets the configuration class associated with this HTTP Basic Authorization Mechanism.
|
String |
getAltPasswordHeader()
Gets the "alt-password-header" property.
|
String |
getAltUsernameHeader()
Gets the "alt-username-header" property.
|
String |
getIdentityMapper()
Gets the "identity-mapper" property.
|
org.forgerock.opendj.ldap.DN |
getIdentityMapperDN()
Gets the "identity-mapper" property as a DN.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isAltAuthenticationEnabled()
Gets the "alt-authentication-enabled" property.
|
void |
removeHTTPBasicAuthorizationMechanismChangeListener(ConfigurationChangeListener<HTTPBasicAuthorizationMechanismCfg> listener)
Deregister an existing HTTP Basic Authorization Mechanism configuration change listener.
|
addChangeListener, isEnabled, removeChangeListenerdn, nameClass<? extends HTTPBasicAuthorizationMechanismCfg> configurationClass()
configurationClass in interface ConfigurationconfigurationClass in interface HTTPAuthorizationMechanismCfgvoid addHTTPBasicAuthorizationMechanismChangeListener(ConfigurationChangeListener<HTTPBasicAuthorizationMechanismCfg> listener)
listener - The HTTP Basic Authorization Mechanism configuration change listener.void removeHTTPBasicAuthorizationMechanismChangeListener(ConfigurationChangeListener<HTTPBasicAuthorizationMechanismCfg> listener)
listener - The HTTP Basic Authorization Mechanism configuration change listener.boolean isAltAuthenticationEnabled()
Specifies whether user credentials may be provided using alternative headers to the standard 'Authorize' header.
String getAltPasswordHeader()
Alternate HTTP headers to get the user's password from.
String getAltUsernameHeader()
Alternate HTTP headers to get the user's name from.
String getIdentityMapper()
> Specifies the name of the identity mapper used to get the user's entry corresponding to the user-id provided in the HTTP authentication header.
org.forgerock.opendj.ldap.DN getIdentityMapperDN()
> Specifies the name of the identity mapper used to get the user's entry corresponding to the user-id provided in the HTTP authentication header.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the HTTP Basic Authorization Mechanism implementation.
getJavaClass in interface HTTPAuthorizationMechanismCfgCopyright © 2017-2020 Wren Security. All Rights Reserved.