[ 
https://jira.duraspace.org/browse/DS-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28554#comment-28554
 ] 

Roeland Dillen commented on DS-1235:
------------------------------------

We have fixed this and other bugs in the IPMatcher when working on the World 
Bank's dspace (http://openknowledge.worldbank.org). The World Bank is 
generously allowing us to contribute this fix.

Our fix consists of the altered IPMatcher class and additional test code for 
the unit test IPMatcherTest.

https://github.com/DSpace/DSpace/pull/255
                
> IP authentication configuration does not apply netmask and CIDR ranges 
> correctly
> --------------------------------------------------------------------------------
>
>                 Key: DS-1235
>                 URL: https://jira.duraspace.org/browse/DS-1235
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>            Reporter: Alexey Maslov
>              Labels: authentication, has-patch
>             Fix For: 3.2
>
>
> Declaring an IP range in authentication-ip.cfg only seems to work for full 
> and partial IPs. When specifying a range via network/netmask method or 
> network/CIDR, the authenticator does not appear to initialize the IPMatcher 
> correctly. Fix that worked for us:
> org.dspace.authenticate.IPMatcher.java 
> Line 148
> Add a break statement

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to