IPAuthentication extended to allow negative matching
----------------------------------------------------
Key: DS-213
URL: http://jira.dspace.org/jira/browse/DS-213
Project: DSpace 1.x
Issue Type: Improvement
Components: JSPUI, XMLUI
Affects Versions: 1.5.2
Reporter: Stuart Lewis
Priority: Minor
Fix For: 1.6.0
Attachments: Negative_IP_matching.patch
At the moment IP authentication works by allowing the administrator to specify
IP addresses or ranges of addresses that match.
Our use case is that we have a class B network XXX.YYY.* which we want to
match, *except* for a few IP addresses.
At present there is no way to configure IPAuthentication to match "X but not Y".
This patch adds that facility be allowing IP address or ranges to prepended by
a '-'.
E.g.:
authentication.ip.NAME= 123.123,-123.123.123
This will allow all IP addresses starting with 123.123 to join the NAME group,
unless their IP address starts with 123.123.123.
Without this facility the list would have to be
123.123.1,123.123.2,.123.123.3,...123.123.122,123.123.124...123.123.255 etc (a
very long list!)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel