[
https://jira.duraspace.org/browse/DS-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart Lewis resolved DS-1051.
------------------------------
Resolution: Fixed
Author: stuartlewis
Date: Mon Oct 10 20:31:48 2011
New Revision: 6792
Log:
[DS-1051] authentication-ip.cfg (update to array index keys)
Modified:
dspace/trunk/dspace-api/src/main/java/org/dspace/authenticate/IPAuthentication.java
Modified:
dspace/trunk/dspace-api/src/main/java/org/dspace/authenticate/IPAuthentication.java
==============================================================================
---
dspace/trunk/dspace-api/src/main/java/org/dspace/authenticate/IPAuthentication.java
(original)
+++
dspace/trunk/dspace-api/src/main/java/org/dspace/authenticate/IPAuthentication.java
Mon Oct 10 20:31:48 2011
@@ -87,9 +87,9 @@
{
String[] nameParts = propName.split("\\.");
- if (nameParts.length == 3)
+ if (nameParts.length == 2)
{
- addMatchers(nameParts[2],
ConfigurationManager.getProperty("authentication-ip", propName));
+ addMatchers(nameParts[1],
ConfigurationManager.getProperty("authentication-ip", propName));
}
else
{
> authentication-ip.cfg
> ---------------------
>
> Key: DS-1051
> URL: https://jira.duraspace.org/browse/DS-1051
> Project: DSpace
> Issue Type: Bug
> Affects Versions: 1.8.0
> Reporter: Jordan Piščanc
> Assignee: Stuart Lewis
> Fix For: 1.8.0
>
>
> I think that the correct synax has to be:
> ip.GROUPNAME = iprange
> BUT.. with the 1.8RC1 I have to write
> ip.authentication.GROUPNAME = iprange
> I think the problem is in the parsing of the IPAuthentication library? :)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel