Once the server is running with the REST module, your platform is now able to accept and process REST requests. Before you begin coding, you must configure the Web services security component. By default:

In a development environment, you can set a default ACL in the security configuration file. This allows all the specified users to have access to all Nucleus components.

Important: This functionality is provided for convenience and should not be used in a production environment unless that is the specified intent.

To set a default ACL in the security configuration layer, create a file in your localconfig directory at atg/rest/security named restSecurityConfiguration.xml. Add the following lines to the file, replacing #username# with the name of a valid profile for logging onto your ATG system.

<programlisting>
 <rest-security>
 <default-acl value="Profile$login$#username#:read,write,execute"/>
 </rest-security>
</programlisting>

For more information about configuring the security component, see the Security chapter.

 
loading table of contents...