public class SingleCredentialClientCallback extends Object implements IAuthorizationClientCallback
Constructor and Description |
---|
SingleCredentialClientCallback() |
SingleCredentialClientCallback(String theUsername,
String thePassword) |
Modifier and Type | Method and Description |
---|---|
String |
providePassword(String theUriPath)
Provides a password
|
String |
provideUsername(String theUriPath)
Provides a username
|
void |
setPassword(String thePassword) |
void |
setUsername(String theUsername) |
public SingleCredentialClientCallback()
public SingleCredentialClientCallback(String theUsername, String thePassword)
public String providePassword(String theUriPath)
IAuthorizationClientCallback
providePassword
in interface IAuthorizationClientCallback
public String provideUsername(String theUriPath)
IAuthorizationClientCallback
provideUsername
in interface IAuthorizationClientCallback
public void setPassword(String thePassword)
thePassword
- the password to setpublic void setUsername(String theUsername)
theUsername
- the username to setCopyright © 2012–2017 University Health Network. All rights reserved.