[Building Sakai] How can I make an external tool available to site owners

Yuechuan Dai daiyuechuan at hotmail.com
Sat Sep 13 22:00:07 PDT 2014


Hi, all
Currently I can add external tool in administrator’s workspace.

And I can add it to lesson tool when I login as a instructor.

But the “external tool” do not show up in site info or edit tools when I login as a instructor so I can’t add it to my site.

is there any thing need to do in sakai.properties ?

Thanks a lot!

-- 
Yuechuan Dai
Sent with Airmail

在 2014年9月14日 3:00:04, sakai-dev-request at collab.sakaiproject.org (sakai-dev-request at collab.sakaiproject.org) 写到:

Send sakai-dev mailing list submissions to  
sakai-dev at collab.sakaiproject.org  

To subscribe or unsubscribe via the World Wide Web, visit  
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev  
or, via email, send a message with subject or body 'help' to  
sakai-dev-request at collab.sakaiproject.org  

You can reach the person managing the list at  
sakai-dev-owner at collab.sakaiproject.org  

When replying, please edit your Subject line so it is more specific  
than "Re: Contents of sakai-dev digest..."  


Today's Topics:  

1. Re: webservices.allow does not work (Sergio Muriel)  
2. Re: webservices.allow does not work (Sergio Muriel)  


----------------------------------------------------------------------  

Message: 1  
Date: Fri, 12 Sep 2014 15:47:15 -0500  
From: Sergio Muriel <sergioame at hotmail.com>  
Subject: Re: [Building Sakai] webservices.allow does not work  
To: Matthew Jones <matthew at longsight.com>  
Cc: "sakai-dev at collab.sakaiproject.org"  
<sakai-dev at collab.sakaiproject.org>  
Message-ID: <BLU170-W86335DE7BE9265A0B170EBA3CD0 at phx.gbl>  
Content-Type: text/plain; charset="iso-8859-1"  

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"  


-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140912/7652599b/attachment-0001.html  

------------------------------  

Message: 2  
Date: Fri, 12 Sep 2014 16:15:21 -0500  
From: Sergio Muriel <sergioame at hotmail.com>  
Subject: Re: [Building Sakai] webservices.allow does not work  
To: Matthew Jones <matthew at longsight.com>  
Cc: "sakai-dev at collab.sakaiproject.org"  
<sakai-dev at collab.sakaiproject.org>  
Message-ID: <BLU170-W228D40B4FB0EBAA007FFB4A3CD0 at phx.gbl>  
Content-Type: text/plain; charset="iso-8859-1"  

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-0001.html  

------------------------------  

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


End of sakai-dev Digest, Vol 67, Issue 11  
*****************************************  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140914/ed99f724/attachment.html 


More information about the sakai-dev mailing list