*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface HttpServerInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote, ServerComponentInterface, ServerInterface, SoftwareComponentInterface

@SASScope("ALL") @BinaryCompatibilityOnly public interface HttpServerInterface extends ServerComponentInterface
This is a generic interface for interacting with a repository entry that represents an HTTP server of some sort.

Since:
1.0
  • Field Details

    • METADATA_AUTHENTICATION_TYPE

      static final String METADATA_AUTHENTICATION_TYPE
      Constant used for the value of the AuthenticationType attribute of a TCPIPConnection to denote the type of authentication for this server. This authentication type indicates that the HTTP server is configured to authenticate against the Metadata server. A one time use password should be generated when authenticating to the HTTP server.
      See Also:
    • USERPASS_AUTHENTICATION_TYPE

      static final String USERPASS_AUTHENTICATION_TYPE
      Constant used for the value of the AuthenticationType attribute of a TCPIPConnection to denote the type of authentication for this server. This is the default authentication type for any HTTP server. If the authentication type does not match METADATA_AUTHENTICATION_TYPE or NONE_AUTHENTICATION_TYPE, then the default should be USERPASS_AUTHENTICATION_TYPE.

      The normal usage scenario for this authentication type, is that the username and password used to bind to the HTTP server are obtained from the user context based on the authentication domain of the HTTP server.

      See Also:
    • NONE_AUTHENTICATION_TYPE

      static final String NONE_AUTHENTICATION_TYPE
      Constant used for the value of the AuthenticationType attribute of a TCPIPConnection to denote the type of authentication for this server. This authentication types indicates that the HTTP server does not require any authentication so no credentials are needed when binding to the server.
      See Also:
  • Method Details

    • getUrl

      String getUrl() throws ServiceException, RemoteException
      Get the url for this HTTP server.

      Returns:
      The url.
      Throws:
      ServiceException - if a service level error occurs.
      RemoteException - in the event of remote object failure.
    • setProxyUrl

      void setProxyUrl(String proxyUrl) throws ServiceException, RemoteException
      Set the proxy url for this HTTP server.

      Parameters:
      proxyUrl - The proxy url.
      Throws:
      ServiceException - if a service level error occurs.
      RemoteException - in the event of remote object failure.
    • getProxyUrl

      String getProxyUrl() throws ServiceException, RemoteException
      Get the proxy url.

      Returns:
      TThe proxy url.
      Throws:
      ServiceException - if a service level error occurs.
      RemoteException - in the event of remote object failure.
    • getDomains

      List getDomains() throws ServiceException, RemoteException
      Get a list of the authentication domains that the server is running in.

      Specified by:
      getDomains in interface ServerInterface
      Returns:
      a List of Strings with the names of the authentication domains the server is running in.
      Throws:
      ServiceException - if a service level error occurs.
      RemoteException - in the event of remote object failure.
    • getAuthenticationType

      String getAuthenticationType() throws ServiceException, RemoteException
      Get the authentication type string for the connection.
      Returns:
      The authentication type string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setAuthenticationType

      void setAuthenticationType(String authType) throws ServiceException, RemoteException
      Set the authentication type string.
      Parameters:
      authType - The authentication type string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.