Hi,

The UI menu items that are shown in the carbon/admin/login.jsp page before
a user logs in is based on the <skip-authentication> tag found in the
component.xml for that bundle. That is if the bundle contains a
<skip-authentication> tag with 0 or more <skip-link> tags nested, then the
menu item for that bundle is displayed even without  a user logging in.

This approach works fine for bundles such as OpenId Sign-In where there is
a <skip-authentication> tag and also the menu item is required to be shown
even before logging in. But for OAuth UI bundle this approach causes an
issue. In OAuth UI bundle we have certain URLs that need to be skipped from
authentication, but however the OAuth menu item should not be shown if the
user is not logged in.

The obvious solution I can come up with is to introduce a new parameter in
the component.xml file, and read that instead of checking the
<skip-authentication> tag. Any thoughts on this approach?

Thanks,
Johann.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to