on 12/7/01 12:48 AM, "Kathy Ng" <[EMAIL PROTECTED]> wrote:
> Hai, > > There is one question that i need yours suggestions. > As we know that so far velocity is able to work with turbine for example > there is a situation where in the velocity template we can able to direct a > call to turbine to invoke the turbine security service in order to do the > verification of user login routine. But i want to know that is there any > possibility for the velocity to work with tomcat. I means that instead > invoke the security service from velocity, can we direct the call to the > tomcat to invoke the "Realm" service to do the user login verification. The > reason i want to do it in this way is that since in Tomcat, there a service > call "Single-Sign-On" which allows users to authenticate themselves only > once over a set of web applications deployed on a particular virtual host. > That the reason i need to deploy this feature in my web applications. But > the problem is in order to make use of it i must use the Realm serevice in > Tomcat but then since the velocity template is work with the turbine > security service to perform the user verification so i want to make it > change to connect to the tomcat realm to perform the user login routine. > > So whether this situation can be done or not? Hope i will get your reply > soon. Thank for your guide! > > Cheers, > Kathy You can do it, but you are going to have to write the code to do it yourself since it doesn't already exist. This isn't really a Velocity question since Velocity is just a tool that Turbine uses. It is really a turbine-user question. That said, there are other ways to do single-sign-on without having to use those features of Tomcat such as sharing session data in a centralized location. That will probably be easier to support with turbine. Good luck. -jon -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
