[jboss-dev-forums] [JBoss Portal Development] - Migrate from EPP 4.3 to 5.1.0 - Show user-defined Page after login
Daniel Wasser
do-not-reply at jboss.com
Thu Jul 7 07:15:48 EDT 2011
Daniel Wasser [http://community.jboss.org/people/dwasser] created the discussion
"Migrate from EPP 4.3 to 5.1.0 - Show user-defined Page after login"
To view the discussion, visit: http://community.jboss.org/message/613894#613894
--------------------------------------------------------------
Hello JBossies,
while migrating from JBoss EPP 4.3 to EPP 5.0 we are facing a problem
to migrate a mechanism we use to display programatically another portalpage
than the default one. Normally JBoss portal (EPP4.3) will
show the login page after calling a page in a secured Webapplication. If the
authentication is sucessfull the portals default page is shown.
Due to some security issues we need to display some other pages
eg. "change password" or "correct user data" after the login page was shown.
To achieve this goal we extend
org.jboss.portal.core.controller.command.mapper.AbstractCommandFactory
and override the doMapping(ControllerContext context, ServerInvocation invocation,
String host, String contextPath, String requestPath) method.
The Method returns a ControllerCommand which tells the portalserver
which page should be shown. To do this we return a
RenderPageCommand with the PortalObjectId we need to be shown.
To migrate to GateIn/Exo Portal we are locking for an equivalent mechanism.
Are there any ideas?
Thanks in advance,
Daniel Wasser
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613894#613894]
Start a new discussion in JBoss Portal Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2014]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110707/420874f4/attachment.html
More information about the jboss-dev-forums
mailing list