Class LoginHelper
- java.lang.Object
-
- org.wso2.carbon.inbound.salesforce.poll.LoginHelper
-
public class LoginHelper extends Object
A helper to obtain the Authentication bearer token via login- Since:
- 202
- Author:
- hal.hildebrand
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMETD_REPLAYstatic StringCOMETD_REPLAY_OLD
-
Constructor Summary
Constructors Constructor Description LoginHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BayeuxParameterslogin(String username, String password)static BayeuxParameterslogin(String username, String password, BayeuxParameters params)static BayeuxParameterslogin(URL loginEndpoint, String username, String password)static BayeuxParameterslogin(URL loginEndpoint, String username, String password, BayeuxParameters parameters)
-
-
-
Field Detail
-
COMETD_REPLAY
public static final String COMETD_REPLAY
- See Also:
- Constant Field Values
-
COMETD_REPLAY_OLD
public static final String COMETD_REPLAY_OLD
- See Also:
- Constant Field Values
-
-
Method Detail
-
login
public static BayeuxParameters login(String username, String password) throws Exception
- Throws:
Exception
-
login
public static BayeuxParameters login(String username, String password, BayeuxParameters params) throws Exception
- Throws:
Exception
-
login
public static BayeuxParameters login(URL loginEndpoint, String username, String password) throws Exception
- Throws:
Exception
-
login
public static BayeuxParameters login(URL loginEndpoint, String username, String password, BayeuxParameters parameters) throws Exception
- Throws:
Exception
-
-