[
http://opencast.jira.com/browse/MH-7557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26321#comment-26321
]
Josh Holtzman commented on MH-7557:
-----------------------------------
The role to welcome page configuration can be handled in xml, like this:
<bean id="authSuccessHandler"
class="org.opencastproject.kernel.security.AuthenticationSuccessHandler">
<property name="securityService" ref="securityService" />
<property name="welcomePages">
<map>
<entry key="ROLE_ADMIN" value="/welcome.html"/>
<entry key="ROLE_USER" value="/engage/ui/index.html"/>
<entry key="*" value="/engage/ui/index.html"/> <!-- Any role not listed
explicitly will redirect here -->
</map>
</property>
</bean>
This allows the configurer to forward users to different welcome pages based on
their roles. I also added a small patch that stores the original URI
(including querystring) in a session attribute, so it can be used after
completing login. If the login is successful, the user is forwarded to their
requested URI. This may in some cases create sessions unnecessarily, so we can
disable this feature if that becomes a problem.
> After the login I'm always on the welcome screen
> -------------------------------------------------
>
> Key: MH-7557
> URL: http://opencast.jira.com/browse/MH-7557
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services
> Affects Versions: 1.1
> Reporter: Ruediger Rolf
> Assignee: Josh Holtzman
> Priority: Critical
> Fix For: 1.2
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________