fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/user/LoginClient.java
public AppRequestToken login(
            String usernameParam, String passwordParam) {

        //Default login is for 9 hours.
        return this.login(usernameParam, passwordParam, TimeUnit.HOURS.toSeconds(9));
    }
public AppRequestToken login(
            String usernameParam, String passwordParam) {

        //Default login is for 9 hours.
        return this.login(usernameParam, passwordParam, TimeUnit.HOURS.toSeconds(9));
    }
Performs the necessary login actions against Fluid.

Please note that the actual password never travels over the wire / connection.

@param usernameParam The users Username.
@param passwordParam The users password.
@return Session token.

@see AppRequestToken