class RestUtil {

    public static AuthenticationMode checkAuthenticationMode(URI uri, UserBase user) throws IOException, MotuCasException {
        return RestUtil.checkAuthenticationMode(uri.toString(), null, user);
    }

}