Role names with spaces (6.1 to 8.1)

Hi All
I'm working in an organization that has group and role names within their LDAP
repository such that the group and role names contain spaces. Hence, for example,
within a web.xml file lines like the following exist:
<role-name>Some Role Name</role-name>
This has worked without problem in Weblogic 6.1 but given some prelimanary work
within 8.1 we are noticing that Weblogic 8.1 does not appear to like spaces within
the <role-name> element.
Is this just the way it is with Weblogic 8.1? Or is there a way to continue to
use role names with embedded spaces within Weblogic 8.1?
Thanks,
Rob

"Peter" <PeterB> wrote:
>
"Rob" <[email protected]> wrote in message
news:3f57d329$[email protected]..
Hi All
I'm working in an organization that has group and role names withintheir
LDAP
repository such that the group and role names contain spaces. Hence,for
example,
within a web.xml file lines like the following exist:
<role-name>Some Role Name</role-name>
This has worked without problem in Weblogic 6.1 but given some prelimanarywork
within 8.1 we are noticing that Weblogic 8.1 does not appear to likespaces within
the <role-name> element.
Sounds like a bug. File a support case.
Hi,
A workaround exists :
1 - in web.xml, update your role-name element by replacing spaces with "_"
2 - in weblogic.xml, add :
<security-role-assignment>
     <role-name>Some_Role_Name</role-name>
     <principal-name>Some Role Name</principal-name>
     </security-role-assignment>
Regards
Christophe

Similar Messages

  • SQL Query not working for column names with spaces

    Hi People..
    We have a strange situation wherein, the column name in the database table has a space inbetween like "Constant Name". While we write a JDBC statement code with the select query we get an exception for invalid syntax. It will help us in a great way if you have anything to inform us on this..
    Thanks
    Prabz

    Using case sensitive names and names with spaces in it is not a good practice.
    However, I believe the SQL standard accounts for this with quoted identifiers. I believe the syntax is
    . select "My Field1", "My Field2"
    . from "My Table'
    Have also seen the following although it might be MS Access specific.
    . select [My Field1], [My Field2]
    . from [My Table]

  • Bug in the copy cluster roles wizard - CSV reparse points cannot have names with spaces

    Hi All,
    I have identified a bug in the copy cluster roles wizard in 2012 R2, which is preventing me from migrating my clusters from 2008 R2 & 2012 to 2012 R2.
    The bug surfaces when you attempt to copy a VM role from a 2008 R2 or 2012 cluster that has a CSV reparse point name that contains spaces as follows:
    The role appears to copy across fine, but once you've migrated the CSV and brought it online followed by starting the VM, the VM configuration resource promptly fails along with the VM.
    The issue can be spotted inside the copy cluster roles wizard, where it presents itself by removing all text after the first space in the name to read "C:\ClusterStorage\CSV" rather than "C:\ClusterStorage\CSV
    Test Disk 3" as follows:
    The bug only appears for VMs on CSVs with a reparse point name containing spaces - all other scenarios succeed.
    After searching through the registry on the new cluster, you can clearly see that the VM role hasn't been correctly copied.
    It shows a value called SharedVolumeMappings with the data C:\ClusterStorage\CSV|<guid>|<integer>
    Whereas it should show the data C:\ClusterStorage\CSV Test Disk 3|<guid>|<integer>
    If you modify the data in the SharedVolumeMappings value in both
    0.Cluster\Resources\<VM guid> and Cluster\Resources\<VM guid> keys, the VM will start and work correctly.
    The problem for me is that I have many VMs on many different CSVs all with spaces in the names of the reparse point! Its not feasible for me to go through the registry for every copied VM on every node of the new cluster, as this would take a very long time
    and would be prone to errors that could cause further problems.
    Can anyone provide any help on this? A hotfix for the issue would be great, if anyone from Microsoft is reading :-)
    My deadline to get the VMs migrated to the new cluster is the 21st February, so I would really like to have a solution to the problem before then if at all possible.
    Many thanks in advance,
    Tom

    Hi Subhasish,
    Thanks for the reply, glad that its something that is reproducible!
    Do you have any idea of timescale? Or is it likely that I will have to modify the registry as above to get this working?
    If I am going to have to modify the registry, please can you let me know if the resolution I have tested above is safe and viable? Or are there other settings that I will need to change to make the cluster fully aware of the proper path to the CSVs for its
    VMs?
    Also, is there a known procedure for renaming the reparse point whilst VMs are running on it? This would allow me to negate the issue before copying the roles to the new cluster :-)
    Thanks again,
    Tom

  • Document library: File name with spaces at EOF

    I noticed a strange issue with uploading files with space at end of file (example "ABC  .xlsx"). Such files are allowed to be uploaded for the first time but when the end user (with contribute permission) tries to upload the same file again
    (overwrite) then it uploads the file and goes to the next dialog box where properties for the form is collected (EditForm) and then when user tries to hit save, he gets "Sorry this site is not shared with you" error. The owners (with Full control
    permission) get the error message that the file needs to be renamed. 
    This does not happen with files having proper names. The files are automatically overwritten as expected.
    Is it a SharePoint bug or am I missing something ?

    Hi Prakash,
    When we upload a document which contains spaces at the end of the file name, then SharePoint will trim out the spaces in the Edit Item Form, so the name for this document should be “ABC.xlsx”.
    When we re-upload the document to SharePoint, because of that extra space it sees the filename(ABC  .xlsx) as different to the existing document (ABC.xlsx) so it adds it as a new document.
    And in the edit item form, the space has been trimmed out. Because there is already a document with that filename in the document library, it throws the error.
    So this issue is by design that SharePoint uploads the document first and then edit the properties of the document.
    For more details, please refer to the link below:
    https://discoverlars.wordpress.com/2012/10/27/sharepoint-doesnt-overwrite-a-document-with-the-same-name-but-creates-duplicates/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Field names with spaces in target file using fcc

    Hello Friends,
    My target structure fields:
    MT_Target
    ItemNo, ItemName, ItemQuantity, AmountValue, TotalAmount
    My requirement here is - In the target file - these fields should be generated with space. Shown as below:
    Item No, Item Name, Item Quantity, Amount Value, Total Amount
    How can i achieve this.
    Thanx
    S.

    if i understood u correctly u want to have a header line in ut target file same as that ur field names but with a space in between??
    if yes  the use :
    NameA.addHeaderLine=3
    NameA.headerLine =Item No, Item Name, Item Quantity, Amount Value, Total Amount
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

  • File download - file name with spaces

    I use the resp.setHeader("Content-disposition", "attachment; filename="+filename) method. it works. However, when the file name contains spaces the dowloaded file's name is only the part of the string up to the space, nothing more. Is there a way to deal with it? I'm replacing spaces for '_' at the moment but that's not exactly what I want.
    Thanks.

    Is the filename put in between quotes?
    resp.setHeader("Content-disposition", "attachment; filename=\"" + filename + "\"")

  • File name with spaces

    Hi,
      I am unable to upload files with file name having blank spaces to cFolders 4.0.
    Kindly help me to resolve this issue.
    Regards,
    Shynu John

    Hi Shynu,
    Please refer the following note.
    Note 959280 - File names with special characters are uploaded incorrectly.
    Regards,
    Pavan

  • Handling property name with spaces in SQL query

    Hello,
    I have some JSON that looks like this:
        "SystemId": "112234",
        "Parameter": {
            "Total Hours": [
                    "timestamp": "2015-03-15T15:20:00Z",
                    "itemValue": "0"
                    "timestamp": "2015-03-15T15:15:00Z",
                    "itemValue": "296"
    ..and am having trouble with the space in the "Total Hours" property name.  When executing a SQL query, I have tried to reference it as ["Total Hours"], [Total Hours], and "Total Hours", but none of these works.  I
    have also reviewed the "Querying DocumentDB" and "DocumentDB SQL Query Language" documents, but am unclear on how to escape this space.  As this is valid JSON, I would expect to be able to handle it via DocumentDB SQL query, but am
    not certain what I am missing.  
    Thanks for your help.
    Please remember to mark replies as answers if they help you.

    Given that the property with the name with the space contains an array, I attempted to query using:
     SELECT * FROM c WHERE c.Parameter.c["Total Hours"][0].timestamp = "2015-03-15T15:15:00Z" and a few other permutations, but no luck.  Did I misunderstand?
    Please remember to mark replies as answers if they help you.

  • QT v10.0 "save for web" creates file names with spaces?

    I find it strange that the additional exported files from "save for web" (iPhone, etc) auto exports files with spaces in the file names. Not only that, but changing the file names breaks the javascript.
    I work on a server that denies permission to files with spaces in the file names. I know it's a bit archaic - but it's also a long standing tennent of "good HTML" to creates files with a hyphen or underscore instead of a space.
    Is this something that can be addressed in the next update?

    If your using cs5 or cs6 you might try Image Processor Pro which seems to use underscores
    and has a save for web option.
    Dr Browns Services 2.31
    http://www.russellbrown.com/scripts.html

  • Independent Servers?: Publishing and page names with spaces

    Hello I am hoping someone who has published their site to server independent of .mac could tell me how they managed to name their pages with spaces without publishing problems. I have read here that you have to use an underscore or something similar to name your pages....Eck....I am making a site for my mother's business and I would prefer to use page names like 'about our service' instead of 'aboutourservice'. And I have seen that some people have managed this. Can any kind souls help?
    Thanks!

    DJ.... I publish my site to FOLDER first, then upload
    it to my server using FETCH FTP. It loads fine and
    doesn't have trouble with the menu spaces and such.
    Not sure what everyone else is saying about that, but
    it's not an issue. I use .Mac for my podcasts, and
    iWeb at DreamHost for my internet site.
    Jim -- what's your url? I'm wondering if there are some hosts which automatically replace spaces in uploaded files. Normally you just can't upload them. Or maybe Fetch is doing it for you. Would be useful to know.

  • How to set path names with spaces ?

    I want to set a variable to a path name that contains spaces that will work with cd. If I set the variable with
    set p1="My MPW Folder"
    then using echo $p1 yeilds
    My MPW Folder
    however is I do cd $p1 I get
    cd: Too many arguments.
    If I manualy type cd "My MPW Folder" it works. I just don't know which escape character I can use to allow the spaces to be accepted as part of the path name.
    Thanks,
    Power PC G4   Mac OS X (10.3.9)   1.25 GB RAM

    You already know that you can use quotes around a string to keep whitespace as part of the string, so: cd "$p1"
    Dual 1.25 GHz G4 (among others)   Mac OS X (10.3.9)   Fink (obviously)

  • Table Names with Spaces

    I am connecting to a DB with tables that have spaces in their names. When I browse the DB structure I see all the tables, but when I click on the table name I get an error. E.g. for the table with the unfortunate name "Clients tbl" I get an error that the "Clients" table does not exist.
    I don't see any option to make SQLDeveloper quote table names. Is there any way to get it to cope with these tables?

    I have just created a table "my Table", reflecting upper case, lower case and spaces. To do this I need to enclose the table in quotes.
    Queries might look like this:
    select * from "My Table";
    In the Navigator I see my Table (with no quotes), and can query it and the data.
    At no point am I picking up errors. Objects are stored in the DB in upper case by default, with no spaces, anything other than that needs to have double quotes to access the object.
    Please try a test case, using SQL Developer, so that we can iron out the issue.
    Sue

  • AppleScript Folder names with spaces

    Hello,
    I have been working on somethings in AppleScript and came accross one problem.
    How do I remove folders that have spaces in their name.
    The method I use is by using a terminal command as shown below.
    do shell script "rm ~/Desktop/This is the folder/"
    I would have come into an error saying
    error "rm: /Desktop/This: No such file or directory
    rm: is: No such file or directory
    rm: the: No such file or directory
    rm: folder: No such file or directory" number 1
    I have tried Googling and found this.
    do shell script "rm ~/Desktop/This\ is\ the\ folder/"
    but have came up with this syntax error.
    Expected “"” but found unknown token.
    Please help me with this issue. If there is another method, without using the do shell script command, maybe telling Finder to delete the folder?, please suggest.

    Neil gave the correct answer (though I would have used System Events to do the same thing).  But to address the problem you're having with the rm command...  In applescript the backslash character is an escape character.  It's used when you want to have literal quotes in a text string, e.g.
    set txt to "Senator McCain said \"Nerf Balls!\" in a press conference yesterday."
    Since the backslash is an escape character in applescript, you need to escape it as well if you want a literal backslash:
    do shell script "rm ~/Desktop/This\\ is\\ the\\ folder/"
    personally, I always single quotes where I can in do shell scripts because the double backslash looks weird, but...

  • Al11 file name with spaces

    Hello all
    I'm trying to create file on server that have spaces, but name is being cut. For example instead of creating file '/usr/tmp/file name.txt'  I'm getting  '/ust/tmp/file'. Does anybody know what cause this and how to resolve this problem?

    REPORT  ZB_TEST4.
    start-of-selection.
    OPEN DATASET '/tmp/File1 name.txt'.
    TRANSFER 'some data' TO '/tmp/File1 name.txt'.
    CLOSE DATASET '/tmp/File1 name.txt'.
    WRITE 'end'.

  • Find name with spaces

    Hello,
    How could this code be modified to ignore spaces:
    find / -iname "foo"
    What I mean is I know this code will find files containing foo and it will ignore capitals and surrounding characters. But it will not find a file containing +fo o+ or fo.o for example. Is there any way to achieve this?
    Thank you,
    Rick

    man find
    Look for -regex
    Or
    find / -name "foo" -o -name "*fo[ .]o*"

Maybe you are looking for

  • How to get UIDs of pages containing a given PageItem

    Hi, I have the UID for a PageItem and I'm trying to get a list of the UIDs of the pages which the item is on. I'm using GetPageUIDs: IDocument* doc = Utils<ILayoutUIUtils>()->GetFrontDocument(); if (doc != nil) {     IDataBase* db = ::GetDataBase(doc

  • How to install HP printer PSC 1610 AIO Windows 7 without CD

    Misplaced CD for HP printer PSC 1610 All-in-one and need to install. Saw a note I had stating "PS_AIO_NonNetwor. Please give me a step by step install directions. I am 80 years old and an amateur. Thank you

  • AssetApi Query to add Site condition

    Hi, How to add site condition to the asset api query. Thanks, Raghav

  • CR 5.6 and PSE8

    Hi, I have downloaded and install the window version of CR5.6 for PSE 8, but I am still seeing Camera Raw 5.5 in the RAW files opened by PSE8. Camera Raw 5.6 is very important to get best out of canon 7D files. Any help!

  • Problem with two dynamic dropdowns

    I have four screens each one with two dropdown's in a child parent relationship with one constrained by the other. Both uses dynamic domains against entity views with the child passing a bind variable containing the value of the parent. The problem I