Hi,

As for us, we would be interested with JSONP enabled api.
It would allow transparent CAS login which can't be done with CORS.

For info, what we've doing so far: http://permalink.gmane.org/gmane.comp.java.jasig.uportal/18086

cu

"Benito J. Gonzalez" <[email protected]> a écrit :

Hi Devs,

I am working on Javascript that will be deployed in uPortal but will be included in other applications. The script will create a header on a page originating from another server that is similar to the detached portlet header.

Pulling in CSS files from uPortal is not an issue. A cross origin issue arises when making the API call to /uPortal/api/session.json. To solve this for testing, I leveraged the CorsFilter included with Tomcat. Is there need for Cross-Origin Resource Sharing in uPortal at this time? Coding a filter is straight-forward. What configuration options should be available to make this amenable to the community? Should the configuration be defined in a context file, and if so, which one?

Also, are there any recommendations on where to place the Javascript file in uPortal? Considering src/main/webapp/media/skins/respondr/common/javascript or there abouts. It has a dependency on some Respondr CSS.

Best,
Benito J. Gonzalez - Unicon
[email protected] <mailto:[email protected]>
480.558.2360



--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.


--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to