MMBase

Property-matching with class-security.

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.6
  • Fix Version/s: 1.9.0
  • Component/s: Core, Security
  • Description:
    Hide
    It can be usefull if you can supply some extra properties to match when using class-security.

    E.g. you could want:

      <authenticate class="org\.mmbase\.tests\..*">
        <property name="rank" value="basic user" />
      </authenticate>

      <authenticate class="org\.mmbase\.tests\..*">
        <property name="username" value="admin" />
        <property name="rank" value="administrator" />
      </authenticate>


    Simply using class-security would alwyas match the first one. You would wnat to match the second one if a login info map is given where the proeprties match.
    Show
    It can be usefull if you can supply some extra properties to match when using class-security. E.g. you could want:   <authenticate class="org\.mmbase\.tests\..*">     <property name="rank" value="basic user" />   </authenticate>   <authenticate class="org\.mmbase\.tests\..*">     <property name="username" value="admin" />     <property name="rank" value="administrator" />   </authenticate> Simply using class-security would alwyas match the first one. You would wnat to match the second one if a login info map is given where the proeprties match.

Activity

People

Dates

  • Created:
    2008-10-01 18:56
    Updated:
    2008-10-01 18:56
    Resolved:
    2008-10-01 18:56