Actually the SimpleCredential way will not work since the fine grained CMS 
Security is performed via the Portal CMS Security Engine and not by the 
JackRabbit Engine.

To achieve what you want to do, you can disable this interceptor when making a 
CMS Request. This approach is used in the Workflow components as well:

Check this sample code from the workflow components for some ideas:


  | ACLInterceptor.turnOff();
  | 
  | //create this content in the CMS and make it live
  | Command command = 
cms.getCommandFactory().createContentGetVersionsCommand(content.getPath());
  | List versions = (List)cms.execute(command);
  | 
  | ACLInterceptor.turnOn();
  | 

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193155#4193155

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193155
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to