For whatever it's worth: MyUW has this email widget:
https://drive.google.com/open?id=0B6CAo2FovZdpRnhyZkVmN1N6Sk0 which relies upon a JSON web service that represents the user's email addresses and associated webmail URLs which the portal implements by simply proxying a web service hosted by the email team, using this JSON proxier: https://github.com/UW-Madison-DoIT/json-proxy-service Benito, this doesn't answer the question you asked, but it's loosely related, and a trick gaining some currency in MyUW. Kind regards, Andrew ________________________________________ From: [email protected] <[email protected]> on behalf of Pascal Rigaux <[email protected]> Sent: Friday, July 3, 2015 3:14 AM To: [email protected] Subject: Re: [uportal-dev] Cross origin API calls and solutions 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 -- 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
