@ConnectionManagement(friendlyName="Basic Authentication") public class BasicAuthConfig extends AbstractConfig
apiUrl, jerseyClient
Constructor and Description |
---|
BasicAuthConfig() |
Modifier and Type | Method and Description |
---|---|
void |
connect(String username,
String password) |
void |
disconnect() |
String |
getPassword() |
String |
getUsername() |
boolean |
isConnected() |
void |
setPassword(String password) |
void |
setUsername(String username) |
getApiUrl, getResponseHandler, restEndpointUrl, rsClient, setApiUrl
@Connect @TestConnectivity public void connect(@ConnectionKey String username, @Password String password) throws org.mule.api.ConnectionException
org.mule.api.ConnectionException
@Disconnect public void disconnect()
@ValidateConnection public boolean isConnected()
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
Copyright © 2010–2019. All rights reserved.