Results 1 to 4 of 4

Thread: Flex buttons and spring security

  1. #1

    Default Flex buttons and spring security

    Hi guys
    I have 6 buttons(4 user related buttons and 2 admin related buttons) in my mxml file on the flex side.
    When a USER logs in I want to show him
    4 user related buttons and hide 2 admin related buttons
    an when ADMIN logs in I want to hide 4 user related buttons
    and show 2 admin buttons.
    If I use a jsp I can do this pretty easily using spring security tags.
    Can I acchieve the same in my mxml file?

    Thanks.
    Last edited by jaggernat; Feb 9th, 2011 at 09:28 PM.

  2. #2
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    The "secured" sample in the Test Drive shows a very similar example. In particular, take a look at the DataGrid code and how we only show the productId column for ROLE_ADMIN users.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  3. #3

    Default

    thanks for the reponse.
    Last edited by jaggernat; Feb 10th, 2011 at 03:00 PM.

  4. #4

    Default

    i downloaded the test drive (Spring BlazeDS Integration Test Drive with Spring 3.0) from this link

    http://static.springsource.org/sprin...html/ch06.html

    but when i try to unzip the zip file it says its corrupted?

    Are you having the same problem?

    thanks

Posting Permissions

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