Announcement Announcement Module
Collapse
No announcement yet.
Is a blank allowed in a Role name? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is a blank allowed in a Role name?

    Hi, by default, the role name starts with ROLE_. Through configuration,
    I can disable it. Now I want to have a role name like Security Mananger
    with a blank between two words.

    I did a test myself and failed. It looks like I have to have something Security_Manager.

    Is a blank allowed in a Role name? I checked the document and there
    is no mentioning of this. Can any expert shed some light on this?

    Thanks a lot!

  • #2
    Blanks should be allowed in role names. It might be related to the PropertyEditor that wires up your MethodSecurityInterceptor/FilterSecurityInterceptor. Try reviewing the debug logs to see if it sheds any light, and leave the ROLE_ prefix in place whilst troubleshooting.

    Comment

    Working...
    X