Updates an existing DOFAuthenticator with the specified configuration.
Namespace: org.opendof.core.oalAssembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
public void updateAuthenticator(
DOFAuthenticatorConfig authConfig
)
Parameters
- authConfig
- Type: org.opendof.core.oalDOFAuthenticatorConfig
The configuration to use to update the authenticator. This must not be null.
Exception | Condition |
---|
DOFSecurityException | If the domain identifier in the configuration does not match an existing authenticator.
|
Updates an existing DOFAuthenticator with the specified configuration. The new configuration replaces the old
configuration for the authenticator. No attempt is made to merge the configurations.
The new configuration must contain a domain identifier for an existing DOFAuthenticator. The updateAuthenticator method
gets the domain identifier from the configuration passed to it and uses it to determine which existing DOFAuthenticator to update.
If a DOFAuthenticator with a matching domain identifier is not found, the method throws an exception.
see DOFAuthenticator.Config.Builder#Builder(DOFAuthenticator.State, DOFAuthenticator.Storage)
Reference
State.getDomainID()