public interface LoginProtocol
Modifier and Type | Method and Description |
---|---|
String |
getProtocolName()
Returns a name identifying this protocol.
|
HttpURLConnection |
presentCredentials(URL url,
UserPass userpass)
Makes a single attempt at acquiring a response from a login interface.
|
HttpURLConnection presentCredentials(URL url, UserPass userpass) throws IOException
url
- target URLuserpass
- credentials supplied by userIOException
- if some communications failedString getProtocolName()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.