Configure the secured repository adapter component as follows:

# SecuredTestRepository.properties
$class=atg.adapter.secure.GenericSecuredMutableRepository
$scope=global
name=Test repository for the secured repository implementation
repositoryName=SecuredTestRepository
# the repository that we're wrapping
repository=TestRepository
# The template file that configures the repository
configurationFile=secured-test-repository.xml
# The security configuration component used by the repository
securityConfiguration=/atg/dynamo/security/SecuredRepositorySecurityConfiguration
# Various Dynamo services we need
XMLToolsFactory=/atg/dynamo/service/xml/XMLToolsFactory
transactionManager=/atg/dynamo/transaction/TransactionManager

Note: The previous example uses the creation-group-acl-template feature for both repository items and the secured property. This setting should generally be removed if you are setting up a repository based on this code. For more information, see <creation-group-acl-template>.


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