I just so happened to run into that same issue and was about to start 
troubleshooting it when you so kindly identified the fix for me :)
I went a head and merged in the fix that you supplied. 


Chris Waymire
Unicon, Inc.
602.345.0064
[email protected]


----- Original Message -----
From: "Jen Bourey" <[email protected]>
To: [email protected]
Sent: Tuesday, February 19, 2013 8:19:48 PM
Subject: Re: [uportal-dev] org.jasig.portal.rest.SessionRESTController?


Hi Aaron, 


That service was designed to be used by uMobile to double check whether the 
current user had an active session. I suspect the view didn't get switched over 
from the older net.sf.json view to the newer Jackson view name. You might 
submit that as a pull request :) 


Jen 



On Tue, Feb 5, 2013 at 10:01 AM, Aaron Grant < [email protected] > wrote: 


We are working on a project where we need to easily see if a user is 
logged into the portal or not. I was looking through the restful apis 
and found this class org.jasig.portal.rest.SessionRESTController. I 
was wondering if that was currently being used anywhere in uPortal 
currently? I originally I tried to call it and it said 
/WEB-INF/session.jsp does not exist. 

So I changed the request mapping to session.json 

and added this to make it a JSON feed: mv.setViewName("json"); 

I'm just hoping to avoid any unintended consequences. 

Thanks! 
Aaron 
-- 
Aaron Grant 
Project Coordinator and Systems Integrator 
Oakland University - UTS 

-- 
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 




-- 
Jen Bourey -- 
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

Reply via email to