RepositoryConnection repositoryConnection,
XMLRepository repository) {
InternalProject project = (InternalProject)
repository.getDefaultProject();
LocalPolicySource source = (LocalPolicySource)
project.getPolicySource();
PolicyBuilderAccessor accessor = source.getPolicyBuilderAccessor();
try {
PolicyBuilder policyBuilder = accessor.retrievePolicyBuilder(
repositoryConnection.getUnderLyingConnection(),
repository.getDefaultProject(),