Hello Chris. Yes, I would still like to know how to read a user's psml file programmatically. I really would like to understand how the psml gets associated with a user.
As for the role-based fallback psml, that works if the user creates a new account. In our client's case, the users create their account outside of Jetspeed. Thus, our portal authenticates outside of Jetspeed. Since the users are registered outside of Jetspeed, the psmls don't get created in Jetspeed's file system or database. This is my current and perhaps limited understanding of how the psmls work. Please correct me if I'm wrong. Louie > Hi, > > --- Louie Lansang <[EMAIL PROTECTED]> wrote: > > I've looked at the JLoginUser class and still can't figure out how > > a User > > grabs its own default.psml file. What I really want to do is read a > > specific > > default.psml (say turbine user's psml) from the file system and use > > that for > > any User that's logged in. In other words, I want to use the same > > psml file > > for any User. > > > > Note: my Users won't be registered in the Jetspeed/Turbine tables > > or file > > system to begin with. Should I just read the anonymous User's > > psml? How do > > I read a psml file programmatically? > > > > I am not sure what you really require - if your users won't be > registered with Jetspeed/Turbine, then the anon route seems to be the > way to go. > > If they will eventually get logged in then you can use "role" based > psml - all users get the "user" role, you can define a psml file in > that directory and this will be used by all users. > > To use this, change the JetspeedResources.properties file to not use > "turbine" as the template for new users psml - leave it blank like > the comment says and you should be sorted. > > Do you still need to read the users psml programmatically? > > Chris > > ===== > SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 > Japan/Korea > > __________________________________________________ > Do You Yahoo!? > Yahoo! Movies - coverage of the 74th Academy Awards� > http://movies.yahoo.com/ > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
