your_rhoconnect_server_url |
rhoconnect server's url, for example http://localhost:9292 |
app_endpoint_url |
your Spring 3 MVC app url, for example http://localhost:8080/contacts |
apiToken |
rhoconnect server's api_token, for example rhoconnect_api_token |
The `authenticate` bean will be called by the RhoConnect server to authenticate users, so it has to implement the `Rhoconnect` interface provided by the rhoconnect-java plugin:
:::java
package com.rhomobile.rhoconnect;
import java.util.Map;
public interface Rhoconnect {
String authenticate(String userName, String password, Map