Using wildcards in CCM 2.0 search

Hi experts
we're using SRM 5.0 (SRM 5.5 Server) with CCM 2.0.
Is it possible to use wildcards in catalog search?
Are there any documents about wildcards in CCM ?
Regards.
Sven

Hi
Yes TREX is mandatory for CCM2.0 (written in the master guide). Please restart the TREX server and retry, if this does not in your case.
I guess, There are two wildcard characters:
? stands for a single character
stands for a sequence of any combination characters of any length.
Related links ->
CCM 2.0 Simple search on CSE does not show any result
Re: Cross catalog search doesn't work for CCM 2.0
Re: Search function for Catalogue CCM 1.0 SRM version 4
CCM view rules - based on wild cards?
Re: Is TREX required for CCM 2.0 search?
Hope this answers your queries. Do let me know.
Regards
- Atul

Similar Messages

  • How to search for files using wildcards * and ?.

    Hi All,
    I've been searching the forum for a couple of hours now and have been unable to find a good example of how to search a directory (Windows OS) for a file using wildcards * and/or ?. Does anyone out there have a good example that they can share with me?
    Thanks

    Hi All,
    First of all I want to thank everyone for taking the time to respond to my question. All of your responses where greatly appreciated.
    I took the example code that was posted by rkconner, thanks rkconner, and modified it to allow me to search for files in a directory that contain * and/or ?. Yes, I said and/or! Meaning that you can use them both in the same file name, example: r??d*.t* would find readme.txt.
    I've posed my complete and thoroughly document code below. I hope it is very helpful to other as I have searched many forums and spent many hours today trying to resolve this problem.
    Enjoy
    * File Name: WildcardSearch.java
    * Date: Jan 9, 2004
    * This class will search all files in a directory using the
    * asterisk (*) and/or question mark (?) as wildcards which may be
    * used together in the same file name.  A File [] is returned containing
    * an array of all files found that match the wildcard specifications.
    * Command line example:
    * c:\>java WildcardSearch c:\windows s??t*.ini
    * New sWild: s.{1}.{1}t.*.ini
    * system.ini
    * Command line break down: Java Program = java WildcardSearch
    *                          Search Directory (arg[0]) = C:\Windows
    *                          Files To Search (arg[1]) = s??t*.ini
    * Note:  Some commands will not work from the command line for arg[1]
    *        such as *.*, however, this will work if you if it is passed
    *        within Java (hard coded)
    * @author kmportner
    import java.io.File;
    import java.io.FilenameFilter;
    public class WildcardSearch
         private static String sWild = "";
          * @param args - arg[0] = directory to search, arg[1] = wildcard name
         public static void main(String[] args)
              String sExtDir = args[0]; // directory to search
              sWild = args[1];   // wild card to use - example: s??t*.ini
              sWild = replaceWildcards(sWild);
              System.out.println("New sWild: " + sWild);
              File fileDir = new File(sExtDir);
              File[] arrFile = fileDir.listFiles(new FilenameFilter()
                   public boolean accept(File dir, String name)
                        return (name.toLowerCase().matches(sWild));
              for (int i = 0; i < arrFile.length; ++i)
                   System.out.println(arrFile.getName());
         }     // end main
         * Checks for * and ? in the wildcard variable and replaces them correct
         * pattern characters.
         * @param wild - Wildcard name containing * and ?
         * @return - String containing modified wildcard name
         private static String replaceWildcards(String wild)
              StringBuffer buffer = new StringBuffer();
              char [] chars = wild.toCharArray();
              for (int i = 0; i < chars.length; ++i)
                   if (chars[i] == '*')
                        buffer.append(".*");
                   else if (chars[i] == '?')
                        buffer.append(".{1}");
                   else
                        buffer.append(chars[i]);
              return buffer.toString();
         }     // end replaceWildcards method
    }     // end class

  • BP telephone Search using wildcards (IC Winclient)

    I'm unable to search business partners by telephone number using wildcards (*) because I get the error message "enter a country to do the search using wildcards".
    How can I include a default country and state on the html template of the BP Search?
    I´ve tried this code below (on tcode smw0)but it doesn't work:
    Portugal
    Lisbon
    Any help?
    Thanks

    hey buddy
    yes i would like to enahnce the BP search too
    but right now the things is that the BP search screen the standard one is coming emmpty
    i have assigned the search criteria as BPSearch which is a default profile for search
    but when i assign the BP search workspace ,the screen is coming empty
    i mean  firstly the standard screen should be coming ,then i could enhance it
    please tell me what all are the settings required to use BP search in winclient
    again mentioning the standard screen containing the existing standard criteria for BP search is not coming ,the screen under the BP search tab is empty
    please advise
    help will be appreciated
    best regards
    ashish

  • Exchange Online Quarantine Search Using Wildcards

    Hey There,
    This page http://technet.microsoft.com/en-us/library/dn567976%28v=exchg.150%29.aspx states at the bottom you can use wildcards to search quarantined messages in EOP but I can't get the commandlet to work. I know the brackets are wrong but even are rectifying
    that issue the code still doesn't work.
    Is it possible to  use wildcards with get-quarantinemessage?
    Hibs Ya Bass!

    Please read full text most carefully.
    Q. Are wildcards supported when searching for quarantined messages? Can I search for quarantined messages for a specific domain?
    A. Wildcards are not supported
    when specifying search criteria in the Exchange admin center. For example, when searching for a sender, you must specify the full email address.
    "Not" usually means "not". if this is not the case please notify.
    ¯\_(ツ)_/¯
    Is this the sarcasm forum then?
    It also states that wildcards are not supported when using the Exchange Admin Center. I'm not using the admin center I'm trying to use the powershell code that Microsoft themselves have recommended directly below!
    Hibs Ya Bass!
    No.  The documentation clearly states wildcards re not supported.  Reqd the full text.
    Your issue appears to be a missing character.  Fix that and try again/
    ¯\_(ツ)_/¯
    So you're saying that wildcards aren't supported then go on to tell me the there's a missing character in the code that clearly uses a wildcard. Which is it?
    Hibs Ya Bass!

  • How to search in Pages for any number or any character, using wildcards

    Is it possible in Pages to use wildcards to search for any instance of any number? For example, I want to find all occurrences of any one or two digits followed by a colon, such as 8: or 37:
    If I can't use wildcards, is there any other way to search, other than tediously searching for every instance of 1, every instance of 2, etc.?
    Thanks!
    Sue

    Hello
    Here is an enhanced version.
    --[SCRIPT highlight_ digitspluscolon]
    Enregistrer le script en tant que Script : highlight_ digitspluscolon.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    Ouvrir un document traitement de textes Pages
    aller au menu Scripts , choisir Pages puis choisir highlight_ digitspluscolon
    Dans les éléments de texte, l'arrière plan des groupes de chiffres
    suivis d'un caractère deux points sera mis en rouge.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as a Script: highlight_ digitspluscolon.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    Open a Pages word processor document.
    go to the Scripts Menu, choose Pages, then choose "highlight_ digitspluscolon"
    In the text objects, the background of groups of digits
    with a trailing colon will be set to red.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/07/17 -- enhanced to treat also text boxes and shapes
    --=====
    on run
    local en_liste, le_dernier, un_groupe, le_premier, recul
    local les_boites, une_boite, les_formes, une_forme
    Try to treat the main text layer
    tell application "Pages"
    try
    set le_document to name of document 1
    tell document 1 to set le_texte to body text
    on error
    set le_texte to ""
    end try
    end tell -- Pages
    if le_texte > "" then
    set en_liste to my decoupe(le_texte, ":")
    set le_dernier to 0
    tell application "Pages" to tell document le_document
    repeat with i from 1 to count of en_liste
    set un_groupe to item i of en_liste
    set le_dernier to le_dernier + 1 + (count of un_groupe)
    set recul to 0
    repeat with j from 1 to 10
    if character -j of un_groupe is in "0123456789" then
    set recul to -j
    else
    exit repeat
    end if
    end repeat -- with j
    if recul < 0 then
    set le_premier to le_dernier + recul
    set character background color of characters le_premier thru le_dernier to {65535, 0, 0}
    end if -- recul < 0
    end repeat -- with i
    end tell -- Pages…
    end if -- le_texte > ""
    Try to treat text boxes
    try
    tell application "Pages" to tell document le_document to set les_boites to every graphic whose class is text box
    on error
    set les_boites to {}
    end try
    if les_boites is not {} then
    repeat with une_boite in les_boites
    tell application "Pages" to tell document 1
    tell une_boite to set le_texte to object text
    end tell -- Pages…
    my highlight(le_document, une_boite, le_texte)
    end repeat
    end if -- with f
    Try to treat shapes
    try
    tell application "Pages" to tell document 1 to set les_formes to every graphic whose class is shape
    on error
    set les_formes to {}
    end try
    if les_formes is not {} then
    repeat with f from 1 to count of les_formes
    I know that using whose is more efficient than using an index but, in Pages '09, whose doesn't apply to shapes. *)
    tell application "Pages" to tell document 1
    set une_forme to item f of les_formes
    tell une_forme to set le_texte to object text
    end tell -- Pages
    my highlight(le_document, une_forme, le_texte)
    end repeat -- with f
    end if
    end run
    --=====
    on highlight(un_document, un_contenant, son_Texte)
    local en_liste, le_dernier, un_groupe, recul, le_premier
    set en_liste to my decoupe(son_Texte, ":")
    set le_dernier to 0
    tell application "Pages" to tell document un_document to tell un_contenant to tell object text
    repeat with i from 1 to count of en_liste
    set un_groupe to item i of en_liste
    set le_dernier to le_dernier + 1 + (count of un_groupe)
    set recul to 0
    try (*
    Useful if a shape was erroneously pasted in a text box. *)
    repeat with j from 1 to 10
    if character -j of un_groupe is in "0123456789" then
    set recul to -j
    else
    exit repeat
    end if
    end repeat
    end try
    if recul < 0 then
    set le_premier to le_dernier + recul
    set character background color of characters le_premier thru le_dernier to {65535, 0, 0}
    end if
    end repeat
    end tell -- Pages
    end highlight
    --=====
    on decoupe(t, d)
    local oTIDs, l
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to oTIDs
    return l
    end decoupe
    --=====
    --[/SCRIPT]
    It scans the main text layer in Word Processor documents.
    It scans text boxes and shape in Word Processor and Layout documents.
    Is it useful to scan :
    headers, footers, tables ?
    Yvan KOENIG (VALLAURIS, France) samedi 17 juillet 2010 21:07:04

  • Is it possible to use wildcards to match cell contents in an if statement?

    I need to return a ID along with some other information on a page by page basis, so that the information comes out linked by position.  I use a couple of loops and if statements to navigate through the document.  I am able to use exact matches of cell contents which is fine when the contents doesn't vary.  But the IDs, though they have a similar pattern, are all different. In a menu driven search, I am able to find what I need with '150^9^9^9^9^9-^9^9^9' But when I try putting this (or any number of [0-9], *, ? combinations) it fails.  Is it possible to use wildcards?  The symbol used for the match (==) makes me suspect that it is not possible and that only literal, exact matches will work.  But I wanted to check with the experts before giving up.
    Thanks
    pcbaz

    Thanks for the input.  You're right, a GREP search is much more efficient.  But what I'm trying to do and the circumstances here don't allow me, I think,  to go that route. I am trying to generate a list of values coming from several textframes on a single page and have them come out so that I can tell which values belong together.
    I'm using an inherited document with masters that were created 'manually';  the index numbering for textframes and tables is random. I navigate through the pages, looping through textframe indices asking ' does this textframe exist?' If so, I ask if it is a table -- if no, it is a simple textframe and I ask about the ID, if yes, I ask if the contents of cell (0,0) (invariant position and contents) are equal to the table I want..  I am sending the ID and other pieces of information from the table to one row of a new table on a new page.  So the ID and other information from a single page are linked by being in the same row.
    I know this a little 'off-normal' -- I'm using the search to navigate through the document and find things by location the way you do with a spreadsheet.  I have devised a work-around that helps me get around the fact that the ID is not invariant.  I create a list of the (exact) IDs from another document, equating them to a variable ('a').  I then loop through the list of IDs and ask if the contents of the textframe is equal to 'a'..This works o.k, unless there happens to be an extra space, a different kind of hyphen, etc. It would be so much easier if I could use the wildcards that work in a menu-driven text or GREP search in script just to ask about the contents of the textframe.
    Thanks again
    pcbaz (Peter BIerly)
    P.S. we have since rewritten the masters so this problem will not exist in the future -- we now know exactly which textframe and/or table indices to refer to to get any particular bits of information and don't need to ask questions about the contents.

  • Using Wildcards in Value Help

    Hi,
    I have a input filed ZPERNR and i have assigend PREMN search help on this field.
    I am able to search people in the organisation and it all works great until I use wildcards
    When I enter SMITH in the last name in the value help it comes back with the list of people whose last name is SMITH
    Problem:
    When I enter SMITH* in the last name I get no results
    In the SQL trace I noticed it changed my SMITH* to smith%
    Not sure if there is any sap note to this issue
    Any ideas?

    Hi Jörg,
    Yes the icon (Pattern) does appear after I enter, however I still don't get any results.
    The weird thing is the value help works perfectly alright in r/3
    Not sure why it is not working for me in the portal.
    Thanks for your reply
    Kal

  • Query selection filter by using wildcards

    Dear all,
    we have SAP BI 7 and we would like to increase usability of the end-user. We would like to use wildcard ('*') in the variable selection field of a reporting query to make the search/filter easier. Therefore, the search should support at least wildcards or even better the functionalities of R/3 (give results which are similar than to the searched word).
    An example:
    A report shows sales volume per customer and country. The user has to select in the variable selection the customer before the report is showing. As there are thousands of customer listed, the user should be able to use wildcards to list only relevant/wanted (e.g. 'ak*' and should get all customers containing any string like AK, ak, or other variants --> Independent if lower or upper case has been entered in the filter search).
    Question:
    1) How can you enable this wildcard filter function?
    2) Is there any documentation/example available what can be entered and how the result is showing
    Thanks for your support!!!
    Edited by: Markus Reith on Jan 7, 2008 3:34 PM

    Hello,
    When u create a variable on infoobject for selection, select selection option from drop down box of details tab. Now when u execute the report it will give you a box before the input box, select * in that and the wildcard function should work. Just try it out.
    Regds,
    Shashank

  • How to use wildcards in REST filter for subscription items

    I am following this documentation:
    String column filters
    Support % (starts with) operator.
    Support * (Contains) operator.
    Does not support (ends with) operator.
    Examples:
    Name=service*
    Name=*g*
    Name=*g -- not allowed
    REST URL:
    http://<ServerURL>/RequestCenter/nsapi/serviceitems/serviceitemsubscription/<columnName>=<wildcardValue>
    I can get filters to work without wildcards, but have had no success using '*' or '%' characters.  Please provide a properly encoded sample URL for
    ServiceItemTypeName starting with 'Virtual'.  I have not been able to get any data returned when using wildcards in a filter.
    Here is what I have tried:
    ServiceItemTypeName=Virtual Server Snapshot
    http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual%20Server%20Snapshot
    response: 200
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><AllServiceItems totalCount="1" recordSize="1" startRow="1">
    literal works as expected
    ServiceItemTypeName=Virtual%
    http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual%25
    Application-Type=application/xml
    response: 200
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><AllServiceItems totalCount="0" recordSize="0" startRow="1"/>
    expected result not returned
    ServiceItemTypeName=Virtual*
    http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual*
    Application-Type=application/xml
    500
    <nsapi-error-response>Internal Error: Invalid parameter values specified or unexpected error.</nsapi-error-response>
    fails with error response

    Hi Dan,
    I don't think you can use wild cards here.
    Please see the Integration Guide for 9.4. Section: "REST API -> Quick Reference".
    Here you'll find a table of what features are supported for the different resources exposed by the API. In there you will find a row for "All Service Items", and you'll see that: Get All, Sorting, Paging and All Filters are supported; Wildcards Name Search are not...
    When I came accross this same situation, I assumed that I am trying to do a Wildcard Name Search here... and it's not supported. It does, however, work for the other (SI Designer created) columns, which is what I believe the documentation is trying to describe. (Though, personally, I feel this is a bug).

  • Using wildcards (*) in sender file adapter - FTP type

    Hi guys!
    Dooes it work using wildcards in sender file adapter (FTP type(!) (filesystem obviously work))? I tried it and it failed. it works only for exact name..
    I read some articles about FTP and the result is, that ftp work always only with 1 file, so I'm wondering, if this is possible.
    Thanks for info!
    Olian

    Thanks for all replies..
    I know of course, that * can be used, I use it in many scenarios too. But on a FileSystem. It is not working if the sender type is FTP.
    *, ., *.dat, ...  nothing like that works..  Just exact file name.
    I am able to pick up file, if I specify it's exact name, so there should be no problem with permissions..
    Please, I'd appreciate one reply with comfirmation: yes, we are using asterisk (*) , we access source files via FTP and they are processed.
    Is there anybody with this experience, that it works?
    Thank you!
    Olian

  • Using wildcards in import statement

    I typically use wildcards in my import statements. For example:
    import javax.swing.*;
    Are there any advantages, though, in specifying exactly which classes I am importing?
    For example,
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    import javax.swing.JEditorPane;
    import java.swing.JProgressBar;
    // etc.
    Specigically, is the resulting class file any smaller if I specify exactly which classes to use and does the Java runtime engine load faster if I specify exactly which classes I use in the import statemetents?
    Thanks,

    Import has precisely zero runtime impact. I believe it is used to help locate the specified class at runtime. Take the following 2 simple source files:
    import java.util.Vector;
    //import java.util.*;
    public class VectorTest
         public static void main( String[] args )
              Vector v = new Vector();
              v.add("Item 1");
              v.add("Item 2");
              System.out.println( v.get(1) );
    public class Vector
         public boolean add(Object o)
              return true;
         public Object get(int index)
              return "doh!";
    }1) Run the code as is and "Item 2" is displayed
    2) Recompile the code using the generic import and "doh!" is displayed.
    The point is that by fully qualifying the import statement you are sure you are executing the correct class and not just some class that happens to be lying around somewhere in your classpath.

  • How to use wildcard in filename , in SyncRead operation in File Adapter.

    Hi All,
    Is this possible to use wildcard character in file name while creating file adapter for SyncRead Operation.
    I used write*.txt as a file name to read. But got below error -->
    file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_notification2_1.0_93d419d1ca67f87872914bf6daf16180.tmp/readfile3.wsdl [ SynchRead_ptt::SynchRead(Empty,Es) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No file to process.
    File d:\temp\temp1\write*.txt to be processed was not found or not available
    ; nested exception is:
         ORABPEL-11007
    No file to process.
    File d:\temp\temp1\write*.txt to be processed was not found or not available
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    Best Regards
    Vikash

    You cannot defined the wildcard for the file names. But you can provide the file name dynamically if you are on soa suite 10.1.3.4 minimum. You can get information about that in this link http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/adapters.htm#CHDBBFBD

  • Using Wildcards in Mapping Script

    Hi everybody, im new in FDM and i have some doubts about mapping scripts.
    I have to recreate this Hyperion Translation Rule into FDM:
    ACC_SAP              tm_sap     Reverse Sign         UD4
    N21099Z300     {NULL}     FALSE     CD1
    D31199Z000     {NULL}     FALSE     CD1
    ????99     *     FALSE     CD
    ACC_SAP is the source account
    TM_SAP will be loaded into UD5 (as look up)
    How could i manage with a like mapping?
    I guess using a script but im not sure how to use wildcards within scripts, is it possible?
    Another related question, in a explicit mapping, how can i manage with NULL values if i want to assign them [None] value, do i have to put NULL in th source field?
    BR and thanks

    Thanks KellyDGreen. With the exampl shown is as you say but what if tm_sap has wildcards?
    F.i
    ACC_SAP TM_SAP TARGET_CUSTOM4
    999? 123? 198276
    Suppose that TM_SAP has been stored in UD5. Source dimensions are different from target dimension so i have to do it via script, dont I?
    BR
    Francisco

  • Using wildcards in RDBMSRealm

    Hello.
    I'm using WLS 5.1 with SP6 running on JDK1.2.2, platform is Windows NT
    Server 4.0 SP6.
    I want to know if there is a way to use wildcards to create entries for
    RDBMSRealm.
    The reason I want to use wildcards is that if I create an entry in the
    ACLENTRIES table like this...:
    A_NAME : weblogic.url
    A_PRINCIPAL : testuser
    A_PERMISSION : /index.html
    I can restrict access for the URL http://localhost:7001/index.html to
    "testuser."
    However, when I create this entry, weblogic prompts for a username even if I
    access a URL other than http://localhost:7001/index.html, for example,
    http://localhost:7001/test.html.
    When this happens, I cannot access "test.html" by using any of the usernames
    that I have listed in my RDBMSRealm USERS table.
    I was thinking that this works like the "weblogicURL.policy" file.
    If you create one entry in the "weblogicURL.policy" file, all other URL
    defaults to "everyone deny access".
    I remembered that you can use wildcards in the "weblogicURL.policy" file, so
    I tried changing the A_PERMISSION column to the following six patterns...:
    A_PERMISSION : *
    A_PERMISSION : -
    A_PERMISSION : *.html
    A_PERMISSION : /*
    A_PERMISSION : /-
    A_PERMISSION : /*.html
    Using the six patterns, I tried to access http://localhost:7001/test.html
    each time.
    However, none of the four patterns above seemed to work, since I was
    prompted and couldn't access even if I tried every username that I have in
    my RDBMSRealm, in all of the six cases.
    If I cannot use wildcards, this means that I would have to create entries
    for every single HTML pages. (probably JSP pages, too)
    Is there a way to use wildcards in the RDBMSRealm so that I can simplify
    this?
    Thanks ahead of time.
    RYotaro.

    Thanks, Terry and Kishore!
    I guess it's not a very smart idea to restrict access on URLs using the
    RDBMSRealm...
    What I was thinking was that if it was possible to put entries for Servlets,
    URLs, etc... into one place, it would be easier for managers to manage
    access control.
    # For instance, it could cause some people confusion if access control for
    URLs are listed in weblogicURL.policy and servlets are listed in RDBMSRealm.
    It would be better if all of the entries are written in one place.
    As a matter of fact, I have tried web-applications some time ago, and am
    thinking of going back to it.
    # As I recall, web-applications cannot be "hot-deployed." But there's
    probably a way to get around it.
    Thanks again!
    Ryotaro.
    "Kishore Talari" <[email protected]> wrote in message
    news:[email protected]...
    >
    Try using a web application! Servlet spec 2.2+, WLS 510, SP6.
    You can do a world of URL patterns!
    The only change you will have to make is package the jsp/html,etc pagesinto a .war archive and write a web.xml file.
    >
    "Terry" <[email protected]> wrote:
    I'm not sure that this is the way you want to go about it.
    AFAICR there is no need to add aclentries in the RDBMSRealm database when
    using the weblogicURL.policy file - simply add an entry to the policy
    file
    allowing access to all urls for all users, then add more specific entries
    for those urls you wish to restrict access to. Adding stuff to the
    ACLENTRIES table will not have any effect (I know because that is what I
    tried first).
    The documentation on wublogicURL.properties should tell you all that you
    need to know
    terry
    Ryotaro Toda <[email protected]> wrote in message
    news:[email protected]...
    Hello.
    I'm using WLS 5.1 with SP6 running on JDK1.2.2, platform is Windows NT
    Server 4.0 SP6.
    I want to know if there is a way to use wildcards to create entries for
    RDBMSRealm.
    The reason I want to use wildcards is that if I create an entry in the
    ACLENTRIES table like this...:
    A_NAME : weblogic.url
    A_PRINCIPAL : testuser
    A_PERMISSION : /index.html
    I can restrict access for the URL http://localhost:7001/index.html to
    "testuser."
    However, when I create this entry, weblogic prompts for a username even
    if
    I
    access a URL other than http://localhost:7001/index.html, for example,
    http://localhost:7001/test.html.
    When this happens, I cannot access "test.html" by using any of theusernames
    that I have listed in my RDBMSRealm USERS table.
    I was thinking that this works like the "weblogicURL.policy" file.
    If you create one entry in the "weblogicURL.policy" file, all other URL
    defaults to "everyone deny access".
    I remembered that you can use wildcards in the "weblogicURL.policy"
    file,
    so
    I tried changing the A_PERMISSION column to the following six
    patterns...:
    >>>
    A_PERMISSION : *
    A_PERMISSION : -
    A_PERMISSION : *.html
    A_PERMISSION : /*
    A_PERMISSION : /-
    A_PERMISSION : /*.html
    Using the six patterns, I tried to accesshttp://localhost:7001/test.html
    each time.
    However, none of the four patterns above seemed to work, since I was
    prompted and couldn't access even if I tried every username that I havein
    my RDBMSRealm, in all of the six cases.
    If I cannot use wildcards, this means that I would have to createentries
    for every single HTML pages. (probably JSP pages, too)
    Is there a way to use wildcards in the RDBMSRealm so that I cansimplify
    this?
    Thanks ahead of time.
    RYotaro.

  • Using wildcards in URL variables (very simple question, i know)

    Hi all!
    Pulling my hair out over this... How do I use wildcards in URL variables? I have this code in compositionReady (which is working):
    var myurl = "http://www.mydomain.com/sub1/sub2/pagename";
    var currenturl = window.location
    if(myurl == currenturl) {
        sym.getSymbol("symbolname").play();
    It simply makes the symbol "symbolname" play when the current URL matches the variable 'myurl'. However, I want the symbol to play on ALL subpages to http://www.mydomain.com/sub1/sub2/ and therefore it seems logical to put in a wildcard like:
    http://www.mydomain.com/sub1/sub2/* or something similar, but I just can't seem to make it work??
    Any help will be greatly appreciated!
    Best,
    Thomas

    What about this ?
    var mysubdomain = "http://www.mydomain.com/sub1/sub2/";
    var currenturl = window.location.toString();
    if(currenturl.indexOf(mysubdomain) === 0) {
        sym.getSymbol("symbolname").play();
    -Dharmendra

Maybe you are looking for