Package com.boomi.connector.api.network
Interface NetworkAuthenticatorContext
-
public interface NetworkAuthenticatorContextThis NetworkAuthenticatorContext is used to provide the context of a pending network connection when requesting authentication usingNetworkAuthenticator.requestPasswordAuthentication(NetworkAuthenticatorContext). The details in the context can be used to determine the appropriate credentials for the connection. Connector developers are not expected to implement this interface but should understand its usage when implementing a customNetworkAuthenticator.- See Also:
NetworkAuthenticatorConnector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authenticator.RequestorTypegetRequestingAuthType()Returns whether the requestor is a Proxy or a Server.StringgetRequestingHost()Gets the hostname of the site or proxy requesting authentication, ornullif not available.intgetRequestingPort()Gets the port number for the requested connection.StringgetRequestingPrompt()Gets the prompt string given by the requestor.StringgetRequestingProtocol()Give the protocol that's requesting the connection.StringgetRequestingScheme()Gets the scheme of the requestor (the HTTP scheme for an HTTP firewall, for example).InetAddressgetRequestingSite()Gets theInetAddressof the site requesting authorization, ornullif not available.URLgetRequestingURL()Returns the URL that resulted in this request for authentication.
-
-
-
Method Detail
-
getRequestingHost
String getRequestingHost()
Gets the hostname of the site or proxy requesting authentication, ornullif not available.- Returns:
- the requestingHost
-
getRequestingSite
InetAddress getRequestingSite()
Gets theInetAddressof the site requesting authorization, ornullif not available.- Returns:
- the requestingSite
-
getRequestingPort
int getRequestingPort()
Gets the port number for the requested connection.- Returns:
- the requestingPort
-
getRequestingProtocol
String getRequestingProtocol()
Give the protocol that's requesting the connection.- Returns:
- the requestingProtocol
-
getRequestingPrompt
String getRequestingPrompt()
Gets the prompt string given by the requestor.- Returns:
- the requestingPrompt
-
getRequestingScheme
String getRequestingScheme()
Gets the scheme of the requestor (the HTTP scheme for an HTTP firewall, for example).- Returns:
- the requestingScheme
-
getRequestingURL
URL getRequestingURL()
Returns the URL that resulted in this request for authentication.- Returns:
- the requestingURL
-
getRequestingAuthType
Authenticator.RequestorType getRequestingAuthType()
Returns whether the requestor is a Proxy or a Server.- Returns:
- the requestingAuthType
-
-