WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Help with access control

    Posted 01/17/14 04:27 PM
    Hi!
    I need some help.
    I did the following:
    1. Created a new role called Premium User
    2. Created a new Member Group/Access Group called PremiumUsersForOrg with defined role condition for Premium User
    3. I've created a JSP view page, and I did register it to Struts.
    4. I've created an access policy where I did state that Actions from ActionGroup called PremiumUsersCommands can access that view.

    I don't understand how can I manage to register the view command PremiumPage to the PremiumUsersForOrg, so that only members of this group may access the JSP through the PremiumPage command.
    I need a practical XML solution.

    In my not confirmed theory, I should create roles, then bind roles to Access Groups, and command and view policies to these Access Groups, yet I didn't manage to fulfill the task.

    I would really appreciate any help!