String policyUrl = publicationId + "/policies" + url + ".acml";
getLogger().debug("Policy URL: " + policyUrl);
source = resolver.resolveURI("cocoon://" + policyUrl);
Document document = DocumentHelper.readDocument(source.getInputStream());
policy = new PolicyBuilder(accreditableManager).buildPolicy(document);
this.credentials=policy.getCredentials();
} catch (SourceNotFoundException e) {
throw new AccessControlException(e);
} catch (ServiceException e) {
throw new AccessControlException(e);