Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002718 [Resin] minor always 06-05-08 16:16 06-11-08 22:16
Reporter emil View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.7 Product Version 3.1.6
  Product Build
Summary 0002718: IoC subclass issue in security constraints
Description (Rep. by Alex Victoria)

When using a custom security constraint that extends IPConstraint, addAllow() is not being called. E.g.
--------------------------------------------------------------------
package example;

import com.caucho.server.security.IPConstraint;

public class CustomIPConstraint extends IPConstraint {
}
--------------------------------------------------------------------
<security-constraint>
  <constraint resin:type="example.CustomIPConstraint">
    <allow>2.2.2.2/8</allow>
  </constraint>
</security-constraint>
--------------------------------------------------------------------
Produces:
resin.conf:242: either `<allow>' or `<deny>' or both are expected
[16:15:25.860] {resin-16}
[16:15:25.860] {resin-16} 240: -->
[16:15:25.860] {resin-16} 241: <security-constraint>
[16:15:25.860] {resin-16} 242: <constraint resin:type="example.CustomIPConstraint">
[16:15:25.860] {resin-16} 243: <allow>2.2.2.2/8</allow>
[16:15:25.860] {resin-16} 244: </constraint>
[16:15:25.860] {resin-16}

This issue appears to be new between 3.1.5 and 3.1.6
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003180)
ferg
06-11-08 22:16

server/12hk
 

- Issue History
Date Modified Username Field Change
06-05-08 16:16 emil New Issue
06-05-08 19:54 alexvictoriac Issue Monitored: alexvictoriac
06-11-08 22:16 ferg Note Added: 0003180
06-11-08 22:16 ferg Assigned To  => ferg
06-11-08 22:16 ferg Status new => closed
06-11-08 22:16 ferg Resolution open => fixed
06-11-08 22:16 ferg Fixed in Version  => 3.1.7


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