Package com.boomi.connector.api.network
Interface NetworkAuthenticatorContext
-
public interface NetworkAuthenticatorContext
This 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.RequestorType
getRequestingAuthType()
Returns whether the requestor is a Proxy or a Server.String
getRequestingHost()
Gets the hostname of the site or proxy requesting authentication, ornull
if not available.int
getRequestingPort()
Gets the port number for the requested connection.String
getRequestingPrompt()
Gets the prompt string given by the requestor.String
getRequestingProtocol()
Give the protocol that's requesting the connection.String
getRequestingScheme()
Gets the scheme of the requestor (the HTTP scheme for an HTTP firewall, for example).InetAddress
getRequestingSite()
Gets theInetAddress
of the site requesting authorization, ornull
if not available.URL
getRequestingURL()
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, ornull
if not available.- Returns:
- the requestingHost
-
getRequestingSite
InetAddress getRequestingSite()
Gets theInetAddress
of the site requesting authorization, ornull
if 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
-
-