Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

[10:07:29 CST(-0600)] <dd__> have a question about uportal redirecting after being idle

[10:08:13 CST(-0600)] <Arvids> not sure that i'll be able to help, but i can try (smile)

[10:08:33 CST(-0600)] <dd__> right now when you are signed in and it's idle for awhile, on reload it will redirect you to the default homepage with the sign in button, if you click sign in it takes you back to your signed in homepage

[10:08:49 CST(-0600)] <athena> yes - your session has expired

[10:08:55 CST(-0600)] <dd__> is there any way to log you out and redirect you back to CAS?

[10:10:26 CST(-0600)] <Arvids> I believe, that no... AFAIK

[10:11:01 CST(-0600)] <Arvids> ... but that should be easy doable with custom code

[10:11:52 CST(-0600)] <dd__> hmm, ok. i'll need to look into it

[10:11:56 CST(-0600)] <athena> probably depends on whether you want to have a guest mode viewable

[10:12:16 CST(-0600)] <athena> the portal can't easily distinguish at that point between users that just arrived, and users whose sessions expired

[10:12:48 CST(-0600)] <dd__> yeah, we're not doing guest mode, sign in through CAS takes you to your portal

[10:13:30 CST(-0600)] <Arvids> It reminds me that there was a discussion on user list about this behaviour

[10:14:23 CST(-0600)] <dd__> ok, i can search around

[10:14:25 CST(-0600)] <athena> in that case, yes, i think you could configure the portal to just always redirect to CAS for login

[10:14:31 CST(-0600)] <athena> that's a pretty common use case

[10:14:37 CST(-0600)] <Arvids> indeed

[10:14:53 CST(-0600)] <dd__> ok, great

[10:15:01 CST(-0600)] <athena> incidentally, there's a uPortal community call in 15 min for anyone that's interested in attending

[10:15:17 CST(-0600)] <athena> http://www.jasig.org/news/december-2011-uportal-community-call

[10:15:24 CST(-0600)] <Arvids> another way is to implement a custom IParameterProcessor

[10:15:56 CST(-0600)] <athena> (and you can connect via skype, too)

[10:16:29 CST(-0600)] <Arvids> it should be very easy to implement one checking whether user is guest or not... and sending back redirect to a login page if user turns out to be a guest

[10:17:03 CST(-0600)] <dd__> great, thanks

[10:17:37 CST(-0600)] <dd__> that covers that then. you would happen to have any experience with resource serving webapp, would you?

[10:17:39 CST(-0600)] <Arvids> hmm... i'm looking at IParameterProcessor and there's no servlet response available (sad)

[10:17:51 CST(-0600)] <dd__> i

[10:18:21 CST(-0600)] <Arvids> very little

[10:18:22 CST(-0600)] <dd__> i'm getting a weird error when it is starting up and i was talking with Eric Dalquist about it and even he was confused

[10:18:38 CST(-0600)] <dd__> http://pastebin.com/YTacGV9N

[10:18:40 CST(-0600)] <Arvids> haven't had any errors with it

[10:18:48 CST(-0600)] <dd__> i see that error in my log when i start tomcat

[10:19:29 CST(-0600)] <dd__> seems like something is already registering the name ResourceServer.cacheManager before it can

[10:19:54 CST(-0600)] <Arvids> strange

[10:20:12 CST(-0600)] <dd__> either way, it is preventing the resources from being served to users when they log in

[10:20:19 CST(-0600)] <Arvids> now that i see the stack trace, i believe i've read your conversation with Eric

[10:23:16 CST(-0600)] <Arvids> thinking about the possible causes... but I have no other ideas that Eric haven't mentioned already

[10:24:48 CST(-0600)] <dd__> yeah, it's on the dev instance right now so if i have to i can install everything from scratch again. but i'd like to know the reason incase it comes up again

[10:25:29 CST(-0600)] <Arvids> have you tried to inspect tomcat state using JConsole?

[10:26:00 CST(-0600)] <Arvids> it does show all the configured chaches

[10:26:33 CST(-0600)] <dd__> no, never used the tool before. is it easy to get setup?

[10:26:43 CST(-0600)] <Arvids> it is trivial on local machine

[10:26:46 CST(-0600)] <Arvids> start up tomcat

[10:26:56 CST(-0600)] <Arvids> and then run "jconsole" from command line

[10:27:08 CST(-0600)] <Arvids> it will open GUI and choose the process you want to monitor

[10:27:27 CST(-0600)] <Arvids> switch to "MBeans" tab and you can then overview all exposed MBeans

[10:27:41 CST(-0600)] <Arvids> there's "net.sf.cache" directory available

[10:28:50 CST(-0600)] <Arvids> at least if ResourceServingWebapp crashes and you see a cache named "ResourceServer.cacheManager", then there's point in looking into other web applications

[10:29:33 CST(-0600)] <dd__> sounds good

[10:29:46 CST(-0600)] <dd__> gotta go, thank you for your suggestions

[10:30:00 CST(-0600)] <Arvids> you're welcome

[10:30:05 CST(-0600)] <Arvids> gotta go home, too (smile)

[12:14:09 CST(-0600)] <dd___> hello again

[12:14:16 CST(-0600)] <dd___> question about WebProxy portlet

[14:27:46 CST(-0600)] <dd__> hello

[14:28:18 CST(-0600)] <dd__> have a question about WebProxy portlet in reference to the docs here: https://wiki.jasig.org/display/PLT/WebProxy+Portlet+Installation+and+Configuration

[14:28:55 CST(-0600)] <dd__> i have it setup to authenticate with cas proxy tickets and now i'm interested in this line from the docs: "Authenticated Webproxy also provides a mechanism for passing user-specific information to the back-end application."

[14:29:13 CST(-0600)] <dd__> specifically the mechanism they are talking about