Package com.boomi.connector.api.network
Interface NetworkAuthenticator
-
- All Known Implementing Classes:
SimpleNetworkAuthenticator
public interface NetworkAuthenticator
A NetworkAuthenticator allows connector developers to provide authentication credentials for network connections. The runtimeAuthenticator
instance will delegate password authentication requests to implementations provided by the connector. Connectors can implementNetworkAuthenticatorConnector
, instead ofConnector
, to provide a network authenticator that will only be used for that connector. TheNetworkAuthenticatorContext
is used to provide the context of the authentication request in order to support credential management in the authenticator implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PasswordAuthentication
requestPasswordAuthentication(NetworkAuthenticatorContext context)
This method is used to request aPasswordAuthentication
instance based on the specified context.
-
-
-
Method Detail
-
requestPasswordAuthentication
PasswordAuthentication requestPasswordAuthentication(NetworkAuthenticatorContext context)
This method is used to request aPasswordAuthentication
instance based on the specified context. Implementations should use the information in the provided context to determine the correct credentials for the request.- Parameters:
context
-NetworkAuthenticatorContext
with authentication request details- Returns:
PasswordAuthentication
with user credentials if authentication is required for the network connection, null otherwise
-
-