DOFupdateAuthenticator Method OpenDOF Object Access Library
Updates an existing DOFAuthenticator with the specified configuration.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
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.
Exceptions

ExceptionCondition
DOFSecurityExceptionIf the domain identifier in the configuration does not match an existing authenticator.
Remarks

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)

See Also

Reference

State.getDomainID()