uPortal IRC Logs-2006-12-08

[09:58:35 CST(-0600)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:59:28 CST(-0600)] * ChanServ sets mode +o JASIGLogBot
[09:59:38 CST(-0600)] * Topic is 'uPortal3.0.0-RC1' set by EricDalquist on 2006-12-08 09:59:38 CST(-0600)
[10:28:03 CST(-0600)] * edalquist (n=dalquist@dyn-0-90.uwnet.wisc.edu) has joined ##uportal
[11:50:22 CST(-0600)] * edalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[12:57:59 CST(-0600)] * jayshao (n=chatzill@nat01-asb-ext.Rutgers.EDU) has joined ##uportal
[12:58:17 CST(-0600)] <jayshao> so... users in uP3...
[12:58:30 CST(-0600)] <EricDalquist> hey
[12:58:35 CST(-0600)] <jayshao> hey
[12:58:42 CST(-0600)] <EricDalquist> have you tried anything yet?
[12:58:51 CST(-0600)] <jayshao> just poking... template users?
[12:58:57 CST(-0600)] <EricDalquist> there are template users
[12:59:07 CST(-0600)] <EricDalquist> but ... the template copying code is just in the layout manager
[12:59:17 CST(-0600)] <EricDalquist> there is no code that I know of that copies the template user's permissions
[12:59:42 CST(-0600)] <jayshao> ah... in uP3 land where does one specify a user/groups template user?
[13:00:32 CST(-0600)] <EricDalquist> uPortal_3.0.0/portal/webapp/beans/portal/contexts/uP2.xml
[13:00:48 CST(-0600)] <EricDalquist> line 468
[13:00:52 CST(-0600)] <EricDalquist> there is just one template user
[13:01:51 CST(-0600)] <jayshao> ahh...
[13:01:59 CST(-0600)] <jayshao> k, I see in data.xml too
[13:02:06 CST(-0600)] <jayshao> so I can login as template/template?
[13:02:10 CST(-0600)] <EricDalquist> yes you can
[13:02:13 CST(-0600)] <jayshao> muck around...
[13:02:15 CST(-0600)] <EricDalquist> yup
[13:02:17 CST(-0600)] <jayshao> then add a new user?
[13:02:21 CST(-0600)] <EricDalquist> yeah
[13:02:26 CST(-0600)] <jayshao> is there a tool, or is that a db insert?
[13:02:29 CST(-0600)] <EricDalquist> adding will be tricky, we need to document all of that
[13:02:34 CST(-0600)] <EricDalquist> it is going to be a few inserts I think
[13:02:47 CST(-0600)] <EricDalquist> since the template copy processes doesn't yet copy permissions
[13:03:13 CST(-0600)] <jayshao> so no tool yet?
[13:03:20 CST(-0600)] <jayshao> hmmm
[13:03:44 CST(-0600)] <EricDalquist> nope
[13:03:59 CST(-0600)] <jayshao> so I can insert a new user, but they won't be able to do anything...
[13:04:04 CST(-0600)] <jayshao> this could make loadtesting hard...
[13:04:10 CST(-0600)] <EricDalquist> you want to just start creating a nice stream of Jira issues?
[13:04:24 CST(-0600)] <EricDalquist> I can see about adding template user permissions copying next week
[13:05:01 CST(-0600)] <jayshao> yeah, I think that's where we're at... in the meantime, if you can point us to some tables, we might be able to just bulk create a couple hundred accounts to loadtest with
[13:05:18 CST(-0600)] <jayshao> the goal is to loadtest by the 20th or so
[13:05:27 CST(-0600)] <EricDalquist> ok, give me a few minutes at I'll see what I can put together
[13:05:36 CST(-0600)] <jayshao> cool. I'll start JIRAing
[13:05:43 CST(-0600)] <EricDalquist> cool (smile)
[13:11:43 CST(-0600)] <EricDalquist> INSERT INTO GAP_GROUP_MEMBER (GROUP_ID, MEMBER_SERVICE, MEMBER_KEY, MEMBER_IS_GROUP)
[13:11:43 CST(-0600)] <EricDalquist> VALUES ('4', 'ignored', 'UserName', 'F');
[13:12:08 CST(-0600)] <jayshao> ?
[13:12:14 CST(-0600)] <jayshao> what's that do?
[13:12:27 CST(-0600)] <EricDalquist> '4' is the group id (Developers in this case) from GAP_GROUP
[13:12:41 CST(-0600)] <EricDalquist> that should be all you need to do to add the correct permissions for a new user
[13:12:47 CST(-0600)] <jayshao> ahh... so insert a new row in UP_USER
[13:12:51 CST(-0600)] <jayshao> with an ID & username
[13:13:01 CST(-0600)] <jayshao> add them to an existing group
[13:13:04 CST(-0600)] <jayshao> and... works?
[13:13:11 CST(-0600)] <EricDalquist> yeah, I figured you could do the INSERT for the UP_USER table
[13:13:14 CST(-0600)] <EricDalquist> I think so
[13:13:26 CST(-0600)] <EricDalquist> I'm in the middle of some person dir stuff right now but I'll test it after that
[13:14:08 CST(-0600)] <jayshao> gotcha
[13:14:11 CST(-0600)] <jayshao> what's MEMBER_KEY
[13:14:13 CST(-0600)] <jayshao> string?
[13:14:17 CST(-0600)] <jayshao> not a ID #?
[13:14:30 CST(-0600)] <EricDalquist> yeah
[13:14:35 CST(-0600)] <EricDalquist> it is the users name
[13:14:50 CST(-0600)] <jayshao> so admin or developer?
[13:14:50 CST(-0600)] <EricDalquist> user_nm from up_user
[13:14:54 CST(-0600)] <jayshao> or the attribute name?
[13:15:23 CST(-0600)] <jayshao> cause I see demo and numbers in the db...
[13:15:28 CST(-0600)] <EricDalquist> if you look in GAP_GROUP_MEMBER you can see there are 4 entries for 'admin' 'demo' 'guest' and 'template'
[13:15:39 CST(-0600)] <jayshao> gotcha, the others are groups
[13:15:40 CST(-0600)] <EricDalquist> the numbers are group IDs
[13:15:58 CST(-0600)] <EricDalquist> or channel IDs
[13:16:27 CST(-0600)] <jayshao> k. and passwords are cleartext in the USERS table?
[13:16:34 CST(-0600)] <EricDalquist> yup
[13:17:21 CST(-0600)] <jayshao> let's give it a try...
[13:20:54 CST(-0600)] <jayshao> need to insert into authorities too, but looks like it took...
[13:29:59 CST(-0600)] <jayshao> wow, that gap-init.xml is ugly...
[13:30:13 CST(-0600)] <EricDalquist> yup
[13:30:40 CST(-0600)] <EricDalquist> we really need to get to making domain specific XML descriptors for the different parts of the framework
[13:31:02 CST(-0600)] <jayshao> yeah, exposed internal data structures - ick
[13:31:29 CST(-0600)] <EricDalquist> yup
[13:31:32 CST(-0600)] <jayshao> explains the initportal logging though... (wink)
[13:31:40 CST(-0600)] <EricDalquist> and once we get that we can get rid of dbloader
[13:31:41 CST(-0600)] <EricDalquist> yay!
[13:31:54 CST(-0600)] <jayshao> lol
[13:46:35 CST(-0600)] <EricDalquist> did that work?
[13:46:41 CST(-0600)] <EricDalquist> I haven't had a chance to try yet
[14:29:57 CST(-0600)] <jayshao> worked
[14:30:02 CST(-0600)] <EricDalquist> cool
[14:30:42 CST(-0600)] <jayshao> on to defining layouts...
[14:31:20 CST(-0600)] <EricDalquist> (smile)
[14:31:27 CST(-0600)] <EricDalquist> are you documenting all of this as you go?
[14:31:30 CST(-0600)] <EricDalquist> or blogging it (smile)
[14:55:15 CST(-0600)] <jayshao> well, there's the IRC logs...
[14:55:21 CST(-0600)] <jayshao> probably try a post or 2 a day
[14:55:27 CST(-0600)] <jayshao> I have some notes
[15:35:55 CST(-0600)] <jayshao> Faizan left for the day, and the ACEGI work is all locked up on his desktop
[15:36:07 CST(-0600)] <jayshao> I might give it a crack though - looks pretty straightforward...
[15:36:11 CST(-0600)] <EricDalquist> ok
[15:36:39 CST(-0600)] <EricDalquist> from that exception it looks like Acegi isn't setting the SecurityContext for a CAS authed user
[15:36:49 CST(-0600)] <jayshao> hmmm...
[15:38:41 CST(-0600)] <jayshao> security.xml where you have all your existing ACEGI configs?
[15:38:51 CST(-0600)] <EricDalquist> ummm
[15:38:53 CST(-0600)] <EricDalquist> yes?
[15:39:03 CST(-0600)] <jayshao> heh
[15:39:12 CST(-0600)] <EricDalquist> looks like it
[15:39:29 CST(-0600)] <EricDalquist> I'm not very familiar with Acegi :/
[15:46:26 CST(-0600)] <EricDalquist> I'm heading home, I'll be back on later and I'll check the IRC logs
[15:47:08 CST(-0600)] <jayshao> cool
[15:47:09 CST(-0600)] <jayshao> later
[16:36:21 CST(-0600)] * EricDalquist (n=dalquist@76.210.68.34) has joined ##uportal
[17:56:17 CST(-0600)] * edalquist (n=dalquist@adsl-76-208-67-112.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[22:02:50 CST(-0600)] * apetro (n=apetro@uni1.unicon.net) has joined ##uportal