|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpServerInterface
This is a generic interface for interacting with a repository entry that represents an HTTP server of some sort.
Field Summary | |
---|---|
static java.lang.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. |
static java.lang.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. |
static java.lang.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. |
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Method Summary | |
---|---|
java.lang.String |
getAuthenticationType()
Get the authentication type string for the connection. |
java.util.List |
getDomains()
Get a list of the authentication domains that the server is running in. |
java.lang.String |
getProxyUrl()
Get the proxy url. |
java.lang.String |
getUrl()
Get the url for this HTTP server. |
void |
setAuthenticationType(java.lang.String authType)
Set the authentication type string. |
void |
setProxyUrl(java.lang.String proxyUrl)
Set the proxy url for this HTTP server. |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Field Detail |
---|
static final java.lang.String METADATA_AUTHENTICATION_TYPE
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.
static final java.lang.String USERPASS_AUTHENTICATION_TYPE
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.
static final java.lang.String NONE_AUTHENTICATION_TYPE
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.
Method Detail |
---|
java.lang.String getUrl() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setProxyUrl(java.lang.String proxyUrl) throws ServiceException, java.rmi.RemoteException
proxyUrl
- The proxy url.
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getProxyUrl() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getDomains() throws ServiceException, java.rmi.RemoteException
getDomains
in interface ServerInterface
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getAuthenticationType() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a server error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setAuthenticationType(java.lang.String authType) throws ServiceException, java.rmi.RemoteException
authType
- The authentication type string.
ServiceException
- If a server error occurs.
java.rmi.RemoteException
- In the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |