Results 1 to 3 of 3

Thread: Reading roles from a property file..

  1. #1

    Default Reading roles from a property file..

    Hi,
    Can anyone here, kindly tell me how to read that hardcoded 'ROLE_XYZ' from a property file..

    Code:
    <security:intercept-url pattern="/*xyz*.admin"  access="hasRole('ROLE_XYZ')" />
    Thanks,
    Vivekanand Alampally

  2. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

  3. #3

    Default

    It works.. Thanks Rob. My bad .. I have been using propertyPlaceholderConfigurer since two years..

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •