[Building Sakai] webservices.allow does not work

Sergio Muriel sergioame at hotmail.com
Fri Sep 12 14:15:21 PDT 2014


A little correction:webservices.allow=127\\.0\\.0\\.1instead of webservices.allow=localhost,127\\.0\\.0\\.1

Best Regards,

Sergio Muriel
From: sergioame at hotmail.com
To: matthew at longsight.com
Date: Fri, 12 Sep 2014 15:47:15 -0500
CC: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] webservices.allow does not work




Impressive!!
It works combining webservices.allow=localhost,127\\.0\\.0\\.1
and
-Djava.net.preferIPv4Stack=true

Thank you very much Matthew

Best Regards,

Sergio Muriel
From: matthew at longsight.com
Date: Fri, 12 Sep 2014 13:49:38 -0400
Subject: Re: [Building Sakai] webservices.allow does not work
To: sergioame at hotmail.com
CC: sakai-dev at collab.sakaiproject.org

Are using http://127.0.0.1 to try to connect? If you just use localhost it might be using the ipv6 address instead and be blocking it. 
You might also need the java opt -Djava.net.preferIPv4Stack=true
On Fri, Sep 12, 2014 at 1:41 PM, Sergio Muriel <sergioame at hotmail.com> wrote:



Dear All,does anybody know why with this configuration in my sakai.properties:
webservices.allow=localhost,127\\.0\\.0\\.1,myserver\\.mydept\\.myuni\\.edu,10\\.10\\.XXX\\.XXXwebservices.allowlogin=truewebservices.log-allowed=truewebservices.log-denied=true
I get an:
AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (403)Forbidden
when  I try to access a SOAP web service even from the same server?
And why the only configuration that works is: webservices.allow=.*  ??My Sakai version: Sakai 2.9-SNAPSHOT
-I need to keep it safe, it's for Production Environment!-

Thank you very much for any help.

Best Regards,

Sergio Muriel
 		 	   		  

_______________________________________________

sakai-dev mailing list

sakai-dev at collab.sakaiproject.org

http://collab.sakaiproject.org/mailman/listinfo/sakai-dev



TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

 		 	   		  

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe" 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140912/20e23769/attachment.html 


More information about the sakai-dev mailing list