Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004835 [Resin] minor always 11-03-11 18:22 11-04-11 09:07
Reporter cowan View Status public  
Assigned To cowan
Priority normal Resolution fixed  
Status closed   Product Version 4.0.23
Summary 0004835: Custom constraint can not be added to SecurityConstraint
Description A custom constraint that extends AbstractConstraint fails to be added to com.caucho.server.security.SecurityConstraint, throwing the error:

WEB-INF/resin-web.xml:18: 'qa:MyConstraint' is an unknown property of 'com.caucho.server.security.SecurityConstraint'.

Example configuration:

  <resin:security-constraint>
    <web-resource-collection>
      <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <qa:MyConstraint>
      <foo>bar</foo>
    </qa:MyConstraint>
  </resin:security-constraint>

Additional Information Rep by K. Ding
Attached Files

- Relationships

- Notes
(0005603)
cowan
11-03-11 18:23

SecurityConstraint is missing the necessary method:

  public void add(AbstractConstraint constraint)
 
(0005604)
cowan
11-04-11 09:07

server/1at1
 

- Issue History
Date Modified Username Field Change
11-03-11 18:22 cowan New Issue
11-03-11 18:22 cowan Status new => assigned
11-03-11 18:22 cowan Assigned To  => cowan
11-03-11 18:23 cowan Note Added: 0005603
11-04-11 09:07 cowan Status assigned => closed
11-04-11 09:07 cowan Note Added: 0005604
11-04-11 09:07 cowan Resolution open => fixed
11-04-11 09:07 cowan Fixed in Version  => 4.0.24


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker