Posted on 09-18-2012 03:08 PM
Hi
Is the REST data service disabled in a limited JSS? Can a limited JSS work with the JAMF API? In order to retrieve information, the JAMF API URI has to point to a full JSS?
Same question but worded differently :)
If that is the case, how can I go about enabling REST services in a limited JSS and at the same time maintain restriction to the JSS administrator login screen?
Posted on 09-19-2012 05:29 PM
After some looking around, I may have found the answer to my question.
1) REST services is disabled in a limited JSS. API call to a limited JSS will not work.
2) To enable REST services on a limited JSS, open up the server.xml file and make changes to:
<!-- Restlet adapter -->
<servlet>
<servlet-name>RestletServlet</servlet-name>
<servlet-class>
org.restlet.ext.servlet.ServerServlet
</servlet-class>
<init-param>
<param-name>org.restlet.application</param-name>
<param-value>
com.jamfsoftware.rest.JSSResourceApplication <<<< HERE
</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>restController</servlet-name> <<<< AND HERE
<url-pattern>*.rest</url-pattern>
</servlet-mapping>
An alternative way is to compare your limited JSS server.xml to a full JSS server.xml
Open up the files and do a search for 'REST' then compare the 'REST' related parts and change the limited JSS server.xml to reflect the full JSS server.xml
Hope I don't get an email full of exclamation and question marks from my account manager on this.
Posted on 05-12-2014 06:05 AM
Please have a look and vote for https://jamfnation.jamfsoftware.com/featureRequest.html?id=2202.