jQuery in Action, 3rd edition
The moose likes Struts and the fly likes multi application login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "multi application login" Watch "multi application login" New topic

multi application login

Gran Roguismo
Ranch Hand

Joined: Mar 10, 2005
Posts: 77
So I have a website of my own right now where i am plugging in several different projects to be accessed from a main "portal" type application.
How can I login for the "global" application and pass that valid user down to the sub applications?

On another question, this one dealing specifically with struts. Can I call an action in a struts application (with or without another struts application), without having a fully qualified name, ie: using

rather than:

or something of that sort

Ranch Hand

Joined: Oct 03, 2003
Posts: 40
Passing login information to sub applications might be a tricky one. Portal servers typically offer this feature. But if your main application is not a Portal server you probably don't have this option. Is it possible for you to deploy the sub applications as modules of the main application? That way as far as struts is concerned it will be one big appliaction with different modules and the login information will be maintained across modules. Just a thought...

For your second question, you could do that when you are in the same application/module.
Gran Roguismo
Ranch Hand

Joined: Mar 10, 2005
Posts: 77
well going with the thought of a module. Sounds like a great idea to me. I can build bundle the backend logic and class files into thejir own JAR. is this what you mean by creating a module?
The JSPs would then need to be added on their own, but since it's the view layer, that kind of makes sense anyway I suppose.
Is there another way to do this?
I agree. Here's the link: http://aspose.com/file-tools
subject: multi application login
jQuery in Action, 3rd edition