Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2718 | minor | always | 06-05-08 16:16 | 06-11-08 22:16 | |
|
|||||
Reporter: | emil | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.6 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.7 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|