Hi,
I've extended the class NavigationBean, because I don't want the final user could see 'Guest Home' Panel, in that way:
public class MyNavigationBean extends NavigationBean{
public boolean getGuestHomeVisible()
{
if(authService.guestUserAuthenticationAllowed())
{
Node guestHome = getGuestHomeNode();
// return guestHome != null && guestHome.hasPermission("Read");
// Show Guest Home only to admin user
User user = Application.getCurrentUser(FacesContext.getCurrentInstance());
return user.isAdmin();
} else
{
return false;
}
}
}
My question is:
If I include my class in the alfresco-web-client.jar, how can I say to Alfresco that it should use the new class?
I need to extend more classes and I wanted to know how can I configure Alfresco.
Thanks in advance,
Elena.