Anonymous | Login | Signup for a new account | 12-17-2024 08:36 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 3.1.6 | ||||||
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 |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |