WebCenter Content filter question

Hi all,
WebCenter Content provides the following three filter that can customize the query WHERE clause and alter the behavior of metadata changes.
preDetermineWhereClause
postDetermineWhereClause
checkMetaChangeSecurity
As the following document said, i can get the code of these three filters in NTKFilter java class in Need to Know component.But I cannot find any code about these three filters in Need to Know component.
Is there any sample about how to use these three filters?
http://fmwdocs.us.oracle.com/vol/doclibs/middleware/review/E29542_01/doc.1111/e26692/append_needknow.htm#CEGBFCBH
Thanks
Qian

See B.4 Using the Need To Know Component
The last is "executed when the security metadata changes on an update page, ... The filter should throw an exception if the change is not allowed."
What exactly do you want to implement?

Similar Messages

  • Databind method call returns null in WebCenter Content Filter

    Hi,
    I have inherited some code that has an issue and I'm new to WebCenter Content and the Filters that can be added. We have a FileNameFilter class that starts off with the code
    public class CWEFileNameFilter implements FilterImplementor {
        public CWEFileNameFilter() {
            super();
        public int doFilter(Workspace workspace, DataBinder dataBinder,
                            ExecutionContext executionContext) throws DataException {
            String service = dataBinder.getLocal("IdcService");
    However, service sometimes comes back null and then the filter throws a NPE.
    My questions are:
    1) Can anyone explain what dataBinder.getLocal("IdcService"); is doing and why it could come back as null
    2) Can anyone provide any links to documentation that explains Filters and a bit more about the DataBinder object as the JavaDoc isn't much help.
    Thanks
    Marc

    Hi Marc,
    Below code will give service name for which filter is implemented  from LocalData
    String service = dataBinder.getLocal("IdcService");
    for example below
    http://localhost:16200/cs/idcplg?IdcService=DOC_INFO_BY_NAME&dDocName=1111111&IsJava
    This will print entire response data including localdata and results which are created as part of service execution. Below is snippet
    <?hda version="11.1.1.8.0PSU-2015-04-01 00:14:53Z-r126309" jcharset="UTF8" encoding="utf-8"?>
    @Properties LocalData
    DocUrl=https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf
    IdcService=DOC_INFO_BY_NAME
    so String service = dataBinder.getLocal("IdcService"); will be service ="DOC_INFO_BY_NAME".
    Below blog will give some idea about filter but best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff
    http://www.redstonecontentsolutions.com/technical-blog/ucm-service-handlers-and-javafilters
    Also i would recommend reading "WebCenter Content Services Reference Guide"
    http://docs.oracle.com/cd/E23943_01/doc.1111/e11011/toc.htm
    Regards,
    Amol Gavali.

  • Question about webcenter content installation

    Hi all
    I am installing webcenter content 11.1.1.8 with weblogic 10.3.6.
    After creating a domain which contains webcenter content server, i try to start weblogic server.
    But the following error is raised and weblogic server cannot be started.
    java.lang.OutOfMemoryError: PermGen space
                    at java.lang.ClassLoader.defineClass1(Native Method)
                    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
                    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    I have modified setDomainEnv.sh file as following, but the error is still raised.
    WLS_MEM_ARGS_64BIT = "-Xms2048m -Xmx2048m"
    WLS_MEM_ARGS_32BIT = "-Xms2048m -Xmx2048m"
    MEM_PERM_SIZE_64BIT = "-XX:PermSize=512m"
    MEM_PERM_SIZE_32BIT = "-XX:PermSize=512m"
    MEM_MAX_PERM_SIZE_64BIT = "-XX:PermSize=512m"
    MEM_MAX_PERM_SIZE_32BIT = "-XX:PermSize=512m"
    By the way, i use OEL6.3 64bit and JDK6.0.
    Can anyone tell me how to resolve this problem?
    Thanks
    Qian

    Hi,
    Thank you for your reply. i tried to increase the PermSize to 1024m, but it still failed.
    So i use the latest jrokit instead of JDK, then the error is disappeared.
    Thanks
    Qian

  • Integrating BPM with WebCenter Content

    To integrate UCM and BPM, I followed this tutorial written by J@n van Zoggel.
    At the moment, I've already set up everything exactly as instructed in the tutorial. However, when I viewed a task in BPM Workspace, I still cannot see the Attachment section. In the log, I saw the following error:
    Ensure that credential store map WF-ADMIN-USER with key WF-ADMIN-CREDENTIAL
    contains UCM server admin username/password. Also ensure that Workflow configuration parameter
    UcmIdcUrl contains IDC socket connection url to connect to UCM server and UCM server has permission
    to let SOA server connect to it using IDC protocol.
    access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context=SYSTEM,mapName=WF-ADMIN-USER,keyName=WF-ADMIN-CREDENTIAL" "read")]]
    One thing I'd like to ask is that in all tutorials or articles I've read, the authors are always testing in the environment in which both the UCM and BPM servers are on the same machine. In my case, I am trying to connect my local BPM server with the online WebCenter Content server of my company, I wonder if I have to make any additional settings for this to work. A few pictures of my current settings are shown below.
    I'd be very grateful if you could share with me your experience in integrating BPM and UCM.
    Best regards,
    James Tran
    P/S: My environment is SOA Suite 11.1.1.7 and WebCenter 11.1.1.7
    1. UcmIdcUrl setting:
    2. WF-ADMIN-USER key map:
    3. WebCenter Content IP Filter:

    I don't believe that noone has ever tried to connect the local BPM environment to a remote WCC server before. Please let me know if you've ever experienced the same problem. Otherwise, even a simple "I tried to do the samething and I succeeded using the same steps in the tutorial" would help too .
    Another thing is that yesterday, I talked to the tech-lead and I learned that our WCC server environment doesn't have BPM installed yet. I am wondering if this would cause the WCC server to not understand the request from my BPM server. In addtion, I've also upgraded my local BPM server using the lastest SOA bundled patch. Should the same patch be applied to the WCC server environment too?
    I'd be very grateful for any advice .

  • Webcenter Content URL is NOT WORKING

    Hi All,
    I'm new to Oracle Webcenter and  installed webcenter content 11.1.1.8 in my system(Windows 7).After running Admin and managed server(UCM_server1), getting the following error while i'm going
    to connect http://localhost:16200/cs
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Please help me to resolve the issue? Thanks in advance.
    Regards
    Chandra

    Srinath is 100% correct.
    If the deployment failed, then there will very likely be some mention in the log.
    You state that you checked the log, but you didn't mention whether you found an error, no error, a successful startup, etc. you are providing painfully few details to assist.
    I would bet if you posted your .log and .out logs to Pastebin.com - #1 paste tool since 2002 and provided us links, We would be able to point out the error.
    Lacking that information, my best advice would be to re-install and double-check you're completing all steps in the correct order.
    Also, be sure to always search the product documentation first, the search this forum. For basic issues (e.g., standard installation), there is a high probability that someone else has asked that question.
    I hope that helps,
    -ryan

  • Attachment Content Filter not working

    I am trying to use the Attachement Content Filter to prevent the distribution of a sensitive document outside of our orginization. I have a filter that matches on the filename that works fine. However when I try to filter based on attachment contents it seems to not be working. I have selected a text string somewhat unique to the document that I would like to match on. The attached document is a PDF file. Is the attachment content scanner looking for a regexp match in the MIME encoded attachment maybe?
    Any help would be appreciated!

    Greetings,
    For this issue it would be advisable to open a support ticket. There are a couple of different issues that can cause this.  We would need to review the mail logs for the message in question to understand the issue.
    Christopher C Smith
    CSE
    Cisco IronPort Customer Support 

  • Customizing prebuilt taskflows for accessing webcenter content server

    Reposting from webcenter content group...
    Hi,
    We are building an application to manipulate content server objects and are thinking of two option: one is to use RIDC and build our own presentation tier. another is to use existing components such as Document Manager and customize them to suite our needs.
    So far we have not been able to find enough documentation on how to customize these out of the box components. To give an example, When a document is uploaded, we requiire to populate metadata such as author name, security group the document belongs to and so on. Another example is when a document is created we want to attach a workflow to that document.
    Are there any recommendations? If customizing existing taskflows is a better option, can you provide us links to the resources?
    We have tried Oracle documentation and some of the blogs, and everytime we run in some exception or the other. I will refrain from posting those exceptions here as our developers have raised those questions in other threads.
    Thanks and Regards
    Shridhar

    Hi Yannik,
    Thanks for your reply. we want user to input values for the metadata fields. We tried to add input fields in Upload.jsff but ran into some exceptions. One of my colleague has posted following threads on this forum.
    Re: Document Manager Task Flow Customization
    Document Manager Task Flow Customization
    Can you please point out to the resources/documents that explains how to add forms in existing taskflows? It is possible that we are looking at wrong places for the information.
    Another issue we face is when we start Jdeveloper as a customization role, JDeveloper either becomes unresponsive or or freezes when we open an XML file or JSFF file from within Webcenter Docuement Services View library. This hampers our further progress as well.
    Thanks again for your reply,
    Shridhar

  • What is the WebCenter Content data prefix naming convention?

    Hi all,
    While working with RIDC I had some trouble understanding which data attributes relate to which concepts (folder, file, revision, document, ...). Some services I've been using return data from mulitple concepts, for example the DOC_INFO and FLD_INFO services return both file and document information. Sometimes I'm able to distinguish which data relates to which concept by the prefix used in the returned data element.
    I made a small list of naming prefixes I encountered and where:
    "d" => The majority... is there a clear definition when this prefix is used?
    "dDoc" => Here and there, I assumed it is used when you clearly want to distinguish between a DOCument and a revision.
    "dwf" => Document workflow data.
    "dlink" => Document link data.
    "f" => Framework Folders data.
    "x" => DocMeta apart from "xClbraXXX" fields?
    "ipm" => Imaging.
    "dcollection" => Folders_g
    "dclbra" => Collaboration project.
    Am I heading in the right direction with these assumptions? Or is there a source on this subject (my search failed to turn up anything) ?
    A second somewhat related question; I'm slowly getting a better grip on the domain model of WebCenter Content, has anyone ever produced a simplified ER-diagram of this? I think it could be a great help for newcomers. (I might give it a go if no-one has).
    Regards,
    Niels

    d_ is a prefix for standard metadata x_ is a prefix for custom metadata
    The best description of the data model is available in http://docs.oracle.com/cd/E10316_01/cs/cs_doc_10/documentation/admin/troubleshooting_10en.pdf , appendix A. (note: it's a 10g verstion!)

  • Webcenter Sites Vs Webcenter Portal+Webcenter Content

    Hi everyone,
    A question for all those multifaceted webcenter experts out there!
    What is it that, Webcenter Sites does & Webcenter Portal + Webcenter Content couldn't do?
    If both can be equivalent solutions, then why acquisition of FatWire?
    Thanks in advance!
    ~S

    I wouldn't say it is a question of what, but how - some people find Sites more appealing than Portal, or Content's WCM (Site Studio). It's worth to add that Portal has most likely richer features than Sites, but if you want to build B2C internet, Sites seems (and are told) to be a better choice.
    To your question about the acquisition, other reasons could be:
    - ATG; Oracle had acquired ATG some months before Fatwire, which was the front-end technology for many ATG customers
    - customer base
    - etc.
    Edited by: jiri.machotka on Mar 4, 2013 9:48 AM

  • Help w/ Content Filter

    With all the phishing emails going on, we have been hit at least weekly for the past 2 months, I'd like to create an Incoming Content Filter to quarantine these. From looking at the messages they all seem to have the word "password:" on a line by itself.
    I've added a content filter to search for that phrase, send me a copy of the message and then deliver the message. I've done this as a test and to my surprise have found 10-20 valid messages per hour with this string!
    What is different about the phishing string and valid string is that for valid email, the word password: is followed by more text.
    So, my question is how do I create a content filter where the entire line is any one of these? I'd even settle for one of them.
    password:
    Password:
    password:
    Password:
    The last two lines have a space after the colon.
    I've tried "^[Pp]assword:$" without the quotes but it doesn't work.

    Are you looking for Case-insensitivity?
    Case-insensitivity (?i)
    The token (?i) that indicates the rest of the regular expression should be treated in case-insensitive mode. Placing this token at the beginning of a case-sensitive regular expression results in a completely insensitive match.
    For example, the regular expression “(?i)viagra” matches Viagra, vIaGrA, and VIAGRA.

  • Inbound Refinery and WebCenter Content link not convert doc into PDF

    hi
    I like to have possibility to convert uploaded document over web center space to PDF
    in order to have that I installed UCM and IBR and linked them
    when I upload doc in web space I see that document is shown in WC Content and it have been sent it to IBR but when I go to IBR Conversion history I get the following
    Step PDFExport forced conversion failure by conversion engine because of error: Unable to start process 'CmdLineConversion_1_exsimple'. for every document file and for every image file I get
    Step CreateNativeThumbnailWithImageExport forced conversion to be incomplete with error: Unable to start process 'CmdLineConversion_205_exsimple'.
    HELP ?!?
    Laslo

    You may want to post this question in the WebCenter Content forum instead of WebCenter - Interaction, which is a completely different product.

  • Content filter not working

    I recently got my two teenagers a Droid Maxx and they love it. My question is if anyone knows why the content filter option doesn't work for it. You would think the content filter would work on all phones. Seems to me that prior to releasing any new phone they should have made sure all features of the Verizon account would work. Does anyone know if they are going to resolve this issue and if so when??  I do think it is irresponsible for the feature to not work considering the number of kids using cell phones now. How can a parent who wants to control content do so if not available. I think this should be a priority with Verizon. Do they value kids safety or not?

        Hey there, skyhawk1! Thanks for your purchase of two new Droid Maxx smartphones. I hope your teenagers are loving them! I'm very curious about the crux of your post here. You've expressed interest in Content Filtering, and stated that the service is incompatible with the Droid Maxx. Our records indicate that the model will support filtering. Can you tell me why you feel that it doesn't? Did you attempt to add or request it, only to be denied? Please share the details. Thanks!
    For more info on Content Filtering, please review this link: http://vz.to/17xz67N
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Connecting LDAP (sun) to Webcenter content

    Hi all,
    I am having trouble connecting our ldap to our webcenter content: Records instance. We have been able to connect it to the weblogic server, but cannot get that information over to the application. following the viewlet provided by Oracle I created an ldap provider, however I have also read this is no longer used so disabled it (either way it didn't) work.
    The only thing I can think of is that we currently are not using the ldap for groups, and that the application is looking for this information prior to allowing the user access.
    another point: when I go to the users tab in weblogic and select the groups for a specific user I receive the following error:
    [Security:090278]Error listing member groups <username>
    I found an article (1293167.1) indicating that I needed to place values for static-group-dns-from-member-dn-filter, however this was already the default. I tried removing the values for the static groups and groups, which ended up causing the weblogic server to not start.
    Any help would be appreciated.
    Thanks
    Nick

    Hi Nick ,
    In this case you will need to assign the users some roles which are present on the UCM server (in-built ones) using credential maps . Broadly the steps to include it are as follows :
    1.On UCM  - Administration - Credential Maps - create a new map
    You can use regular expressions there to map the incoming LDAP groups to ucm .
    For eg :
    ldapgrp1 , contributor
    2. Add the following variable to <domain_home>/ucm/cs/data/providers/jpsuserprovider/provider.hda :
    ProviderCredentialsMap=<map name from step1 >
    Restart UCM .
    Further documentation link : http://docs.oracle.com/cd/E28280_01/doc.1111/e26692/securityadds.htm#WCCSA842
    Hope this helps .
    Thanks,
    Srinath

  • Content Filter

    I have the Droid Razr. I am unable to download certains apps because of the content filter. When I go to Content filter and click on manage my safeguards, its shows that all filters are off. But I am still not allowed to download apps. Why am not able to download certain apps if the filter is off? How can I change this?

        Hi there Speedbug76!
    Thanks for checking on the content filters already! I absolutely want you to be able to download any applications you want.
    Thank you Tikibar for the great suggestion and even better question!
    If this isn't the case Speedbug76, there may be a small glitch on the back end that we can correct.
    Keep us posted!
    Thanks,
    MelissaM_VZW
    Follow us on Twitter @vzwsupport

  • Webcenter Content PS5 is Released

    Hello Everyone ,
    FmW PS5 (11.1.1.6.0) is released and is now available for download from the following link :
    http://www.oracle.com/technetwork/middleware/webcenter/content/downloads/index.html?origref=http://www.oracle.com/technetwork/indexes/downloads/index.html
    Thanks
    Srinath
    Edited by: Srinath Menon on Feb 23, 2012 11:17 AM

    Srinath is 100% correct.
    If the deployment failed, then there will very likely be some mention in the log.
    You state that you checked the log, but you didn't mention whether you found an error, no error, a successful startup, etc. you are providing painfully few details to assist.
    I would bet if you posted your .log and .out logs to Pastebin.com - #1 paste tool since 2002 and provided us links, We would be able to point out the error.
    Lacking that information, my best advice would be to re-install and double-check you're completing all steps in the correct order.
    Also, be sure to always search the product documentation first, the search this forum. For basic issues (e.g., standard installation), there is a high probability that someone else has asked that question.
    I hope that helps,
    -ryan

Maybe you are looking for