Ryan,

Thanks for trying to use it. :)

Quick notes:

* You'll probably want to discuss this further on the portlet-dev list (I've cc'd it). * The CAS functionality was working in an earlier (non-released as far as I remember, but maybe we could go back and tag it) version of MailPortlet for Yale, but it hasn't been tested recently by them afaik since I tried to do some work on it (attempted to genericize a little). * Trunk of MailPortlet is under development right now and specifically I'm having some issues with JPA/Hibernate that I'm trying to work through at the moment.

However, barring all of that and focusing on the issue at hand.

In theory, if the initialization service were working/configured then it would do:

CASReceipt receipt = proxyTicketService.getProxyTicket(ticket);
                   session.setAttribute("CasReceipt", receipt);

The issue is that isn't working so subsequently, it is getting null back from portletRequest.getPortletSession().getSessionAttribute("CasReceipt") later.

Looking at the ProxyTicketService it looks like some of the stuff was being logged at trace level that might be hiding clues about what is wrong, especially the authN fail that it was logging as trace.

Since many use debug level when they are trying to debug, I've changes some of the trace to debug and the authN error causing that sessionAttribute not to be set to ERROR level (at least for now). Not saying there is anything wrong with trace level, I personally just don't think to use it much.

*Please back up* any changes you made locally prior to doing svn up on MailPortlet trunk. A LOT of stuff moved around including the package of the CAS classes. You could lose local changes if you're not careful.

See the notes at bottom of the updated user manual at bottom for how you can do an overlay build to make it a tiny bit easier to work with a moving target, although you'll still need to compared the files you are overlaying against the originals as things have been changing rapidly:
http://www.ja-sig.org/wiki/display/PLT/MailPortlet+User+Manual

Thanks,
Gary


Ryan0 wrote:
I am trying to see if I can get this MailPortlet up and running using CAS. http://www.ja-sig.org/wiki/display/PLT/MailPortlet
I can't seem to really figure out where the correct settings are located in
order to do this properly.  I do have CAS running on my uPortal, and I am
able to use the MailPortlet if I specify my credentials in the portlet's
account settings.

One of the many things I've tried was to setup a bean for my institution in
the mailservers.xml file.  I set <property name="credentialsService"
value="casProxyCredentialsService"/>.  But my mailportlet.log file shows a
warning like:

WARN org.jasig.portal.ChannelManager#46
org.jasig.portlet.mail.service.impl.CasProxyCredentialsService - Cannot find
a CAS receipt object in session.

I have made no changes to the mailportlet's web.xml file.
So, I am probably way off.  Perhaps someone can help get me on the right
track?  I am just using trial and error at this point.  Thank in advance!





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