Ed Knutson wrote:
>
> I need to be able to allow anyone who visits my portal to add an account.
>
> So, I set up MySQL so it works when I login as turbine.
>
> Then, I added a key to JetspeedResources.properties which, when true, adds a
> link to the bottom of the JetspeedLogon screen. This link loads the
> JetspeedSignup screen, which is JetspeedLogon with first and last name and
> password confirm fields named per
> org.apache.turbine.modules.screens.admin.AddUser. For the action, I first tried
> using admin.NewUser. This didn't seem to map to anything so I wrote a simple
> JetspeedNewUser: public class JetspeedNewUser extends
> org.apache.turbine.modules.actions.admin.NewUser {}
>
> Now, I get a stack trace in the Tomcat screen to the effect that the
> stackTraceException field was not found in org.apache.turbine.util.RunData.
> Nothing in turbine.log.
>
> Am I sort of on the right track? It seems odd that I would have to wrap any
> Turbine class that I want to use in a Jetspeed class. Is this a security
> feature to prevent exploiatation of Turbine's default behaviors?
>
> Speaking of security, I noticed there is a SecurityCheck in the Turbine class.
> Is there something I need to do to authorize Jetspeed to add users?
Could you post the stack trace?
Also, Jon did a really good job of adding users in Jyve. I was very
impressed. We should use the same mechanism within Jetspeed/Turbine.
If anyone wants to look at the code and make it more modular between
Jyve/Jetspeed and Turbine I would be +1.
Kevin
--
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN: "Please Open Source Java!"
"For evil to win is for good men to do nothing."
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]