public interface LoginProtocol
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProtocolName()
Returns a name identifying this protocol.
|
java.net.HttpURLConnection |
presentCredentials(java.net.URL url,
UserPass userpass)
Makes a single attempt at acquiring a response from a login interface.
|
java.net.HttpURLConnection presentCredentials(java.net.URL url, UserPass userpass) throws java.io.IOException
url
- target URLuserpass
- credentials supplied by userjava.io.IOException
- if some communications failedjava.lang.String getProtocolName()