I need to develop a metadata extension to show categories, this categories are folders in KM. If I use the service user I have not problems:
ResourceContext rc = new ResourceContext(WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service"));
But I need to use the current user context to read km structure.
The IMetaContext has a method to get the current context, but I always get null in my code.
public IMetaValueList getAllowedValues( IMetaName metaName, IMetaContext metaContext) metaContext.getResourceContext()
Any idea? Can I do that?
Thanks in advance...