mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 12:03:09 +00:00
[DS-1051] authentication-ip.cfg (update to array index keys)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6792 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -87,9 +87,9 @@ public class IPAuthentication implements AuthenticationMethod
|
||||
{
|
||||
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
|
||||
{
|
||||
|
Reference in New Issue
Block a user