Questions tagged [liveconnect]

LiveConnect allows ECMAscript code running Mozilla's Rhino interpreter to access Java code in a transparent way.

This tag should be used in questions specific to Mozilla Rhino ECMAscript interpreter that relates to ECMAscript or JavaScript AND Java. It's a way to embed Java code in your JavaScript scripts.

You can check Embedding Rhino or Scripting Java for tutorials.

Note that the Rhino interpreter can sandbox the interpreted code to disallow this functionality. You won't see this active in a browser since it poses security risks. That said, it's a very powerful technology that enables a lot of possibility for projects using Rhino.

54 questions
1
vote
1 answer

Serious replay attack issue of Live Connect OAuth2? Why is the authorization code allowed to be used more than once?

Firstly thanks for your time. I have a serious concern about Live Connect's OAuth2 API. I follows this, and using DotNetOpenAuth to implement/integrate LiveId authentication/authorization for our federated identity & access management…
1
vote
2 answers

Getting data from MS Live Calendar

currently I working on a portal project for getting calendar data from several websites (google, yahoo, live/hotmail). the problem is our application require a service that getting calendar data from those websites. my team already get rid the…
bonjorno
  • 201
  • 2
  • 12
0
votes
0 answers

Cumulativ values using Power BI DAX with SSAS live connection

I want to get the cumulative value of my measure called "Pres_Ecart CA vs Obj" based on the order of another measure called "Var. CA Obj en %". What I have in my canvas is a matrix where I visualize 3 columns as a hierarchy "A" that contains…
0
votes
1 answer

liveconnect on ubuntu/firefox

This works on chrome canary/firefox 4 etc on windows: getAppletContext().showDocument(new URL("javascript:alert('hello');")); but on firefox 4 ubuntu it does nothing but throw java.net.MalformedURLException: unknown protocol: javascript It does not…
apl
  • 1
0
votes
2 answers

Java applet DOM manipulation example?

I am looking to write my first Java applet (with a difference). I want to write an applet that manipulates the DOM of the page in which the applet is placed. A suitable example would show how: an element can be retrieved from the DOM (by name, id…
skyeagle
  • 6,925
  • 16
  • 56
  • 71
0
votes
1 answer

Applet not loading

I have a Java web application. It was running fine until last week. We released a new version of our code and one of our applets is not getting launched anymore from our main java application. We did not change anything in the called applet, nor on…
Jeroen.
  • 13
  • 5
0
votes
0 answers

How to use LiveConnect in Selenium

I wrote the test in Selenium IDE and all was good but at the end of page I see that Selenium IDe can't record commands inside Java applet (as you can see in picture in link below). https://www.dropbox.com/s/v18abhx8ml7oskv/applet.png?dl=0 I use…
0
votes
1 answer

Live connect on chrome extension

Hello I am trying to use Microsoft OAuth in order to be able to login with Outlook credentials inside a chrome extension. I am using the javascript Library (https://msdn.microsoft.com/en-us/library/hh550844.aspx) but i am not being able to do it. I…
0
votes
0 answers

Java to Js calls. Is there a time limit after which netscape.javascript.JSException would be raised?

I am receiving the following exception when calling a JavaScript method from a Java applet using JSObject call mechanism. netscape.javascript.JSException: Unspecified error invoking method or accessing property "handOver" at…
0
votes
1 answer

Can I read the track number of a song from OneDrive using the LiveConnect API?

The REST API provides the title, artist, album, and picture for each track. However, I don't see any way to retrieve the track number. I know that OneDrive has this information: Is it possible to retrieve a track number for a song directly from…
Matthew
  • 28,056
  • 26
  • 104
  • 170
0
votes
1 answer

Java to javascript communication (LiveConnect) broken recently?

Look at this link: http://www.chemaxon.com/marvin/examples/applets/sketch/chemicalterms2.html This applet is trusted, signed etc. but I can't find configuration (OS/browser/Java) where it works... I have: Ubuntu 12.04 / FF 25 / Java…
mnowotka
  • 16,430
  • 18
  • 88
  • 134
0
votes
1 answer

Access is Denied Exception when calling JavaScript function from Java in IE

I am getting Access Denied exception when I am calling a Java Script Function from Java Applet only in IE. ( modified my original question with updated information.) Here is my HTML code