For security reasons, when you install the REST MVC module, none of the REST services are enabled. To enable a service, you must register the actor-chain in your <ATG10dir>/localconfig/atg/rest/
registry/ActorChainRestRegistry.properties
file. Any actor-chain
that will be used must be registered. This includes success and error URL actor-chains. Actor-chains that are accessed only through nested actors need not be registered. For detailed information on actor-chains, refer to The REST MVC Definition Framework section.

Note: When you add the actor-chain, you can add it to your /localconfig directory, or to your customization directory.

To register an actor-chain:

  1. Create the ActorChainRestRegistry.properties file in your local directory.

  2. Add the actor-chain. The following example adds three actor-chains: the login chain, as well as the Success and Error URL chains.

    //home/localconfig/atg/rest/registry/ActorChainRestRegistry.properties

    registeredUrls+=\
    /atg/userprofiling/ProfileActor/login,\
    /atg/userprofiling/ProfileActor/login-success,\
    /atg/userprofiling/ProfileActor/login-error,\

    Note that if you enter only the actor, the default actor-chain will be used.

  3. Save the file.

If you do not register the actor-chain, when the actor-chain is used in a REST Web Service, an error will occur.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices