Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[07:31:11 EST(-0500)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has left ##uportal
[08:37:41 EST(-0500)] * athena (n=athena@adsl-75-58-127-15.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:04:14 EST(-0500)] * lennard1 (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[09:09:26 EST(-0500)] * colinclark (n=colin@bas2-toronto09-1176131079.dsl.bell.ca) has joined ##uportal
[09:49:21 EST(-0500)] * michelled (n=michelle@142.150.154.193) has joined ##uportal
[09:57:02 EST(-0500)] * jessm (n=Jess@c-71-232-1-65.hsd1.ma.comcast.net) has joined ##uportal
[10:04:58 EST(-0500)] * holdorph (n=holdorph@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[10:57:17 EST(-0500)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[12:31:17 EST(-0500)] * Sememmon (n=Sememmon@unaffiliated/sememmon) has joined ##uportal
[13:06:44 EST(-0500)] * lennard1 (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[13:46:13 EST(-0500)] * Sememmon (n=Sememmon@unaffiliated/sememmon) has joined ##uportal
[14:07:29 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[14:14:57 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[14:24:08 EST(-0500)] * poofman (i=80876350@gateway/web/freenode/x-tiamyrmrsffbzxvb) has joined ##uportal
[14:26:49 EST(-0500)] * lennard1 (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[14:28:19 EST(-0500)] <poofman> Greetings uPortal Devs: Were getting some unexpected PAGS authorization results for users in our system. Looking in our dev environment we get this error for everyone logging in: http://uportal.pastebin.com/m39ad7fe8 I'm having a little difficulty determining if this is a configuration error or an error in the code?
[14:29:34 EST(-0500)] <poofman> We are making use of the MediatingAdditionalDescriptors.java bean in the person-directory to log users in. Is anyone here familiar with this type of error?
[14:29:52 EST(-0500)] <EricDalquist> you can ignore that
[14:30:02 EST(-0500)] <EricDalquist> you use MediatingAdditionalDescriptors to store data for a user in the request scope
[14:30:41 EST(-0500)] <EricDalquist> when a thread that isn't from a request, like in this case the Quartz scheduler, calls PD there is no request scoped data
[14:30:46 EST(-0500)] <EricDalquist> so you get an exception
[14:30:47 EST(-0500)] <poofman> we haven't made mods to it.
[14:30:53 EST(-0500)] <EricDalquist> right
[14:30:56 EST(-0500)] <EricDalquist> this isn't a local thing
[14:31:00 EST(-0500)] <poofman> ok
[14:31:04 EST(-0500)] <EricDalquist> it is just how a request scoped spring object behaves
[14:31:10 EST(-0500)] <EricDalquist> when you try to access it from outside of a request
[14:31:37 EST(-0500)] <EricDalquist> there is one thing you can do that will hide the message
[14:31:46 EST(-0500)] <EricDalquist> in uPortal/uportal-impl/src/main/resources/properties/contexts/applicationContext.xml
[14:31:54 EST(-0500)] <EricDalquist> find <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
[14:32:24 EST(-0500)] <poofman> ok. I see it.
[14:32:36 EST(-0500)] <EricDalquist> add:
[14:32:36 EST(-0500)] <EricDalquist> <entry key="request">
[14:32:36 EST(-0500)] <EricDalquist> <bean class="org.jasig.portal.spring.web.context.support.FailsafeSingletonScope">
[14:32:36 EST(-0500)] <EricDalquist> <constructor-arg>
[14:32:36 EST(-0500)] <EricDalquist> <bean class="org.springframework.web.context.request.RequestScope" />
[14:32:36 EST(-0500)] <EricDalquist> </constructor-arg>
[14:32:38 EST(-0500)] <EricDalquist> </bean>
[14:32:40 EST(-0500)] <EricDalquist> </entry>
[14:32:49 EST(-0500)] <EricDalquist> that redefines the 'request' scope that spring uses
[14:33:22 EST(-0500)] <EricDalquist> so that if a request isn't available it falls back to a singleton instance of the scoped object
[14:33:43 EST(-0500)] <poofman> ok. thanks. I'll give that a try.
[14:34:01 EST(-0500)] <EricDalquist> but functionally that error message shouldn't be causing any issues
[14:36:26 EST(-0500)] <poofman> ok. thats good to know. We're struggling somewhat with the PAGS authorization. We are doing regex test to determine the student group looking for "student". That works fine but it also includes members with "former_student" that we don't want in.
[14:37:05 EST(-0500)] <poofman> we overrode the RegexTester bean with another version that returns negation.
[14:37:31 EST(-0500)] <poofman> but because PAGS does an OR for each condition, we still get the users logged in.
[14:38:21 EST(-0500)] <EricDalquist> that might be a better question for the uportal-user list
[14:38:30 EST(-0500)] <EricDalquist> unless someone else in here has an answer
[14:38:58 EST(-0500)] <poofman> np. I'll send it along there if I don't come up with something soon.
[15:45:29 EST(-0500)] * ChanServ (ChanServ@services.) has joined ##uportal
[15:45:29 EST(-0500)] * lennard1 (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[15:45:29 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[15:45:29 EST(-0500)] * Sememmon (n=Sememmon@unaffiliated/sememmon) has joined ##uportal
[15:45:29 EST(-0500)] * holdorph (n=holdorph@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[15:45:29 EST(-0500)] * jessm (n=Jess@c-71-232-1-65.hsd1.ma.comcast.net) has joined ##uportal
[15:45:29 EST(-0500)] * michelled (n=michelle@142.150.154.193) has joined ##uportal
[15:45:29 EST(-0500)] * athena (n=athena@adsl-75-58-127-15.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[15:54:53 EST(-0500)] * mmealling (n=michael@singularity.ts.gatech.edu) has joined ##uportal
[16:10:06 EST(-0500)] * Sememmon (n=Sememmon@unaffiliated/sememmon) has joined ##uportal
[16:49:07 EST(-0500)] * Sememmon (n=Sememmon@unaffiliated/sememmon) has joined ##uportal
[16:53:24 EST(-0500)] <athena> EricDalquist: do you know if there's a way to add a user to a .channel file, in addition to the groups?
[16:56:34 EST(-0500)] <athena> ok i think drew found it for me
[16:58:00 EST(-0500)] <mmealling> hmm.... need a #cas channel
[16:58:20 EST(-0500)] <athena> sadly cas only has the mailing lists
[19:42:22 EST(-0500)] * athena7 (n=athena@adsl-99-136-250-158.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[20:14:21 EST(-0500)] * lennard1 (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has left ##uportal