PathNotFoundException, AccessDeniedException, RepositoryException {
NodeImpl n = (NodeImpl) session.getNode(absPath);
session.getAccessManager().checkPermission(session.getQPath(absPath), Permission.RETENTION_MNGMT);
RetentionPolicy rPolicy = null;
if (n.isNodeType(REP_RETENTION_MANAGEABLE) && n.hasProperty(REP_RETENTION_POLICY)) {
String jcrName = n.getProperty(REP_RETENTION_POLICY).getString();
rPolicy = new RetentionPolicyImpl(jcrName, n.getNodeId(), session);
}